Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 82.28 kB / 22.21 MB, free: 2.293 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 145.2 kB / 25.59 MB, free: 8.918 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9464/0.9464, allocations: 173.4 MB / 202.3 MB, free: 8.277 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.QuasiStatic.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 269.2 MB, free: 9.789 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.655e-05/1.776e-05, allocations: 5.266 kB / 269.2 MB, free: 9.785 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01162/0.01164, allocations: 15.3 MB / 284.5 MB, free: 10.42 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006382/0.01802, allocations: 4.051 MB / 288.6 MB, free: 6.371 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001408/0.01943, allocations: 159.2 kB / 288.7 MB, free: 6.215 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00701/0.02644, allocations: 7.735 MB / 296.4 MB, free: 14.45 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003595/0.03004, allocations: 1.506 MB / 298 MB, free: 12.93 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002995/0.03303, allocations: 1.103 MB / 299.1 MB, free: 11.82 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.008791/0.04182, allocations: 8.577 MB / 307.6 MB, free: 3.211 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02343/0.06525, allocations: 14.27 MB / 321.9 MB, free: 4.746 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0116/0.07685, allocations: 7.396 MB / 329.3 MB, free: 13.34 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007186/0.08403, allocations: 5.26 MB / 334.6 MB, free: 8.07 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002078/0.08611, allocations: 1.379 MB / 335.9 MB, free: 6.691 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002348/0.08846, allocations: 1.636 MB / 337.6 MB, free: 5.055 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001775/0.09023, allocations: 2.673 MB / 340.3 MB, free: 2.375 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1377/0.2279, allocations: 3.526 MB / 343.8 MB, free: 37.92 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01027/0.2382, allocations: 8.848 MB / 352.6 MB, free: 37.36 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.2382, allocations: 0.5312 kB / 352.6 MB, free: 37.36 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.2382, allocations: 1.781 kB / 352.6 MB, free: 37.36 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003901/0.2386, allocations: 3.328 kB / 352.6 MB, free: 37.36 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.01603/0.2546, allocations: 11.18 MB / 363.8 MB, free: 34.11 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.128e-05/0.2547, allocations: 11.59 kB / 363.8 MB, free: 34.11 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008431/0.2631, allocations: 3.766 MB / 367.6 MB, free: 32.99 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004568/0.2677, allocations: 4.597 MB / 372.2 MB, free: 30.45 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002379/0.2679, allocations: 0.6827 MB / 372.9 MB, free: 30.13 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000814/0.2687, allocations: 0.8952 MB / 373.8 MB, free: 29.84 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006004/0.2747, allocations: 4.894 MB / 378.7 MB, free: 27.21 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001259/0.2748, allocations: 9.906 kB / 378.7 MB, free: 27.2 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005025/0.2754, allocations: 375.8 kB / 379 MB, free: 26.84 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001695/0.2755, allocations: 395.1 kB / 379.4 MB, free: 26.45 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003429/0.2789, allocations: 2.709 MB / 382.1 MB, free: 23.73 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0283/0.3072, allocations: 35.25 MB / 417.4 MB, free: 5.285 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00365/0.3109, allocations: 2.769 MB / 420.2 MB, free: 2.832 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005998/0.3115, allocations: 0.5672 MB / 420.7 MB, free: 2.293 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001267/0.3116, allocations: 69.95 kB / 420.8 MB, free: 2.223 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.745e-05/0.3117, allocations: 55.39 kB / 420.8 MB, free: 2.16 MB / 330.7 MB Notification: Performance of pre-optimization done (n=223): time 4.228e-06/0.3117, allocations: 0 / 420.8 MB, free: 2.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=223): time 0.00367/0.3153, allocations: 2.179 MB / 423 MB, free: 15.99 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/0.3154, allocations: 73.41 kB / 423.1 MB, free: 15.9 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002885/0.3183, allocations: 2.917 MB / 426 MB, free: 13.36 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.324e-05/0.3184, allocations: 65.69 kB / 426.1 MB, free: 13.29 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002024/0.3204, allocations: 4.237 MB / 430.3 MB, free: 9.145 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005828/0.321, allocations: 0.8599 MB / 431.2 MB, free: 8.328 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001037/0.322, allocations: 1.111 MB / 432.3 MB, free: 7.293 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.751e-05/0.3221, allocations: 483.5 kB / 432.8 MB, free: 6.82 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006251/0.3227, allocations: 484.8 kB / 433.2 MB, free: 6.34 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002257/0.325, allocations: 3.814 MB / 437 MB, free: 1.227 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003152/0.3281, allocations: 4.774 MB / 441.8 MB, free: 11.45 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-05/0.3282, allocations: 20 kB / 441.8 MB, free: 11.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.003691/0.3319, allocations: 3.616 MB / 445.4 MB, free: 8.285 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.86e-05/0.3319, allocations: 36 kB / 445.5 MB, free: 8.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-05/0.332, allocations: 80.19 kB / 445.6 MB, free: 8.172 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006077/0.3326, allocations: 367.9 kB / 445.9 MB, free: 7.816 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001889/0.3344, allocations: 0.9893 MB / 446.9 MB, free: 6.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00231/0.3368, allocations: 3.367 MB / 450.3 MB, free: 3.516 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001517/0.3383, allocations: 0.539 MB / 450.8 MB, free: 2.973 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000204/0.3385, allocations: 212 kB / 451 MB, free: 2.766 MB / 362.7 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.001714/0.3402, allocations: 492.8 kB / 451.5 MB, free: 2.355 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000373/0.3406, allocations: 358.1 kB / 451.9 MB, free: 2.004 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002383/0.3429, allocations: 1.875 MB / 453.7 MB, free: 164 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001277/0.3442, allocations: 1.119 MB / 454.8 MB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.3442, allocations: 4 kB / 454.9 MB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.27e-05/0.3442, allocations: 7.969 kB / 454.9 MB, free: 15.04 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009263/0.3535, allocations: 7.551 MB / 462.4 MB, free: 8.336 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.74e-06/0.3535, allocations: 4.156 kB / 462.4 MB, free: 8.332 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007667/0.3543, allocations: 350 kB / 462.8 MB, free: 8.012 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005836/0.3549, allocations: 263 kB / 463 MB, free: 7.754 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001079/0.355, allocations: 55.98 kB / 463.1 MB, free: 7.699 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00217/0.3571, allocations: 3.198 MB / 466.3 MB, free: 4.453 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.3571, allocations: 4 kB / 466.3 MB, free: 4.449 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002387/0.3595, allocations: 2.158 MB / 468.4 MB, free: 2.305 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005258/0.3601, allocations: 470.4 kB / 468.9 MB, free: 1.844 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001821/0.3602, allocations: 44 kB / 468.9 MB, free: 1.801 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004699/0.3607, allocations: 52.03 kB / 469 MB, free: 1.75 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001777/0.3609, allocations: 161.6 kB / 469.1 MB, free: 1.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.66e-05/0.361, allocations: 51.98 kB / 469.2 MB, free: 1.539 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001274/0.3622, allocations: 1.169 MB / 470.4 MB, free: 476 kB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3622, allocations: 0 / 470.4 MB, free: 476 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.003683/0.3659, allocations: 1.996 MB / 472.4 MB, free: 14.46 MB / 394.7 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.0003215/0.3662, allocations: 215.3 kB / 472.6 MB, free: 14.27 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00263/0.3689, allocations: 2.604 MB / 475.2 MB, free: 11.91 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.3689, allocations: 4 kB / 475.2 MB, free: 11.91 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008972/0.3698, allocations: 1.016 MB / 476.2 MB, free: 10.94 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001591/0.3714, allocations: 0.6835 MB / 476.9 MB, free: 10.27 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1365/0.5079, allocations: 11.36 MB / 488.2 MB, free: 116.2 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003254/0.5111, allocations: 2.287 MB / 490.5 MB, free: 115.9 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001696/0.5128, allocations: 489.8 kB / 491 MB, free: 115.9 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00106/0.5139, allocations: 0.7091 MB / 491.7 MB, free: 115.9 MB / 394.7 MB Notification: Performance of SimCode: time 1.433e-06/0.5139, allocations: 0 / 491.7 MB, free: 115.9 MB / 394.7 MB Notification: Performance of Templates: time 0.06787/0.5818, allocations: 42.43 MB / 0.5216 GB, free: 88.98 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 4.03419773420319]