Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 80.8 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 170.3 kB / 24.91 MB, free: 8.777 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.858/0.858, allocations: 177.1 MB / 205.3 MB, free: 5.105 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 3.938 kB / 273.4 MB, free: 1.18 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.335e-06/9.487e-06, allocations: 2.312 kB / 273.5 MB, free: 1.176 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01047/0.01048, allocations: 15.34 MB / 288.8 MB, free: 1.762 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.09143/0.1019, allocations: 4.356 MB / 293.1 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001338/0.1032, allocations: 161.6 kB / 293.3 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006481/0.1097, allocations: 7.968 MB / 301.3 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002276/0.112, allocations: 1.383 MB / 302.7 MB, free: 13.1 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001393/0.1134, allocations: 1.241 MB / 303.9 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004497/0.1179, allocations: 8.586 MB / 312.5 MB, free: 7.605 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01158/0.1295, allocations: 14.72 MB / 327.2 MB, free: 11.11 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005711/0.1352, allocations: 7.451 MB / 334.7 MB, free: 3.883 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00389/0.1391, allocations: 5.36 MB / 340 MB, free: 14.86 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001124/0.1402, allocations: 1.383 MB / 341.4 MB, free: 13.48 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001455/0.1416, allocations: 1.652 MB / 343.1 MB, free: 11.84 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001313/0.143, allocations: 2.672 MB / 345.7 MB, free: 9.258 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002364/0.1453, allocations: 3.529 MB / 349.3 MB, free: 5.723 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005436/0.1508, allocations: 8.862 MB / 358.1 MB, free: 12.83 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.604e-06/0.1508, allocations: 0 / 358.1 MB, free: 12.83 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1508, allocations: 0 / 358.1 MB, free: 12.83 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.885e-05/0.1508, allocations: 0 / 358.1 MB, free: 12.83 MB / 314.7 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.01098/0.1618, allocations: 10.36 MB / 368.5 MB, free: 2.406 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.774e-05/0.1618, allocations: 8.031 kB / 368.5 MB, free: 2.398 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008792/0.1706, allocations: 3.743 MB / 372.2 MB, free: 14.65 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003338/0.174, allocations: 2.631 MB / 374.9 MB, free: 11.96 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002989/0.1743, allocations: 0.6833 MB / 375.5 MB, free: 11.28 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008383/0.1751, allocations: 0.8906 MB / 376.4 MB, free: 10.39 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00628/0.1814, allocations: 6.1 MB / 382.5 MB, free: 4.238 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000128/0.1815, allocations: 7.953 kB / 382.5 MB, free: 4.23 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005655/0.1821, allocations: 376 kB / 382.9 MB, free: 3.863 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002184/0.1823, allocations: 399.1 kB / 383.3 MB, free: 3.473 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003758/0.1861, allocations: 2.361 MB / 385.7 MB, free: 1.102 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02301/0.2091, allocations: 26.94 MB / 412.6 MB, free: 5.016 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003114/0.2122, allocations: 2.41 MB / 415 MB, free: 2.598 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005126/0.2127, allocations: 495.8 kB / 415.5 MB, free: 2.113 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001305/0.2128, allocations: 85.92 kB / 415.6 MB, free: 2.027 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.217e-05/0.2128, allocations: 60.5 kB / 415.6 MB, free: 1.961 MB / 362.7 MB Notification: Performance of pre-optimization done (n=223): time 3.466e-06/0.2129, allocations: 0 / 415.6 MB, free: 1.961 MB / 362.7 MB Notification: Performance of matching and sorting (n=223): time 0.002701/0.2156, allocations: 1.73 MB / 417.4 MB, free: 232 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.269e-05/0.2156, allocations: 81.39 kB / 417.4 MB, free: 136 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001257/0.2168, allocations: 1.954 MB / 419.4 MB, free: 14.16 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.685e-05/0.2169, allocations: 61.7 kB / 419.5 MB, free: 14.09 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00138/0.2183, allocations: 3.769 MB / 423.2 MB, free: 10.28 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003735/0.2187, allocations: 0.8213 MB / 424 MB, free: 9.453 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007302/0.2194, allocations: 0.8703 MB / 424.9 MB, free: 8.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.396e-05/0.2195, allocations: 305.1 kB / 425.2 MB, free: 8.27 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006939/0.2202, allocations: 0.6519 MB / 425.9 MB, free: 7.609 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00151/0.2217, allocations: 2.619 MB / 428.5 MB, free: 3.926 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1611/0.3828, allocations: 3.658 MB / 432.1 MB, free: 94.63 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.975e-05/0.3828, allocations: 21.56 kB / 432.2 MB, free: 94.63 MB / 378.8 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.003898/0.3867, allocations: 2.985 MB / 435.1 MB, free: 94.53 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.907e-05/0.3868, allocations: 36.62 kB / 435.2 MB, free: 94.53 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.381e-05/0.3868, allocations: 74.91 kB / 435.3 MB, free: 94.53 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006356/0.3874, allocations: 350.8 kB / 435.6 MB, free: 94.51 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001662/0.3891, allocations: 0.9826 MB / 436.6 MB, free: 94.51 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00174/0.3909, allocations: 2.49 MB / 439.1 MB, free: 93.22 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001289/0.3921, allocations: 0.5438 MB / 439.6 MB, free: 93.22 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001999/0.3923, allocations: 209.1 kB / 439.8 MB, free: 93.21 MB / 378.8 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.00116/0.3935, allocations: 450 kB / 440.3 MB, free: 93.09 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002788/0.3938, allocations: 228.8 kB / 440.5 MB, free: 93.09 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001527/0.3953, allocations: 1.554 MB / 442 MB, free: 92.93 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0007945/0.3961, allocations: 0.8249 MB / 442.9 MB, free: 92.84 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.3961, allocations: 3.5 kB / 442.9 MB, free: 92.84 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.309e-05/0.3961, allocations: 11.72 kB / 442.9 MB, free: 92.84 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005209/0.4013, allocations: 5.567 MB / 448.4 MB, free: 92.35 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.229e-06/0.4013, allocations: 3.969 kB / 448.4 MB, free: 92.35 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000682/0.402, allocations: 340.5 kB / 448.8 MB, free: 92.35 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004227/0.4024, allocations: 248.2 kB / 449 MB, free: 92.32 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.522e-05/0.4025, allocations: 44.97 kB / 449.1 MB, free: 92.32 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001361/0.4039, allocations: 2.347 MB / 451.4 MB, free: 91.03 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.4039, allocations: 7.219 kB / 451.4 MB, free: 91.03 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001637/0.4055, allocations: 1.735 MB / 453.1 MB, free: 90.71 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003734/0.4059, allocations: 350.2 kB / 453.5 MB, free: 90.71 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001694/0.4061, allocations: 42.84 kB / 453.5 MB, free: 90.71 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004433/0.4065, allocations: 50.77 kB / 453.6 MB, free: 90.71 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001354/0.4066, allocations: 154.1 kB / 453.7 MB, free: 90.7 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.119e-05/0.4067, allocations: 47.61 kB / 453.8 MB, free: 90.7 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.0005656/0.4073, allocations: 0.8415 MB / 454.6 MB, free: 90.61 MB / 378.8 MB Notification: Performance of sort global known variables: time 7e-08/0.4073, allocations: 0 / 454.6 MB, free: 90.61 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.002196/0.4095, allocations: 1.997 MB / 456.6 MB, free: 90.32 MB / 378.8 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.000239/0.4097, allocations: 185.2 kB / 456.8 MB, free: 90.25 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.001663/0.4114, allocations: 2.202 MB / 459 MB, free: 89.98 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 8.307e-05/0.4115, allocations: 57.81 kB / 459.1 MB, free: 89.96 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0006329/0.4121, allocations: 0.8609 MB / 459.9 MB, free: 89.79 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001362/0.4134, allocations: 0.6803 MB / 460.6 MB, free: 89.74 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008615/0.4221, allocations: 11.38 MB / 472 MB, free: 80.93 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001055/0.4231, allocations: 1.578 MB / 473.6 MB, free: 79.85 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.0008652/0.424, allocations: 490.8 kB / 474 MB, free: 79.48 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000929/0.4249, allocations: 0.6445 MB / 474.7 MB, free: 78.9 MB / 378.8 MB Notification: Performance of SimCode: time 8.61e-07/0.4249, allocations: 4 kB / 474.7 MB, free: 78.89 MB / 378.8 MB Notification: Performance of Templates: time 0.04607/0.471, allocations: 42.5 MB / 0.5051 GB, free: 37.22 MB / 378.8 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/TestSensors/TestSensors.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.408227768726647]