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.001312/0.001312, allocations: 198.8 kB / 18.07 MB, free: 3.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.42/1.42, allocations: 226.5 MB / 245.4 MB, free: 6.492 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007411/0.000741, allocations: 103 kB / 297.4 MB, free: 6.703 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000227/0.0002271, allocations: 8 kB / 357.4 MB, free: 10.76 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1989/0.1991, allocations: 51.29 MB / 408.7 MB, free: 27.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09968/0.2988, allocations: 87.62 MB / 496.3 MB, free: 3.996 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002233/0.2991, allocations: 75.95 kB / 496.3 MB, free: 3.922 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.229/0.5281, allocations: 32.49 MB / 0.5164 GB, free: 85.23 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.5281, allocations: 4 kB / 0.5164 GB, free: 85.22 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.794e-05/0.5282, allocations: 61.83 kB / 0.5165 GB, free: 85.21 MB / 378.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.002954/0.5312, allocations: 2.065 MB / 0.5185 GB, free: 84.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.5312, allocations: 15.12 kB / 0.5185 GB, free: 84.25 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007024/0.532, allocations: 284 kB / 0.5188 GB, free: 84.13 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001566/0.5335, allocations: 1.278 MB / 0.5201 GB, free: 83.75 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.955e-05/0.5336, allocations: 172.7 kB / 0.5202 GB, free: 83.73 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002447/0.5339, allocations: 218.6 kB / 0.5204 GB, free: 83.73 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003442/0.5373, allocations: 2.772 MB / 0.5231 GB, free: 82.57 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.023e-05/0.5374, allocations: 192 / 0.5231 GB, free: 82.57 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000185/0.5376, allocations: 97.16 kB / 0.5232 GB, free: 82.5 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.941e-05/0.5376, allocations: 54.78 kB / 0.5233 GB, free: 82.5 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002741/0.5404, allocations: 1.961 MB / 0.5252 GB, free: 81.7 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008663/0.549, allocations: 7.727 MB / 0.5327 GB, free: 76.86 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008678/0.5499, allocations: 1.266 MB / 0.534 GB, free: 75.55 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007849/0.5507, allocations: 0.6183 MB / 0.5346 GB, free: 75.03 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.852e-05/0.5508, allocations: 11.47 kB / 0.5346 GB, free: 75.02 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/0.5508, allocations: 39.12 kB / 0.5346 GB, free: 74.97 MB / 378.7 MB Notification: Performance of pre-optimization done (n=63): time 2.565e-06/0.5508, allocations: 4 kB / 0.5346 GB, free: 74.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=65): time 0.003272/0.5541, allocations: 2.481 MB / 0.5371 GB, free: 72.45 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.076e-05/0.5541, allocations: 63.97 kB / 0.5371 GB, free: 72.38 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007477/0.5549, allocations: 0.7816 MB / 0.5379 GB, free: 71.58 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.904e-05/0.5549, allocations: 41.7 kB / 0.5379 GB, free: 71.54 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002991/0.5552, allocations: 0.9135 MB / 0.5388 GB, free: 70.61 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001054/0.5554, allocations: 224.6 kB / 0.539 GB, free: 70.39 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.74e-05/0.5554, allocations: 16 kB / 0.539 GB, free: 70.38 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.816e-05/0.5555, allocations: 390.8 kB / 0.5394 GB, free: 69.98 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004772/0.556, allocations: 384.5 kB / 0.5398 GB, free: 69.61 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005585/0.5565, allocations: 0.5907 MB / 0.5404 GB, free: 68.93 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001043/0.5576, allocations: 1.013 MB / 0.5414 GB, free: 67.82 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.5576, allocations: 0 / 0.5414 GB, free: 67.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001477/0.5591, allocations: 1.166 MB / 0.5425 GB, free: 66.64 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.5591, allocations: 8 kB / 0.5425 GB, free: 66.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/0.5591, allocations: 8 kB / 0.5425 GB, free: 66.63 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002462/0.5594, allocations: 120.9 kB / 0.5426 GB, free: 66.51 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005986/0.56, allocations: 175.7 kB / 0.5428 GB, free: 66.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001547/0.5616, allocations: 2.141 MB / 0.5449 GB, free: 64.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004619/0.562, allocations: 54.88 kB / 0.5449 GB, free: 64.01 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.707e-05/0.5621, allocations: 28 kB / 0.545 GB, free: 63.98 MB / 378.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: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0008886/0.563, allocations: 0.6496 MB / 0.5456 GB, free: 63.32 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001284/0.5631, allocations: 79.06 kB / 0.5457 GB, free: 63.25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00129/0.5644, allocations: 0.9486 MB / 0.5466 GB, free: 62.28 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.5645, allocations: 4 kB / 0.5466 GB, free: 62.28 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.5645, allocations: 11.98 kB / 0.5466 GB, free: 62.27 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.5645, allocations: 3.938 kB / 0.5466 GB, free: 62.26 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003335/0.5678, allocations: 2.708 MB / 0.5493 GB, free: 59.49 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-05/0.5678, allocations: 7.984 kB / 0.5493 GB, free: 59.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004321/0.5683, allocations: 103.9 kB / 0.5494 GB, free: 59.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001957/0.5685, allocations: 104.9 kB / 0.5495 GB, free: 59.28 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.982e-05/0.5685, allocations: 19.98 kB / 0.5495 GB, free: 59.26 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001368/0.5699, allocations: 2.082 MB / 0.5515 GB, free: 57.05 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.5699, allocations: 4.031 kB / 0.5515 GB, free: 57.05 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001642/0.5716, allocations: 1.458 MB / 0.5529 GB, free: 55.55 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002549/0.5718, allocations: 232 kB / 0.5532 GB, free: 55.31 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.285e-05/0.5719, allocations: 12 kB / 0.5532 GB, free: 55.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003918/0.5723, allocations: 48.02 kB / 0.5532 GB, free: 55.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.5724, allocations: 52.44 kB / 0.5533 GB, free: 55.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.106e-05/0.5725, allocations: 23.98 kB / 0.5533 GB, free: 55.18 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005498/0.573, allocations: 0.5458 MB / 0.5538 GB, free: 54.64 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.573, allocations: 0 / 0.5538 GB, free: 54.64 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009056/0.574, allocations: 311.9 kB / 0.5541 GB, free: 54.33 MB / 378.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: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0002098/0.5742, allocations: 159 kB / 0.5543 GB, free: 54.16 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001316/0.5755, allocations: 1.08 MB / 0.5553 GB, free: 53.06 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.5755, allocations: 0 / 0.5553 GB, free: 53.06 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007148/0.5762, allocations: 0.6302 MB / 0.5559 GB, free: 52.41 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001056/0.5773, allocations: 208.4 kB / 0.5561 GB, free: 52.21 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004027/0.5813, allocations: 3.982 MB / 0.56 GB, free: 48.18 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009155/0.5823, allocations: 1.684 MB / 0.5617 GB, free: 46.47 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001983/0.5825, allocations: 63.42 kB / 0.5617 GB, free: 46.41 MB / 378.7 MB Notification: Performance of SimCode: time 3.51e-07/0.5825, allocations: 0 / 0.5617 GB, free: 46.41 MB / 378.7 MB Notification: Performance of Templates: time 0.02464/0.6071, allocations: 28.25 MB / 0.5893 GB, free: 18.24 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/jenkins1/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