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.001078/0.001078, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.001062/0.001062, allocations: 170.4 kB / 25.61 MB, free: 8.902 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.9538/0.9538, allocations: 177.1 MB / 206 MB, free: 4.5 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.733e-06/1.733e-06, allocations: 0 / 274.2 MB, free: 4.402 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.812e-05/1.986e-05, allocations: 5.547 kB / 274.2 MB, free: 4.398 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01139/0.01141, allocations: 15.31 MB / 289.5 MB, free: 5.02 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005825/0.01724, allocations: 4.104 MB / 293.6 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008594/0.0181, allocations: 163.2 kB / 293.8 MB, free: 0.75 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006667/0.02477, allocations: 7.731 MB / 301.5 MB, free: 8.984 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00234/0.0271, allocations: 1.366 MB / 302.9 MB, free: 7.609 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001687/0.02879, allocations: 1.235 MB / 304.1 MB, free: 6.371 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.005487/0.03428, allocations: 8.565 MB / 312.7 MB, free: 13.77 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01433/0.04861, allocations: 14.28 MB / 327 MB, free: 15.3 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006662/0.05527, allocations: 7.403 MB / 334.4 MB, free: 7.887 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004391/0.05967, allocations: 5.26 MB / 339.6 MB, free: 2.617 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001104/0.06077, allocations: 1.387 MB / 341 MB, free: 1.23 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1227/0.1835, allocations: 1.648 MB / 342.7 MB, free: 37.71 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00333/0.1868, allocations: 2.675 MB / 345.3 MB, free: 37.71 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006576/0.1934, allocations: 3.529 MB / 348.9 MB, free: 37.71 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007104/0.2005, allocations: 8.862 MB / 357.7 MB, free: 36.56 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.2005, allocations: 0.5312 kB / 357.7 MB, free: 36.56 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.2005, allocations: 3.641 kB / 357.7 MB, free: 36.56 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001047/0.2006, allocations: 0 / 357.7 MB, free: 36.56 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.01203/0.2126, allocations: 11.18 MB / 368.9 MB, free: 31.32 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.2127, allocations: 13.27 kB / 368.9 MB, free: 31.32 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008637/0.2213, allocations: 3.732 MB / 372.6 MB, free: 30.21 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004169/0.2255, allocations: 4.608 MB / 377.3 MB, free: 27.66 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002576/0.2257, allocations: 0.6821 MB / 377.9 MB, free: 27.35 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007573/0.2265, allocations: 0.8902 MB / 378.8 MB, free: 27.05 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005484/0.232, allocations: 4.91 MB / 383.7 MB, free: 22.89 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001254/0.2321, allocations: 14.75 kB / 383.7 MB, free: 22.88 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005128/0.2326, allocations: 371.9 kB / 384.1 MB, free: 22.52 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001857/0.2328, allocations: 399.1 kB / 384.5 MB, free: 22.13 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003522/0.2363, allocations: 2.735 MB / 387.2 MB, free: 19.39 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02942/0.2657, allocations: 35.3 MB / 422.5 MB, free: 0.8867 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003472/0.2692, allocations: 2.772 MB / 425.3 MB, free: 14.43 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006135/0.2698, allocations: 0.5732 MB / 425.9 MB, free: 13.88 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001557/0.27, allocations: 81.94 kB / 426 MB, free: 13.8 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.189e-05/0.27, allocations: 63.39 kB / 426 MB, free: 13.73 MB / 346.7 MB Notification: Performance of pre-optimization done (n=223): time 3.957e-06/0.27, allocations: 0 / 426 MB, free: 13.73 MB / 346.7 MB Notification: Performance of matching and sorting (n=223): time 0.003763/0.2738, allocations: 2.197 MB / 428.2 MB, free: 11.54 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/0.2738, allocations: 73.41 kB / 428.3 MB, free: 11.46 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002488/0.2763, allocations: 2.913 MB / 431.2 MB, free: 8.91 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.993e-05/0.2764, allocations: 61.7 kB / 431.3 MB, free: 8.844 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002238/0.2786, allocations: 4.242 MB / 435.5 MB, free: 4.695 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005299/0.2792, allocations: 0.8571 MB / 436.4 MB, free: 3.883 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009685/0.2801, allocations: 1.124 MB / 437.5 MB, free: 2.836 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.537e-05/0.2802, allocations: 480.7 kB / 438 MB, free: 2.363 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006051/0.2808, allocations: 484.8 kB / 438.4 MB, free: 1.883 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002267/0.2831, allocations: 3.821 MB / 442.3 MB, free: 12.77 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003208/0.2863, allocations: 4.786 MB / 447 MB, free: 6.977 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.782e-05/0.2863, allocations: 20 kB / 447.1 MB, free: 6.957 MB / 362.7 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.004115/0.2905, allocations: 3.636 MB / 450.7 MB, free: 3.797 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.814e-05/0.2905, allocations: 40 kB / 450.7 MB, free: 3.758 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-05/0.2906, allocations: 72 kB / 450.8 MB, free: 3.688 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006341/0.2912, allocations: 369.9 kB / 451.2 MB, free: 3.332 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00167/0.2929, allocations: 0.9985 MB / 452.2 MB, free: 2.414 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002635/0.2955, allocations: 3.36 MB / 455.5 MB, free: 15.03 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001497/0.297, allocations: 0.539 MB / 456.1 MB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002078/0.2972, allocations: 216 kB / 456.3 MB, free: 14.27 MB / 378.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.001563/0.2988, allocations: 492.7 kB / 456.8 MB, free: 13.87 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003698/0.2991, allocations: 362.1 kB / 457.1 MB, free: 13.51 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002083/0.3012, allocations: 1.86 MB / 459 MB, free: 11.68 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001236/0.3025, allocations: 1.128 MB / 460.1 MB, free: 10.56 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.3025, allocations: 4 kB / 460.1 MB, free: 10.55 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.361e-05/0.3025, allocations: 11.95 kB / 460.1 MB, free: 10.54 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008249/0.3107, allocations: 7.569 MB / 467.7 MB, free: 3.812 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.738e-06/0.3107, allocations: 4 kB / 467.7 MB, free: 3.809 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007263/0.3115, allocations: 349.5 kB / 468 MB, free: 3.488 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005126/0.312, allocations: 272.5 kB / 468.3 MB, free: 3.223 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.649e-05/0.3121, allocations: 51.98 kB / 468.3 MB, free: 3.172 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002356/0.3144, allocations: 3.202 MB / 471.5 MB, free: 15.92 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.3144, allocations: 4 kB / 471.6 MB, free: 15.92 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002353/0.3168, allocations: 2.174 MB / 473.7 MB, free: 13.76 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000503/0.3173, allocations: 477.3 kB / 474.2 MB, free: 13.29 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001782/0.3174, allocations: 44 kB / 474.2 MB, free: 13.25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004802/0.3179, allocations: 54.84 kB / 474.3 MB, free: 13.2 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001774/0.3181, allocations: 157.6 kB / 474.4 MB, free: 13.04 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.73e-05/0.3182, allocations: 51.98 kB / 474.5 MB, free: 12.99 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0009775/0.3192, allocations: 1.177 MB / 475.7 MB, free: 11.91 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3192, allocations: 0 / 475.7 MB, free: 11.91 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003505/0.3227, allocations: 1.992 MB / 477.7 MB, free: 9.906 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.0003049/0.323, allocations: 202.7 kB / 477.9 MB, free: 9.727 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002855/0.3258, allocations: 2.61 MB / 480.5 MB, free: 7.359 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.3258, allocations: 4 kB / 480.5 MB, free: 7.355 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008908/0.3267, allocations: 1.029 MB / 481.5 MB, free: 6.379 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001587/0.3283, allocations: 0.6806 MB / 482.2 MB, free: 5.715 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1174/0.4457, allocations: 11.32 MB / 493.5 MB, free: 107.6 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001639/0.4474, allocations: 2.29 MB / 495.8 MB, free: 107.3 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001349/0.4487, allocations: 482 kB / 496.3 MB, free: 107.3 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001046/0.4497, allocations: 0.7194 MB / 497 MB, free: 107.3 MB / 394.7 MB Notification: Performance of SimCode: time 9.72e-07/0.4497, allocations: 3.844 kB / 497 MB, free: 107.3 MB / 394.7 MB Notification: Performance of Templates: time 0.04828/0.498, allocations: 42.77 MB / 0.5271 GB, free: 79.04 MB / 394.7 MB " [Timeout remaining time 659] 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: 4.086246294900775]