Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009739/0.000974, allocations: 95.61 kB / 17.3 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 175.6 kB / 18.21 MB, free: 5.551 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.398/1.398, allocations: 205.4 MB / 224.4 MB, free: 13.08 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007112/0.0007113, allocations: 15.28 kB / 281.4 MB, free: 3.422 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.103, allocations: 47.59 MB / 329 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.01501/0.1181, allocations: 15.67 MB / 344.6 MB, free: 4.02 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009017/0.1271, allocations: 4.159 MB / 348.8 MB, free: 15.84 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003139/0.1303, allocations: 115.6 kB / 348.9 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003391/0.1337, allocations: 1.03 MB / 349.9 MB, free: 14.7 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005997/0.1397, allocations: 1.357 MB / 351.3 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003476/0.1432, allocations: 1.107 MB / 352.4 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.009515/0.1527, allocations: 8.303 MB / 360.7 MB, free: 3.883 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2207/0.3734, allocations: 22.17 MB / 382.9 MB, free: 19.07 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006257/0.3797, allocations: 3.408 MB / 386.3 MB, free: 18.67 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008272/0.388, allocations: 4.064 MB / 390.3 MB, free: 17.76 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002336/0.3904, allocations: 0.5522 MB / 390.9 MB, free: 17.76 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004068/0.3945, allocations: 0.8071 MB / 391.7 MB, free: 17.76 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001933/0.3964, allocations: 1.629 MB / 393.3 MB, free: 17.45 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007565/0.404, allocations: 4.199 MB / 397.5 MB, free: 16.17 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01562/0.4197, allocations: 17.39 MB / 414.9 MB, free: 7.73 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.4197, allocations: 0 / 414.9 MB, free: 7.73 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.086e-06/0.4197, allocations: 4 kB / 414.9 MB, free: 7.727 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.000587/0.4203, allocations: 0 / 414.9 MB, free: 7.727 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2571 * Number of variables: 2571 Notification: Performance of Generate backend data structure: time 0.02415/0.4445, allocations: 8.756 MB / 423.7 MB, free: 2.277 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/0.4445, allocations: 14.05 kB / 423.7 MB, free: 2.273 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03038/0.4749, allocations: 5.731 MB / 429.4 MB, free: 13.22 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01183/0.4868, allocations: 4.846 MB / 434.3 MB, free: 8.574 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009842/0.4878, allocations: 0.7048 MB / 435 MB, free: 7.875 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004562/0.4924, allocations: 0.9208 MB / 435.9 MB, free: 6.961 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04646/0.5389, allocations: 13.62 MB / 449.5 MB, free: 9.324 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002216/0.5392, allocations: 15.89 kB / 449.5 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001671/0.5408, allocations: 391.9 kB / 449.9 MB, free: 8.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000452/0.5413, allocations: 455.9 kB / 450.4 MB, free: 8.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03018/0.5715, allocations: 12.84 MB / 463.2 MB, free: 11.62 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08381/0.6553, allocations: 47.06 MB / 0.4983 GB, free: 11.82 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01612/0.6715, allocations: 17.1 MB / 0.515 GB, free: 8.391 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003275/0.6748, allocations: 1.917 MB / 0.5169 GB, free: 6.469 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01077/0.6856, allocations: 6.09 MB / 0.5228 GB, free: 352 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.789e-05/0.6857, allocations: 52.56 kB / 0.5229 GB, free: 292 kB / 430.1 MB Notification: Performance of pre-optimization done (n=194): time 6.602e-06/0.6857, allocations: 0 / 0.5229 GB, free: 292 kB / 430.1 MB Notification: Performance of matching and sorting (n=194): time 0.008403/0.6941, allocations: 4.446 MB / 0.5272 GB, free: 11.83 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.495e-05/0.6942, allocations: 69.41 kB / 0.5273 GB, free: 11.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005415/0.6997, allocations: 3.328 MB / 0.5305 GB, free: 8.406 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002472/0.6999, allocations: 57.7 kB / 0.5306 GB, free: 8.344 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002568/0.7025, allocations: 4.18 MB / 0.5347 GB, free: 4.141 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008082/0.7033, allocations: 0.706 MB / 0.5354 GB, free: 3.438 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005416/0.7039, allocations: 412.9 kB / 0.5357 GB, free: 3.027 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.664e-05/0.704, allocations: 305.1 kB / 0.536 GB, free: 2.727 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003096/0.7071, allocations: 2.079 MB / 0.5381 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1854/0.8925, allocations: 4.724 MB / 0.5427 GB, free: 145.4 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007859/0.9004, allocations: 7.17 MB / 0.5497 GB, free: 141.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002211/0.9006, allocations: 27.34 kB / 0.5497 GB, free: 141.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=655) (initialization): time 0.01276/0.9134, allocations: 7.098 MB / 0.5566 GB, free: 138.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.11e-05/0.9135, allocations: 44.44 kB / 0.5567 GB, free: 138.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001711/0.9137, allocations: 91 kB / 0.5568 GB, free: 138.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008799/0.9146, allocations: 431.5 kB / 0.5572 GB, free: 138.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00352/0.9181, allocations: 1.174 MB / 0.5583 GB, free: 138.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004756/0.9229, allocations: 4.071 MB / 0.5623 GB, free: 135.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003782/0.9267, allocations: 0.7122 MB / 0.563 GB, free: 135.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006662/0.9274, allocations: 292.8 kB / 0.5633 GB, free: 135.6 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 418 * 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 (626): * Single equations (assignments): 621 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.006895/0.9343, allocations: 3.482 MB / 0.5667 GB, free: 134 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008475/0.9352, allocations: 292.6 kB / 0.567 GB, free: 133.9 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006881/0.9421, allocations: 3.399 MB / 0.5703 GB, free: 132.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004313/0.9464, allocations: 2.62 MB / 0.5728 GB, free: 131.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/0.9465, allocations: 9.031 kB / 0.5728 GB, free: 131.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.765e-05/0.9465, allocations: 13.94 kB / 0.5729 GB, free: 131.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01689/0.9634, allocations: 9.424 MB / 0.5821 GB, free: 127.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-05/0.9634, allocations: 3.938 kB / 0.5821 GB, free: 127.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002098/0.9655, allocations: 360.4 kB / 0.5824 GB, free: 127 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009868/0.9665, allocations: 318.2 kB / 0.5827 GB, free: 126.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001614/0.9667, allocations: 39.84 kB / 0.5828 GB, free: 126.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005292/0.972, allocations: 3.889 MB / 0.5866 GB, free: 123.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.9721, allocations: 4 kB / 0.5866 GB, free: 123.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005801/0.9779, allocations: 4.837 MB / 0.5913 GB, free: 118.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00109/0.979, allocations: 0.6214 MB / 0.5919 GB, free: 118.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003109/0.9793, allocations: 36 kB / 0.5919 GB, free: 118.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001151/0.9805, allocations: 140.1 kB / 0.5921 GB, free: 118.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002388/0.9807, allocations: 127.8 kB / 0.5922 GB, free: 118.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001053/0.9808, allocations: 64.59 kB / 0.5922 GB, free: 118.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002797/0.9836, allocations: 2.197 MB / 0.5944 GB, free: 116.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.9836, allocations: 0 / 0.5944 GB, free: 116.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004909/0.9886, allocations: 2.029 MB / 0.5964 GB, free: 114.2 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (183): * Single equations (assignments): 178 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0003906/0.989, allocations: 195.1 kB / 0.5966 GB, free: 114 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006046/0.995, allocations: 4.81 MB / 0.6012 GB, free: 109.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.165e-06/0.995, allocations: 0 / 0.6012 GB, free: 109.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00176/0.9968, allocations: 1.633 MB / 0.6028 GB, free: 108.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003357/1, allocations: 0.6456 MB / 0.6035 GB, free: 107.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02071/1.021, allocations: 17.69 MB / 0.6208 GB, free: 89.83 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004732/1.026, allocations: 5.796 MB / 0.6264 GB, free: 83.99 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004149/1.03, allocations: 1.833 MB / 0.6282 GB, free: 82.16 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005305/1.03, allocations: 235.4 kB / 0.6284 GB, free: 81.93 MB / 446.1 MB Notification: Performance of SimCode: time 8.32e-07/1.03, allocations: 0 / 0.6284 GB, free: 81.93 MB / 446.1 MB Notification: Performance of Templates: time 0.06189/1.092, allocations: 40.44 MB / 0.6679 GB, free: 41.5 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/TestSensors/TestSensors.csv","../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches