Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001127/0.001127, allocations: 115.9 kB / 18.41 MB, free: 4.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001214/0.001215, allocations: 199.5 kB / 19.36 MB, free: 3.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.373/1.373, allocations: 227.4 MB / 247.5 MB, free: 10.4 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 64.06 kB / 308.4 MB, free: 15.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.127, allocations: 50.53 MB / 358.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.2131/0.3402, allocations: 16.5 MB / 375.4 MB, free: 9.699 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01078/0.351, allocations: 4.144 MB / 379.5 MB, free: 9.438 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003921/0.3549, allocations: 138.1 kB / 379.7 MB, free: 9.414 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01487/0.3699, allocations: 7.44 MB / 387.1 MB, free: 6.758 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006289/0.3762, allocations: 1.328 MB / 388.5 MB, free: 5.895 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003001/0.3792, allocations: 1.228 MB / 389.7 MB, free: 5.129 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.008822/0.388, allocations: 8.255 MB / 397.9 MB, free: 0.6719 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02979/0.4178, allocations: 22.53 MB / 420.5 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007204/0.4251, allocations: 4.812 MB / 425.3 MB, free: 8.992 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009799/0.4349, allocations: 5.334 MB / 430.6 MB, free: 3.641 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005546/0.4405, allocations: 1.379 MB / 432 MB, free: 2.262 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007125/0.4477, allocations: 1.66 MB / 433.6 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004671/0.4524, allocations: 2.584 MB / 436.2 MB, free: 14.01 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01079/0.4632, allocations: 5.218 MB / 441.4 MB, free: 8.773 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02118/0.4844, allocations: 18.31 MB / 459.8 MB, free: 6.418 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.094e-06/0.4844, allocations: 4 kB / 459.8 MB, free: 6.414 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4845, allocations: 0 / 459.8 MB, free: 6.414 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0005216/0.485, allocations: 4 kB / 459.8 MB, free: 6.41 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2457 * Number of variables: 2457 Notification: Performance of Generate backend data structure: time 0.02993/0.5149, allocations: 10.44 MB / 470.2 MB, free: 11.89 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.515, allocations: 12.03 kB / 470.2 MB, free: 11.88 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01867/0.5337, allocations: 3.744 MB / 474 MB, free: 8.125 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01265/0.5463, allocations: 5.363 MB / 479.3 MB, free: 2.695 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005556/0.5469, allocations: 0.6824 MB / 480 MB, free: 2.012 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003447/0.5504, allocations: 0.8905 MB / 480.9 MB, free: 1.121 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02891/0.5793, allocations: 12.72 MB / 493.6 MB, free: 4.367 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002009/0.5795, allocations: 7.906 kB / 493.6 MB, free: 4.359 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001132/0.5807, allocations: 380 kB / 494 MB, free: 3.988 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003133/0.581, allocations: 395.1 kB / 494.4 MB, free: 3.602 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02228/0.6033, allocations: 11.41 MB / 0.4939 GB, free: 8.18 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4315/1.035, allocations: 43.56 MB / 0.5365 GB, free: 115.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00932/1.044, allocations: 10.5 MB / 0.5467 GB, free: 107.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002524/1.047, allocations: 1.683 MB / 0.5484 GB, free: 107.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002828/1.047, allocations: 216.4 kB / 0.5486 GB, free: 107.3 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.878e-05/1.047, allocations: 61.97 kB / 0.5486 GB, free: 107.3 MB / 446.1 MB Notification: Performance of pre-optimization done (n=223): time 3.787e-06/1.047, allocations: 0 / 0.5486 GB, free: 107.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.008214/1.055, allocations: 4.666 MB / 0.5532 GB, free: 107 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.875e-05/1.055, allocations: 73.31 kB / 0.5533 GB, free: 107 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003715/1.059, allocations: 2.925 MB / 0.5561 GB, free: 106.7 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000116/1.059, allocations: 60.98 kB / 0.5562 GB, free: 106.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001423/1.061, allocations: 3.828 MB / 0.5599 GB, free: 104.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000395/1.061, allocations: 0.7885 MB / 0.5607 GB, free: 104 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001048/1.062, allocations: 0.9481 MB / 0.5616 GB, free: 103.9 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.397e-05/1.062, allocations: 303.1 kB / 0.5619 GB, free: 103.6 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002135/1.064, allocations: 1.977 MB / 0.5638 GB, free: 103.6 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002785/1.067, allocations: 4.153 MB / 0.5679 GB, free: 100.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005249/1.072, allocations: 6.511 MB / 0.5742 GB, free: 95.62 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.58e-05/1.072, allocations: 23.17 kB / 0.5743 GB, free: 95.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.007652/1.08, allocations: 6.507 MB / 0.5806 GB, free: 93.07 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.389e-05/1.08, allocations: 36.78 kB / 0.5806 GB, free: 93.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.531e-05/1.08, allocations: 83.16 kB / 0.5807 GB, free: 93.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000719/1.081, allocations: 407 kB / 0.5811 GB, free: 92.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002761/1.084, allocations: 1.057 MB / 0.5821 GB, free: 92.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004285/1.088, allocations: 4.377 MB / 0.5864 GB, free: 90.08 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0035/1.092, allocations: 0.6214 MB / 0.587 GB, free: 89.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000414/1.092, allocations: 245.6 kB / 0.5873 GB, free: 89.68 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 340 * 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 (566): * Single equations (assignments): 564 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003974/1.096, allocations: 3.375 MB / 0.5906 GB, free: 87.86 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004652/1.096, allocations: 274 kB / 0.5908 GB, free: 87.71 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004502/1.101, allocations: 3.578 MB / 0.5943 GB, free: 85.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003192/1.104, allocations: 2.806 MB / 0.5971 GB, free: 84.27 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/1.104, allocations: 3.469 kB / 0.5971 GB, free: 84.27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-05/1.104, allocations: 11.95 kB / 0.5971 GB, free: 84.26 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01325/1.117, allocations: 9.86 MB / 0.6067 GB, free: 75.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/1.117, allocations: 0 / 0.6067 GB, free: 75.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001431/1.119, allocations: 411.4 kB / 0.6071 GB, free: 74.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005929/1.12, allocations: 319.6 kB / 0.6074 GB, free: 74.6 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001135/1.12, allocations: 56.86 kB / 0.6074 GB, free: 74.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003615/1.123, allocations: 4.191 MB / 0.6115 GB, free: 70.22 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/1.123, allocations: 4 kB / 0.6115 GB, free: 70.21 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005421/1.129, allocations: 5.117 MB / 0.6165 GB, free: 65.06 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001297/1.13, allocations: 0.6063 MB / 0.6171 GB, free: 64.43 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002881/1.13, allocations: 44 kB / 0.6172 GB, free: 64.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001051/1.131, allocations: 127.8 kB / 0.6173 GB, free: 64.27 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002422/1.132, allocations: 149.7 kB / 0.6174 GB, free: 64.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001281/1.132, allocations: 63.98 kB / 0.6175 GB, free: 64.06 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002098/1.134, allocations: 1.963 MB / 0.6194 GB, free: 62.09 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/1.134, allocations: 0 / 0.6194 GB, free: 62.09 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004161/1.138, allocations: 1.962 MB / 0.6213 GB, free: 60.12 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (sineVoltage.plug_p.reference.gamma) * 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 (215): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003758/1.138, allocations: 196.2 kB / 0.6215 GB, free: 59.92 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005559/1.144, allocations: 4.641 MB / 0.6261 GB, free: 55.28 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/1.144, allocations: 2 kB / 0.6261 GB, free: 55.28 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001855/1.146, allocations: 1.727 MB / 0.6277 GB, free: 53.55 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002685/1.149, allocations: 0.6823 MB / 0.6284 GB, free: 52.89 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01718/1.166, allocations: 13.22 MB / 0.6413 GB, free: 39.63 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004226/1.17, allocations: 5.653 MB / 0.6468 GB, free: 33.94 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003288/1.173, allocations: 1.686 MB / 0.6485 GB, free: 32.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005593/1.174, allocations: 231.4 kB / 0.6487 GB, free: 32.02 MB / 446.1 MB Notification: Performance of SimCode: time 5.81e-07/1.174, allocations: 0 / 0.6487 GB, free: 32.02 MB / 446.1 MB Notification: Performance of Templates: time 0.06032/1.234, allocations: 38.06 MB / 0.6859 GB, free: 10.27 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.makefile (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches