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.001204/0.001204, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001871/0.003075, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001166/0.001166, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001639/0.002805, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9425/0.9425, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08533/1.028, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.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.934e-06/1.934e-06, allocations: 0 / 244.7 MB, free: 14.21 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.625e-05/1.818e-05, allocations: 2.312 kB / 244.7 MB, free: 14.21 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01412/0.01414, allocations: 15.48 MB / 260.2 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008125/0.02226, allocations: 4.408 MB / 264.6 MB, free: 10.22 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001668/0.02393, allocations: 163.2 kB / 264.8 MB, free: 10.06 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006774/0.0307, allocations: 7.917 MB / 272.7 MB, free: 2.105 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002795/0.0335, allocations: 1.37 MB / 274.1 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1272/0.1607, allocations: 1.224 MB / 275.3 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.007614/0.1683, allocations: 8.645 MB / 283.9 MB, free: 14.96 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01669/0.185, allocations: 14.43 MB / 298.4 MB, free: 8.426 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007656/0.1927, allocations: 7.569 MB / 305.9 MB, free: 3.754 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006714/0.1994, allocations: 5.432 MB / 311.4 MB, free: 15.87 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002857/0.2022, allocations: 1.383 MB / 312.7 MB, free: 14.49 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00216/0.2044, allocations: 1.663 MB / 314.4 MB, free: 12.86 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001289/0.2057, allocations: 2.101 MB / 316.5 MB, free: 10.75 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002798/0.2085, allocations: 2.953 MB / 319.5 MB, free: 7.797 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00681/0.2153, allocations: 8.398 MB / 327.9 MB, free: 15.87 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.637e-06/0.2153, allocations: 0.625 kB / 327.9 MB, free: 15.87 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.2153, allocations: 4 kB / 327.9 MB, free: 15.87 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003429/0.2156, allocations: 0.9375 kB / 327.9 MB, free: 15.87 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.01482/0.2305, allocations: 12.12 MB / 340 MB, free: 4.262 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.2305, allocations: 11.98 kB / 340 MB, free: 4.25 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008956/0.2395, allocations: 3.74 MB / 343.7 MB, free: 0.625 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003914/0.2434, allocations: 2.629 MB / 346.4 MB, free: 14.19 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003084/0.2437, allocations: 0.6826 MB / 347 MB, free: 13.51 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000833/0.2445, allocations: 0.8884 MB / 347.9 MB, free: 12.62 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0074/0.2519, allocations: 6.106 MB / 354 MB, free: 6.484 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001191/0.252, allocations: 7.672 kB / 354 MB, free: 6.48 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005456/0.2526, allocations: 378 kB / 354.4 MB, free: 6.113 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002448/0.2528, allocations: 391.1 kB / 354.8 MB, free: 5.73 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003756/0.2566, allocations: 2.361 MB / 357.2 MB, free: 3.359 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02752/0.2841, allocations: 27.09 MB / 384.3 MB, free: 8.953 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003222/0.2873, allocations: 2.472 MB / 386.7 MB, free: 6.551 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005219/0.2878, allocations: 493 kB / 387.2 MB, free: 6.078 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001473/0.288, allocations: 81.94 kB / 387.3 MB, free: 6 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.554e-05/0.288, allocations: 56.56 kB / 387.3 MB, free: 5.934 MB / 362.7 MB Notification: Performance of pre-optimization done (n=223): time 3.777e-06/0.288, allocations: 0 / 387.3 MB, free: 5.934 MB / 362.7 MB Notification: Performance of matching and sorting (n=223): time 0.002838/0.2909, allocations: 1.733 MB / 389.1 MB, free: 4.219 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/0.2909, allocations: 73.41 kB / 389.1 MB, free: 4.137 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001452/0.2924, allocations: 1.96 MB / 391.1 MB, free: 2.547 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.729e-05/0.2924, allocations: 61.7 kB / 391.2 MB, free: 2.48 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001494/0.2939, allocations: 3.763 MB / 394.9 MB, free: 14.81 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004126/0.2944, allocations: 0.8248 MB / 395.8 MB, free: 14.03 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007478/0.2951, allocations: 0.8745 MB / 396.6 MB, free: 13.23 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.298e-05/0.2952, allocations: 309.1 kB / 396.9 MB, free: 12.93 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006942/0.2959, allocations: 0.6441 MB / 397.6 MB, free: 12.28 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001557/0.2974, allocations: 2.619 MB / 400.2 MB, free: 8.75 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002971/0.3004, allocations: 3.911 MB / 404.1 MB, free: 4.195 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.799e-05/0.3004, allocations: 24 kB / 404.1 MB, free: 4.172 MB / 378.7 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.003315/0.3037, allocations: 2.98 MB / 407.1 MB, free: 1.672 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.968e-05/0.3038, allocations: 44.03 kB / 407.2 MB, free: 1.629 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.657e-05/0.3038, allocations: 72 kB / 407.2 MB, free: 1.559 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005812/0.3044, allocations: 342.2 kB / 407.6 MB, free: 1.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001812/0.3062, allocations: 1.119 MB / 408.7 MB, free: 200 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001963/0.3082, allocations: 2.513 MB / 411.2 MB, free: 13.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001418/0.3096, allocations: 0.5351 MB / 411.7 MB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002057/0.3098, allocations: 208 kB / 411.9 MB, free: 12.94 MB / 394.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.001281/0.3111, allocations: 453.8 kB / 412.4 MB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000323/0.3114, allocations: 231.8 kB / 412.6 MB, free: 12.34 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001756/0.3132, allocations: 1.548 MB / 414.1 MB, free: 10.81 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001146/0.3143, allocations: 0.8301 MB / 415 MB, free: 9.996 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.3143, allocations: 4 kB / 415 MB, free: 9.992 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.429e-05/0.3143, allocations: 11.95 kB / 415 MB, free: 9.98 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006092/0.3204, allocations: 5.563 MB / 420.6 MB, free: 5.27 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.864e-06/0.3204, allocations: 4 kB / 420.6 MB, free: 5.266 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008354/0.3213, allocations: 401 kB / 420.9 MB, free: 4.895 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004289/0.3217, allocations: 357 kB / 421.3 MB, free: 4.547 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004637/0.3222, allocations: 251.3 kB / 421.5 MB, free: 4.301 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.842e-05/0.3222, allocations: 43.98 kB / 421.6 MB, free: 4.258 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002019/0.3243, allocations: 2.338 MB / 423.9 MB, free: 1.887 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.3243, allocations: 4 kB / 423.9 MB, free: 1.883 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001826/0.3261, allocations: 1.74 MB / 425.7 MB, free: 168 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001636/0.3263, allocations: 40 kB / 425.7 MB, free: 128 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004401/0.3267, allocations: 55.98 kB / 425.8 MB, free: 72 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.2025/0.5292, allocations: 148.2 kB / 425.9 MB, free: 95.36 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002472/0.5295, allocations: 46.64 kB / 426 MB, free: 95.36 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.0009895/0.5305, allocations: 0.8372 MB / 426.8 MB, free: 95.27 MB / 394.8 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5305, allocations: 1.094 kB / 426.8 MB, free: 95.27 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.00347/0.5339, allocations: 1.987 MB / 428.8 MB, free: 95.27 MB / 394.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.000275/0.5342, allocations: 188 kB / 429 MB, free: 95.21 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.002361/0.5366, allocations: 2.282 MB / 431.2 MB, free: 94.98 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0001286/0.5367, allocations: 85.98 kB / 431.3 MB, free: 94.95 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001211/0.5379, allocations: 1.27 MB / 432.6 MB, free: 94.79 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002398/0.5403, allocations: 5.418 MB / 438 MB, free: 89.9 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03801/0.5783, allocations: 12.35 MB / 450.4 MB, free: 85.29 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001171/0.5795, allocations: 1.638 MB / 452 MB, free: 85.05 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 0.00111/0.5806, allocations: 447.8 kB / 452.4 MB, free: 84.95 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008294/0.5814, allocations: 0.5952 MB / 453 MB, free: 84.89 MB / 394.8 MB Notification: Performance of SimCode: time 9.82e-07/0.5814, allocations: 0 / 453 MB, free: 84.89 MB / 394.8 MB Notification: Performance of Templates: time 0.05006/0.6315, allocations: 41.8 MB / 494.8 MB, free: 59.65 MB / 394.8 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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.6900595808401704]