Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.TestSensors") translateModel(Modelica.Electrical.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001366/0.001366, allocations: 191.6 kB / 17.37 MB, free: 4.434 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.299/1.299, allocations: 226.6 MB / 244.7 MB, free: 6.465 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007138/0.0007138, allocations: 100.3 kB / 296.8 MB, free: 6.676 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002105/0.0002105, allocations: 11.98 kB / 356.8 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1881/0.1884, allocations: 51.28 MB / 408 MB, free: 27.7 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.00409/0.1925, allocations: 5.178 MB / 413.2 MB, free: 22.5 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002074/0.1946, allocations: 1.582 MB / 414.8 MB, free: 20.92 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003673/0.195, allocations: 43.81 kB / 414.8 MB, free: 20.88 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003221/0.1953, allocations: 230.3 kB / 415.1 MB, free: 20.65 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000673/0.196, allocations: 322.7 kB / 415.4 MB, free: 20.34 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003739/0.1964, allocations: 219.8 kB / 415.6 MB, free: 20.12 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001169/0.1976, allocations: 1.985 MB / 417.6 MB, free: 18.12 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00169/0.1993, allocations: 2.253 MB / 419.8 MB, free: 15.81 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005831/0.1999, allocations: 0.7083 MB / 420.5 MB, free: 15.1 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000664/0.2005, allocations: 0.8711 MB / 421.4 MB, free: 14.23 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001427/0.2007, allocations: 124 kB / 421.5 MB, free: 14.11 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004466/0.2011, allocations: 287.7 kB / 421.8 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000311/0.2015, allocations: 0.4945 MB / 422.3 MB, free: 13.33 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006556/0.2021, allocations: 0.9737 MB / 423.3 MB, free: 12.34 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001561/0.2037, allocations: 3.067 MB / 426.3 MB, free: 9.27 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.2037, allocations: 4 kB / 426.4 MB, free: 9.266 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2037, allocations: 3.938 kB / 426.4 MB, free: 9.262 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.006e-05/0.2037, allocations: 0 / 426.4 MB, free: 9.262 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.002751/0.2065, allocations: 2.08 MB / 428.4 MB, free: 7.121 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.2065, allocations: 8.031 kB / 428.4 MB, free: 7.113 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000614/0.2072, allocations: 274.2 kB / 428.7 MB, free: 6.844 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0014/0.2086, allocations: 1.267 MB / 430 MB, free: 5.531 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.403e-05/0.2087, allocations: 164.9 kB / 430.1 MB, free: 5.367 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002219/0.2089, allocations: 224.1 kB / 430.4 MB, free: 5.148 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003234/0.2121, allocations: 2.526 MB / 432.9 MB, free: 2.57 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.143e-05/0.2122, allocations: 0 / 432.9 MB, free: 2.57 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001581/0.2123, allocations: 92 kB / 433 MB, free: 2.48 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.012e-05/0.2124, allocations: 63.98 kB / 433 MB, free: 2.418 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002747/0.2152, allocations: 2.13 MB / 435.2 MB, free: 280 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0103/0.2255, allocations: 7.65 MB / 442.8 MB, free: 8.402 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001144/0.2266, allocations: 1.268 MB / 444.1 MB, free: 7 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009658/0.2276, allocations: 0.614 MB / 444.7 MB, free: 6.387 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.037e-05/0.2277, allocations: 12.56 kB / 444.7 MB, free: 6.375 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.621e-05/0.2277, allocations: 39.12 kB / 444.7 MB, free: 6.328 MB / 314.7 MB Notification: Performance of pre-optimization done (n=63): time 3.867e-06/0.2277, allocations: 0 / 444.7 MB, free: 6.328 MB / 314.7 MB Notification: Performance of matching and sorting (n=65): time 0.003694/0.2314, allocations: 2.455 MB / 447.2 MB, free: 3.812 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.477e-05/0.2315, allocations: 55.97 kB / 447.3 MB, free: 3.742 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008602/0.2324, allocations: 0.7893 MB / 448 MB, free: 2.941 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.02e-05/0.2324, allocations: 37.7 kB / 448.1 MB, free: 2.898 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004725/0.2329, allocations: 0.9176 MB / 449 MB, free: 1.965 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001442/0.233, allocations: 224.8 kB / 449.2 MB, free: 1.742 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.87e-05/0.2331, allocations: 20 kB / 449.2 MB, free: 1.723 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.2332, allocations: 390.8 kB / 449.6 MB, free: 1.332 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005238/0.2338, allocations: 365.8 kB / 450 MB, free: 0.9727 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006329/0.2344, allocations: 0.5829 MB / 450.6 MB, free: 304 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00123/0.2356, allocations: 0.9932 MB / 451.6 MB, free: 15.21 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.2357, allocations: 4 kB / 451.6 MB, free: 15.21 MB / 330.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001626/0.2373, allocations: 1.159 MB / 452.7 MB, free: 14.04 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.2373, allocations: 11.94 kB / 452.7 MB, free: 14.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.2373, allocations: 8 kB / 452.7 MB, free: 14.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002837/0.2376, allocations: 112.7 kB / 452.8 MB, free: 13.9 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006192/0.2383, allocations: 175.7 kB / 453 MB, free: 13.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001945/0.2402, allocations: 2.135 MB / 455.2 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004078/0.2406, allocations: 43.97 kB / 455.2 MB, free: 11.42 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.252e-05/0.2407, allocations: 28 kB / 455.2 MB, free: 11.39 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 86 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008436/0.2416, allocations: 0.6457 MB / 455.9 MB, free: 10.73 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001346/0.2417, allocations: 79.06 kB / 455.9 MB, free: 10.66 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001675/0.2419, allocations: 99.62 kB / 456 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.734e-05/0.2419, allocations: 19.92 kB / 456.1 MB, free: 10.53 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.2419, allocations: 8.062 kB / 456.1 MB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.2419, allocations: 0 / 456.1 MB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003678/0.2456, allocations: 2.674 MB / 458.7 MB, free: 7.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.2456, allocations: 7.938 kB / 458.8 MB, free: 7.762 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004327/0.2461, allocations: 112 kB / 458.9 MB, free: 7.652 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002017/0.2463, allocations: 96.78 kB / 459 MB, free: 7.555 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.259e-05/0.2463, allocations: 15.98 kB / 459 MB, free: 7.539 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001742/0.2481, allocations: 2.073 MB / 461 MB, free: 5.336 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.2481, allocations: 4.031 kB / 461.1 MB, free: 5.332 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001875/0.25, allocations: 1.431 MB / 462.5 MB, free: 3.863 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002676/0.2503, allocations: 228.2 kB / 462.7 MB, free: 3.621 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.156e-05/0.2504, allocations: 19.97 kB / 462.7 MB, free: 3.602 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000376/0.2507, allocations: 39.97 kB / 462.8 MB, free: 3.562 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.2509, allocations: 48.48 kB / 462.8 MB, free: 3.516 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.115e-05/0.2509, allocations: 19.94 kB / 462.8 MB, free: 3.496 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006142/0.2515, allocations: 0.5575 MB / 463.4 MB, free: 2.945 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.373e-06/0.2515, allocations: 0 / 463.4 MB, free: 2.945 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008674/0.2524, allocations: 307.9 kB / 463.7 MB, free: 2.645 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (inductor.inductor[2].i,inductor.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 52 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002291/0.2526, allocations: 131.2 kB / 463.8 MB, free: 2.508 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001472/0.2541, allocations: 1.007 MB / 464.8 MB, free: 1.488 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2541, allocations: 0 / 464.8 MB, free: 1.488 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007868/0.2549, allocations: 0.5678 MB / 465.4 MB, free: 0.9102 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001072/0.256, allocations: 218.2 kB / 465.6 MB, free: 0.6992 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004637/0.2607, allocations: 3.972 MB / 469.6 MB, free: 12.66 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00116/0.2618, allocations: 1.68 MB / 471.3 MB, free: 10.96 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002043/0.2621, allocations: 67.44 kB / 471.3 MB, free: 10.89 MB / 346.7 MB Notification: Performance of SimCode: time 3.21e-07/0.2621, allocations: 0 / 471.3 MB, free: 10.89 MB / 346.7 MB Notification: Performance of Templates: time 0.02956/0.2916, allocations: 28.2 MB / 499.5 MB, free: 14.73 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.TestSensors.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.TestSensors.sim & ./Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.TestSensors --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TestSensors/TestSensors.csv","../files/Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches