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.001306/0.001306, allocations: 196 kB / 18.1 MB, free: 3.715 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.376/1.376, allocations: 226.5 MB / 245.4 MB, free: 8.203 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008038/0.0008037, allocations: 89.14 kB / 297.5 MB, free: 6.906 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002436/0.0002438, allocations: 12 kB / 358.1 MB, free: 10.3 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2251/0.2254, allocations: 51.28 MB / 409.4 MB, free: 27.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.104/0.3294, allocations: 87.61 MB / 497 MB, free: 3.922 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002866/0.3298, allocations: 79.94 kB / 497.1 MB, free: 3.844 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.279/0.6088, allocations: 32.5 MB / 0.5171 GB, free: 85.22 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.6089, allocations: 0 / 0.5171 GB, free: 85.22 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001373/0.609, allocations: 54.25 kB / 0.5172 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.005383/0.6144, allocations: 2.075 MB / 0.5192 GB, free: 84.24 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.6145, allocations: 10.72 kB / 0.5192 GB, free: 84.24 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001402/0.6159, allocations: 285.8 kB / 0.5195 GB, free: 84.12 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002958/0.6189, allocations: 1.283 MB / 0.5208 GB, free: 83.73 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001497/0.6191, allocations: 165.2 kB / 0.5209 GB, free: 83.72 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006512/0.6197, allocations: 226 kB / 0.5211 GB, free: 83.72 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005976/0.6257, allocations: 2.77 MB / 0.5238 GB, free: 82.52 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.25e-05/0.6258, allocations: 3.375 kB / 0.5238 GB, free: 82.52 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003806/0.6262, allocations: 101.8 kB / 0.5239 GB, free: 82.45 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.968e-05/0.6263, allocations: 53.97 kB / 0.524 GB, free: 82.45 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004301/0.6306, allocations: 1.955 MB / 0.5259 GB, free: 81.66 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01212/0.6428, allocations: 7.719 MB / 0.5334 GB, free: 76.81 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009053/0.6437, allocations: 1.273 MB / 0.5347 GB, free: 75.5 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008002/0.6445, allocations: 0.6145 MB / 0.5353 GB, free: 74.97 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.031e-05/0.6446, allocations: 8.469 kB / 0.5353 GB, free: 74.97 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.6446, allocations: 46.59 kB / 0.5353 GB, free: 74.92 MB / 378.7 MB Notification: Performance of pre-optimization done (n=63): time 3.036e-06/0.6446, allocations: 0 / 0.5353 GB, free: 74.92 MB / 378.7 MB Notification: Performance of matching and sorting (n=65): time 0.00364/0.6483, allocations: 2.491 MB / 0.5378 GB, free: 72.37 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.926e-05/0.6483, allocations: 55.97 kB / 0.5378 GB, free: 72.3 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007995/0.6491, allocations: 0.7855 MB / 0.5386 GB, free: 71.51 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.104e-05/0.6492, allocations: 37.7 kB / 0.5386 GB, free: 71.46 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003312/0.6495, allocations: 0.9213 MB / 0.5395 GB, free: 70.53 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001385/0.6497, allocations: 220.7 kB / 0.5397 GB, free: 70.32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-05/0.6497, allocations: 20 kB / 0.5397 GB, free: 70.3 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001/0.6498, allocations: 386.8 kB / 0.5401 GB, free: 69.91 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000455/0.6503, allocations: 377.8 kB / 0.5405 GB, free: 69.54 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000519/0.6508, allocations: 0.5907 MB / 0.5411 GB, free: 68.86 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001025/0.6518, allocations: 1.009 MB / 0.542 GB, free: 67.75 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.6519, allocations: 0 / 0.542 GB, free: 67.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001462/0.6533, allocations: 1.174 MB / 0.5432 GB, free: 66.57 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.6534, allocations: 8 kB / 0.5432 GB, free: 66.56 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.212e-05/0.6534, allocations: 8.344 kB / 0.5432 GB, free: 66.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002744/0.6537, allocations: 120.7 kB / 0.5433 GB, free: 66.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006072/0.6543, allocations: 171.7 kB / 0.5435 GB, free: 66.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001605/0.6559, allocations: 2.136 MB / 0.5456 GB, free: 63.99 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004929/0.6564, allocations: 55.09 kB / 0.5456 GB, free: 63.94 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.236e-05/0.6565, allocations: 32 kB / 0.5456 GB, free: 63.91 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.0009927/0.6575, allocations: 0.6457 MB / 0.5463 GB, free: 63.25 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001456/0.6576, allocations: 79.06 kB / 0.5464 GB, free: 63.18 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00126/0.6589, allocations: 0.9525 MB / 0.5473 GB, free: 62.21 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.241e-06/0.6589, allocations: 8 kB / 0.5473 GB, free: 62.2 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.6589, allocations: 4 kB / 0.5473 GB, free: 62.2 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.6589, allocations: 7.922 kB / 0.5473 GB, free: 62.19 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003782/0.6627, allocations: 2.712 MB / 0.55 GB, free: 59.42 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.245e-05/0.6627, allocations: 4 kB / 0.55 GB, free: 59.42 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004276/0.6632, allocations: 115.8 kB / 0.5501 GB, free: 59.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002297/0.6634, allocations: 96.94 kB / 0.5502 GB, free: 59.21 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.202e-05/0.6635, allocations: 23.17 kB / 0.5502 GB, free: 59.19 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0016/0.6651, allocations: 2.075 MB / 0.5522 GB, free: 56.98 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.6651, allocations: 0 / 0.5522 GB, free: 56.98 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001772/0.6669, allocations: 1.462 MB / 0.5536 GB, free: 55.48 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003577/0.6673, allocations: 228 kB / 0.5539 GB, free: 55.24 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001517/0.6674, allocations: 15.98 kB / 0.5539 GB, free: 55.22 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004505/0.6679, allocations: 52.03 kB / 0.5539 GB, free: 55.17 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001249/0.668, allocations: 44.48 kB / 0.554 GB, free: 55.13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.229e-05/0.6681, allocations: 20 kB / 0.554 GB, free: 55.11 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000703/0.6688, allocations: 0.5458 MB / 0.5545 GB, free: 54.57 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.6688, allocations: 0 / 0.5545 GB, free: 54.57 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001193/0.67, allocations: 327.9 kB / 0.5548 GB, free: 54.25 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.0002795/0.6703, allocations: 156.1 kB / 0.555 GB, free: 54.09 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001501/0.6718, allocations: 1.076 MB / 0.556 GB, free: 52.99 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.6718, allocations: 0.5 kB / 0.556 GB, free: 52.99 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007518/0.6726, allocations: 0.6298 MB / 0.5566 GB, free: 52.34 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001194/0.6738, allocations: 206 kB / 0.5568 GB, free: 52.14 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005822/0.6796, allocations: 3.994 MB / 0.5607 GB, free: 48.11 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001728/0.6814, allocations: 1.729 MB / 0.5624 GB, free: 46.35 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0008781/0.6823, allocations: 191 kB / 0.5626 GB, free: 46.16 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002433/0.6825, allocations: 63.42 kB / 0.5627 GB, free: 46.1 MB / 378.7 MB Notification: Performance of SimCode: time 1.543e-06/0.6825, allocations: 0 / 0.5627 GB, free: 46.1 MB / 378.7 MB Notification: Performance of Templates: time 0.02311/0.7057, allocations: 11.53 MB / 0.5739 GB, free: 34.75 MB / 378.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/jenkins1/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