Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_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_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_Modelica.Electrical.Polyphase.Examples.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009853/0.0009851, allocations: 198.2 kB / 8.768 MB, free: 316 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.298/1.298, allocations: 225.6 MB / 234.8 MB, free: 3.266 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008308/0.0008308, allocations: 102.4 kB / 286.7 MB, free: 5.32 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.626e-05/1.644e-05, allocations: 4 kB / 343.7 MB, free: 8.297 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08829/0.08833, allocations: 51.48 MB / 395.2 MB, free: 4.781 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3005/0.3889, allocations: 86.92 MB / 482.1 MB, free: 6.324 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001956/0.3891, allocations: 73.64 kB / 482.2 MB, free: 6.289 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07126/0.4604, allocations: 32.25 MB / 0.5024 GB, free: 11.26 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.4604, allocations: 0 / 0.5024 GB, free: 11.26 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.413e-05/0.4605, allocations: 55.94 kB / 0.5024 GB, free: 11.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.003218/0.4638, allocations: 1.962 MB / 0.5043 GB, free: 9.191 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.4638, allocations: 12.03 kB / 0.5043 GB, free: 9.18 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007906/0.4646, allocations: 289.2 kB / 0.5046 GB, free: 8.895 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001758/0.4664, allocations: 1.246 MB / 0.5058 GB, free: 7.605 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.985e-05/0.4664, allocations: 72 kB / 0.5059 GB, free: 7.535 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002277/0.4667, allocations: 132 kB / 0.506 GB, free: 7.406 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002692/0.4694, allocations: 1.766 MB / 0.5077 GB, free: 5.633 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003463/0.4729, allocations: 2.366 MB / 0.5101 GB, free: 3.125 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.434e-05/0.4729, allocations: 0 / 0.5101 GB, free: 3.125 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001449/0.4731, allocations: 0 / 0.5101 GB, free: 3.125 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.899e-05/0.4731, allocations: 56 kB / 0.5101 GB, free: 3.07 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009914/0.483, allocations: 7.294 MB / 0.5172 GB, free: 11.58 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001083/0.4841, allocations: 1.221 MB / 0.5184 GB, free: 10.22 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008915/0.485, allocations: 0.5712 MB / 0.519 GB, free: 9.652 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.07e-05/0.4851, allocations: 8.562 kB / 0.519 GB, free: 9.645 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/0.4852, allocations: 39.12 kB / 0.519 GB, free: 9.598 MB / 394.7 MB Notification: Performance of pre-optimization done (n=63): time 3.026e-06/0.4852, allocations: 0 / 0.519 GB, free: 9.598 MB / 394.7 MB Notification: Performance of matching and sorting (n=65): time 0.003115/0.4883, allocations: 1.997 MB / 0.521 GB, free: 7.535 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.394e-05/0.4883, allocations: 63.91 kB / 0.521 GB, free: 7.461 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007397/0.4891, allocations: 0.6441 MB / 0.5217 GB, free: 6.812 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.213e-05/0.4891, allocations: 25.7 kB / 0.5217 GB, free: 6.781 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004764/0.4896, allocations: 0.9214 MB / 0.5226 GB, free: 5.844 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001473/0.4898, allocations: 216.8 kB / 0.5228 GB, free: 5.629 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.057e-05/0.4898, allocations: 0 / 0.5228 GB, free: 5.629 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.49, allocations: 390.8 kB / 0.5232 GB, free: 5.238 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000418/0.4904, allocations: 333.9 kB / 0.5235 GB, free: 4.91 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005284/0.4909, allocations: 0.5395 MB / 0.524 GB, free: 4.281 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00055/0.4915, allocations: 437.8 kB / 0.5244 GB, free: 3.852 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.4915, allocations: 4 kB / 0.5244 GB, free: 3.848 MB / 394.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001424/0.4929, allocations: 1.034 MB / 0.5254 GB, free: 2.805 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.493, allocations: 8 kB / 0.5255 GB, free: 2.797 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.121e-05/0.493, allocations: 12 kB / 0.5255 GB, free: 2.785 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000272/0.4933, allocations: 121.1 kB / 0.5256 GB, free: 2.664 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006597/0.4939, allocations: 167.8 kB / 0.5257 GB, free: 2.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001809/0.4958, allocations: 2.056 MB / 0.5277 GB, free: 336 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004568/0.4962, allocations: 23.97 kB / 0.5278 GB, free: 312 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-05/0.4963, allocations: 40.06 kB / 0.5278 GB, free: 272 kB / 394.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 () * 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.0001487/0.4965, allocations: 120.7 kB / 0.5279 GB, free: 144 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001397/0.4966, allocations: 79.06 kB / 0.528 GB, free: 64 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001264/0.4979, allocations: 0.8472 MB / 0.5288 GB, free: 15.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/0.4979, allocations: 11.95 kB / 0.5288 GB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.4979, allocations: 0 / 0.5288 GB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.4979, allocations: 7.984 kB / 0.5288 GB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003435/0.5014, allocations: 2.303 MB / 0.5311 GB, free: 12.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-05/0.5014, allocations: 7.984 kB / 0.5311 GB, free: 12.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000451/0.5018, allocations: 103.9 kB / 0.5312 GB, free: 12.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002097/0.5021, allocations: 100.9 kB / 0.5313 GB, free: 12.59 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.776e-05/0.5021, allocations: 20.02 kB / 0.5313 GB, free: 12.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001689/0.5038, allocations: 2.01 MB / 0.5333 GB, free: 10.45 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.5038, allocations: 0 / 0.5333 GB, free: 10.45 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001623/0.5055, allocations: 1.393 MB / 0.5346 GB, free: 8.992 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002918/0.5058, allocations: 224.2 kB / 0.5349 GB, free: 8.754 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.115e-05/0.5059, allocations: 8 kB / 0.5349 GB, free: 8.746 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003946/0.5063, allocations: 35.95 kB / 0.5349 GB, free: 8.711 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.5064, allocations: 48.45 kB / 0.5349 GB, free: 8.664 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.134e-05/0.5064, allocations: 19.98 kB / 0.535 GB, free: 8.645 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005375/0.507, allocations: 0.4952 MB / 0.5354 GB, free: 8.156 MB / 410.7 MB Notification: Performance of sort global known variables: time 2e-07/0.507, allocations: 0 / 0.5354 GB, free: 8.156 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009616/0.5079, allocations: 280 kB / 0.5357 GB, free: 7.883 MB / 410.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 () * 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.0002593/0.5082, allocations: 147 kB / 0.5359 GB, free: 7.727 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001287/0.5095, allocations: 0.9863 MB / 0.5368 GB, free: 6.715 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.5095, allocations: 0 / 0.5368 GB, free: 6.715 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006918/0.5102, allocations: 0.579 MB / 0.5374 GB, free: 6.117 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009167/0.5112, allocations: 181.8 kB / 0.5376 GB, free: 5.945 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003864/0.515, allocations: 2.488 MB / 0.54 GB, free: 3.41 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00124/0.5163, allocations: 1.752 MB / 0.5417 GB, free: 1.621 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005135/0.5168, allocations: 194.8 kB / 0.5419 GB, free: 1.426 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001519/0.517, allocations: 59.42 kB / 0.5419 GB, free: 1.367 MB / 410.7 MB Notification: Performance of SimCode: time 3.71e-07/0.517, allocations: 0 / 0.5419 GB, free: 1.367 MB / 410.7 MB Notification: Performance of Templates: time 0.01728/0.5343, allocations: 10.31 MB / 0.552 GB, free: 7.18 MB / 426.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.makefile (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.sim & ./Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_Modelica.Electrical.Polyphase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches