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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00187/0.00187, allocations: 75.75 kB / 21.25 MB, free: 396 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002366/0.002366, allocations: 159.7 kB / 24.49 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.51/1.51, allocations: 177.1 MB / 204.7 MB, free: 8.91 MB / 190.1 MB " [Timeout remaining time 178] 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=1000,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=1000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 65.84 kB / 325.5 MB, free: 208 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09793/0.09987, allocations: 53.39 MB / 378.9 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01837/0.1182, allocations: 14.25 MB / 393.2 MB, free: 1.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009149/0.1274, allocations: 4.025 MB / 397.2 MB, free: 13.14 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003021/0.1304, allocations: 159.2 kB / 397.4 MB, free: 12.98 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01776/0.1482, allocations: 7.324 MB / 404.7 MB, free: 5.645 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006608/0.1548, allocations: 1.335 MB / 406 MB, free: 4.305 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003944/0.1587, allocations: 1.222 MB / 407.2 MB, free: 3.082 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01095/0.1697, allocations: 8.308 MB / 415.6 MB, free: 10.74 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02489/0.1946, allocations: 14.22 MB / 429.8 MB, free: 12.33 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007015/0.2016, allocations: 4.922 MB / 434.7 MB, free: 7.395 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009089/0.2107, allocations: 5.174 MB / 439.9 MB, free: 2.203 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003963/0.2146, allocations: 1.383 MB / 441.3 MB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007302/0.2219, allocations: 1.652 MB / 442.9 MB, free: 15.17 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005858/0.2278, allocations: 2.588 MB / 445.5 MB, free: 12.57 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009903/0.2377, allocations: 4.043 MB / 449.5 MB, free: 8.516 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0328/0.2705, allocations: 18.45 MB / 468 MB, free: 6.004 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.2705, allocations: 0 / 468 MB, free: 6.004 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.2705, allocations: 0 / 468 MB, free: 6.004 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003411/0.2709, allocations: 0 / 468 MB, free: 6.004 MB / 430.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.3643/0.6352, allocations: 10.55 MB / 478.5 MB, free: 73.27 MB / 430.2 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.6352, allocations: 13.09 kB / 478.5 MB, free: 73.27 MB / 430.2 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0191/0.6543, allocations: 3.722 MB / 482.3 MB, free: 72.59 MB / 430.2 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009675/0.664, allocations: 5.42 MB / 487.7 MB, free: 69.99 MB / 430.2 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005147/0.6645, allocations: 0.6827 MB / 488.4 MB, free: 69.68 MB / 430.2 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002085/0.6666, allocations: 0.8922 MB / 489.3 MB, free: 69.38 MB / 430.2 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02082/0.6874, allocations: 12.81 MB / 0.4903 GB, free: 58.27 MB / 430.2 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001837/0.6876, allocations: 7.938 kB / 0.4903 GB, free: 58.27 MB / 430.2 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007861/0.6884, allocations: 387.8 kB / 0.4907 GB, free: 57.89 MB / 430.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002428/0.6887, allocations: 398 kB / 0.4911 GB, free: 57.5 MB / 430.2 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01851/0.7072, allocations: 11.4 MB / 0.5022 GB, free: 46.09 MB / 430.2 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04796/0.7551, allocations: 37.4 MB / 0.5387 GB, free: 8.242 MB / 430.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006776/0.7619, allocations: 4.161 MB / 0.5428 GB, free: 4.336 MB / 430.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001625/0.7635, allocations: 1.549 MB / 0.5443 GB, free: 2.797 MB / 430.2 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001768/0.7637, allocations: 61.94 kB / 0.5444 GB, free: 2.738 MB / 430.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.7637, allocations: 60.56 kB / 0.5444 GB, free: 2.668 MB / 430.2 MB Notification: Performance of pre-optimization done (n=223): time 4.469e-06/0.7637, allocations: 0 / 0.5444 GB, free: 2.668 MB / 430.2 MB Notification: Performance of matching and sorting (n=223): time 0.007918/0.7717, allocations: 4.595 MB / 0.5489 GB, free: 14.07 MB / 446.2 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.785e-05/0.7717, allocations: 73.41 kB / 0.549 GB, free: 13.98 MB / 446.2 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004579/0.7763, allocations: 3.049 MB / 0.5519 GB, free: 11.01 MB / 446.2 MB Notification: Performance of collectPreVariables (initialization): time 0.000261/0.7766, allocations: 61.7 kB / 0.552 GB, free: 10.94 MB / 446.2 MB Notification: Performance of collectInitialEqns (initialization): time 0.003135/0.7797, allocations: 3.979 MB / 0.5559 GB, free: 6.953 MB / 446.2 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009583/0.7806, allocations: 0.8275 MB / 0.5567 GB, free: 6.121 MB / 446.2 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00142/0.7821, allocations: 0.9605 MB / 0.5576 GB, free: 5.145 MB / 446.2 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.7822, allocations: 309 kB / 0.5579 GB, free: 4.84 MB / 446.2 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003121/0.7853, allocations: 1.973 MB / 0.5599 GB, free: 2.859 MB / 446.2 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004976/0.7903, allocations: 4.161 MB / 0.5639 GB, free: 13.63 MB / 462.2 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008558/0.7989, allocations: 6.521 MB / 0.5703 GB, free: 6.062 MB / 462.2 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.59e-05/0.7989, allocations: 24 kB / 0.5703 GB, free: 6.039 MB / 462.2 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.01065/0.8096, allocations: 6.516 MB / 0.5767 GB, free: 15.51 MB / 478.2 MB Notification: Performance of prepare postOptimizeDAE: time 5.567e-05/0.8096, allocations: 36 kB / 0.5767 GB, free: 15.48 MB / 478.2 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.286e-05/0.8097, allocations: 76 kB / 0.5768 GB, free: 15.4 MB / 478.2 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009299/0.8106, allocations: 409.4 kB / 0.5772 GB, free: 15 MB / 478.2 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00336/0.814, allocations: 1.072 MB / 0.5782 GB, free: 13.93 MB / 478.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005473/0.8195, allocations: 4.186 MB / 0.5823 GB, free: 9.637 MB / 478.2 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003046/0.8225, allocations: 0.6286 MB / 0.5829 GB, free: 9.004 MB / 478.2 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000411/0.8229, allocations: 248 kB / 0.5832 GB, free: 8.762 MB / 478.2 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.005621/0.8286, allocations: 3.372 MB / 0.5865 GB, free: 5.375 MB / 478.2 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006034/0.8292, allocations: 282.2 kB / 0.5867 GB, free: 5.098 MB / 478.2 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005987/0.8351, allocations: 3.58 MB / 0.5902 GB, free: 1.488 MB / 478.2 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004422/0.8396, allocations: 2.815 MB / 0.593 GB, free: 14.66 MB / 494.2 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/0.8396, allocations: 7.938 kB / 0.593 GB, free: 14.65 MB / 494.2 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.068e-05/0.8396, allocations: 15.95 kB / 0.593 GB, free: 14.64 MB / 494.2 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01429/0.8539, allocations: 7.996 MB / 0.6008 GB, free: 6.574 MB / 494.2 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.675e-06/0.8539, allocations: 3.938 kB / 0.6008 GB, free: 6.57 MB / 494.2 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001644/0.8556, allocations: 419.4 kB / 0.6012 GB, free: 6.16 MB / 494.2 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007125/0.8563, allocations: 317.1 kB / 0.6015 GB, free: 5.848 MB / 494.2 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001269/0.8564, allocations: 47.98 kB / 0.6015 GB, free: 5.801 MB / 494.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005171/0.8616, allocations: 4.008 MB / 0.6055 GB, free: 1.691 MB / 494.2 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.8616, allocations: 3.938 kB / 0.6055 GB, free: 1.688 MB / 494.2 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007616/0.8692, allocations: 5.136 MB / 0.6105 GB, free: 12.52 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001247/0.8705, allocations: 0.5522 MB / 0.611 GB, free: 11.96 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002778/0.8707, allocations: 43.95 kB / 0.6111 GB, free: 11.92 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001131/0.8719, allocations: 131.8 kB / 0.6112 GB, free: 11.79 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002869/0.8722, allocations: 157.6 kB / 0.6113 GB, free: 11.64 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001454/0.8723, allocations: 67.98 kB / 0.6114 GB, free: 11.57 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.002837/0.8751, allocations: 1.939 MB / 0.6133 GB, free: 9.621 MB / 0.4982 GB Notification: Performance of sort global known variables: time 1e-07/0.8751, allocations: 0 / 0.6133 GB, free: 9.621 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.004779/0.8799, allocations: 1.996 MB / 0.6152 GB, free: 7.617 MB / 0.4982 GB 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.0004129/0.8803, allocations: 210.8 kB / 0.6154 GB, free: 7.402 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.006916/0.8872, allocations: 4.435 MB / 0.6198 GB, free: 2.961 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.8872, allocations: 0 / 0.6198 GB, free: 2.961 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.002444/0.8897, allocations: 1.618 MB / 0.6214 GB, free: 1.336 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002902/0.8926, allocations: 0.681 MB / 0.622 GB, free: 0.6719 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02237/0.915, allocations: 13.51 MB / 0.6352 GB, free: 3.098 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006176/0.9211, allocations: 5.172 MB / 0.6403 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003953/0.9251, allocations: 1.694 MB / 0.6419 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006201/0.9257, allocations: 240.5 kB / 0.6421 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of SimCode: time 7.62e-07/0.9257, allocations: 0 / 0.6421 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of Templates: time 0.2679/1.194, allocations: 38.87 MB / 0.6801 GB, free: 170.6 MB / 0.5451 GB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.makefile [Timeout 660] (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 ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.7139908260433]