Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.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.0009467/0.0009467, allocations: 84.39 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.0011/0.0011, allocations: 166.9 kB / 25.61 MB, free: 8.91 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9047/0.9047, allocations: 158.6 MB / 187.5 MB, free: 2.797 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.QuasiStationary.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 251.5 MB, free: 7.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.697e-05/1.841e-05, allocations: 2.312 kB / 251.5 MB, free: 7.238 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.01657/0.01659, allocations: 15.62 MB / 267.1 MB, free: 7.531 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007787/0.02438, allocations: 4.213 MB / 271.3 MB, free: 3.301 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001327/0.02571, allocations: 135.4 kB / 271.4 MB, free: 3.168 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01297/0.03867, allocations: 7.766 MB / 279.2 MB, free: 11.37 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00659/0.04526, allocations: 1.436 MB / 280.6 MB, free: 9.922 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002932/0.04819, allocations: 1.325 MB / 282 MB, free: 8.594 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.009018/0.05721, allocations: 8.904 MB / 290.9 MB, free: 15.65 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02117/0.07839, allocations: 14.36 MB / 305.2 MB, free: 1.102 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01183/0.09022, allocations: 7.598 MB / 312.8 MB, free: 9.492 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008074/0.09829, allocations: 5.471 MB / 318.3 MB, free: 4.012 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003877/0.1022, allocations: 1.402 MB / 319.7 MB, free: 2.609 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006609/0.1088, allocations: 1.667 MB / 321.4 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004041/0.1128, allocations: 2.805 MB / 324.2 MB, free: 14.13 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006529/0.1194, allocations: 3.645 MB / 327.8 MB, free: 10.48 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01348/0.1328, allocations: 9.111 MB / 336.9 MB, free: 1.34 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.1328, allocations: 0 / 336.9 MB, free: 1.34 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1328, allocations: 0 / 336.9 MB, free: 1.34 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0005369/0.1334, allocations: 4 kB / 336.9 MB, free: 1.336 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: 2571 * Number of variables: 2571 Notification: Performance of Generate backend data structure: time 0.0228/0.1562, allocations: 11.55 MB / 348.5 MB, free: 5.691 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/0.1562, allocations: 11.98 kB / 348.5 MB, free: 5.68 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01617/0.1724, allocations: 5.213 MB / 353.7 MB, free: 468 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2533/0.4257, allocations: 3.937 MB / 357.7 MB, free: 61.62 MB / 330.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003552/0.426, allocations: 0.6985 MB / 358.4 MB, free: 61.6 MB / 330.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001723/0.4278, allocations: 0.9222 MB / 359.3 MB, free: 61.6 MB / 330.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01004/0.4378, allocations: 5.227 MB / 364.5 MB, free: 61.18 MB / 330.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001896/0.438, allocations: 11.47 kB / 364.5 MB, free: 61.18 MB / 330.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006024/0.4386, allocations: 396 kB / 364.9 MB, free: 61.18 MB / 330.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003344/0.4389, allocations: 457.8 kB / 365.3 MB, free: 61.16 MB / 330.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006663/0.4456, allocations: 3.159 MB / 368.5 MB, free: 60.9 MB / 330.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04366/0.4893, allocations: 36.53 MB / 405 MB, free: 36.86 MB / 330.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005059/0.4943, allocations: 3.803 MB / 408.8 MB, free: 33.61 MB / 330.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007826/0.4951, allocations: 0.6517 MB / 409.5 MB, free: 32.98 MB / 330.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005708/0.5008, allocations: 3.519 MB / 413 MB, free: 29.66 MB / 330.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.102e-05/0.5008, allocations: 55.39 kB / 413.1 MB, free: 29.6 MB / 330.8 MB Notification: Performance of pre-optimization done (n=188): time 3.437e-06/0.5008, allocations: 2.734 kB / 413.1 MB, free: 29.6 MB / 330.8 MB Notification: Performance of matching and sorting (n=188): time 0.003553/0.5044, allocations: 2.051 MB / 415.1 MB, free: 27.57 MB / 330.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.547e-05/0.5044, allocations: 81.34 kB / 415.2 MB, free: 27.48 MB / 330.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003331/0.5078, allocations: 3.303 MB / 418.5 MB, free: 24.73 MB / 330.8 MB Notification: Performance of collectPreVariables (initialization): time 7.583e-05/0.5078, allocations: 53.7 kB / 418.6 MB, free: 24.67 MB / 330.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001928/0.5098, allocations: 4.616 MB / 423.2 MB, free: 20.25 MB / 330.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004493/0.5102, allocations: 0.7462 MB / 423.9 MB, free: 19.55 MB / 330.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001193/0.5114, allocations: 1.233 MB / 425.1 MB, free: 18.4 MB / 330.8 MB Notification: Performance of setup shared object (initialization): time 3.385e-05/0.5114, allocations: 480.7 kB / 425.6 MB, free: 17.93 MB / 330.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007192/0.5122, allocations: 0.4978 MB / 426.1 MB, free: 17.42 MB / 330.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001836/0.514, allocations: 4.53 MB / 430.6 MB, free: 11.3 MB / 330.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003382/0.5174, allocations: 5.573 MB / 436.2 MB, free: 4.469 MB / 330.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-05/0.5174, allocations: 28 kB / 436.2 MB, free: 4.441 MB / 330.8 MB Notification: Performance of matching and sorting (n=649) (initialization): time 0.005342/0.5228, allocations: 4.063 MB / 440.3 MB, free: 0.9648 MB / 330.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.443e-05/0.5228, allocations: 44 kB / 440.4 MB, free: 0.9219 MB / 330.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.875e-05/0.5229, allocations: 92.19 kB / 440.4 MB, free: 0.832 MB / 330.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007216/0.5236, allocations: 386.2 kB / 440.8 MB, free: 468 kB / 330.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002316/0.5259, allocations: 1.106 MB / 441.9 MB, free: 15.45 MB / 346.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003178/0.5291, allocations: 3.368 MB / 445.3 MB, free: 12.06 MB / 346.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002627/0.5317, allocations: 0.632 MB / 445.9 MB, free: 11.42 MB / 346.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003344/0.5321, allocations: 255.9 kB / 446.2 MB, free: 11.17 MB / 346.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 418 * 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 (623): * Single equations (assignments): 621 * 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.001892/0.534, allocations: 0.5229 MB / 446.7 MB, free: 10.73 MB / 346.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000547/0.5345, allocations: 358.1 kB / 447 MB, free: 10.38 MB / 346.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002574/0.5371, allocations: 1.74 MB / 448.8 MB, free: 8.672 MB / 346.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001451/0.5385, allocations: 1.01 MB / 449.8 MB, free: 7.668 MB / 346.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.5386, allocations: 10.62 kB / 449.8 MB, free: 7.66 MB / 346.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.689e-05/0.5386, allocations: 11.95 kB / 449.8 MB, free: 7.648 MB / 346.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01273/0.5513, allocations: 7.201 MB / 457 MB, free: 1.297 MB / 346.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.877e-06/0.5513, allocations: 0 / 457 MB, free: 1.297 MB / 346.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009002/0.5522, allocations: 294.2 kB / 457.3 MB, free: 1.027 MB / 346.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007218/0.5529, allocations: 275.5 kB / 457.6 MB, free: 0.7617 MB / 346.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001117/0.553, allocations: 40 kB / 457.6 MB, free: 0.7227 MB / 346.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002939/0.556, allocations: 3.201 MB / 460.8 MB, free: 13.47 MB / 362.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.556, allocations: 0 / 460.8 MB, free: 13.47 MB / 362.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003026/0.559, allocations: 1.989 MB / 462.8 MB, free: 11.49 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007069/0.5597, allocations: 453.5 kB / 463.2 MB, free: 11.04 MB / 362.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001797/0.5599, allocations: 40.02 kB / 463.3 MB, free: 11 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004755/0.5604, allocations: 48 kB / 463.3 MB, free: 10.96 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000144/0.5605, allocations: 133.7 kB / 463.5 MB, free: 10.82 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.371e-05/0.5606, allocations: 43.98 kB / 463.5 MB, free: 10.78 MB / 362.8 MB Notification: Performance of sorting global known variables: time 0.001252/0.5618, allocations: 1.309 MB / 464.8 MB, free: 9.59 MB / 362.8 MB Notification: Performance of sort global known variables: time 7e-08/0.5618, allocations: 0 / 464.8 MB, free: 9.59 MB / 362.8 MB Notification: Performance of remove unused functions: time 0.004092/0.5659, allocations: 2.054 MB / 466.9 MB, free: 7.527 MB / 362.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (180): * Single equations (assignments): 178 * 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.0003388/0.5663, allocations: 202.6 kB / 467.1 MB, free: 7.34 MB / 362.8 MB Notification: Performance of simCode: created initialization part: time 0.003339/0.5696, allocations: 2.744 MB / 469.8 MB, free: 4.895 MB / 362.8 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.5696, allocations: 2.625 kB / 469.8 MB, free: 4.895 MB / 362.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0009811/0.5706, allocations: 0.9339 MB / 470.7 MB, free: 4 MB / 362.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001877/0.5725, allocations: 0.6951 MB / 471.4 MB, free: 3.324 MB / 362.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01627/0.5887, allocations: 11.89 MB / 483.3 MB, free: 7.398 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002004/0.5907, allocations: 2.355 MB / 485.7 MB, free: 5.012 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.00153/0.5923, allocations: 0.5216 MB / 486.2 MB, free: 4.488 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001054/0.5933, allocations: 0.7166 MB / 486.9 MB, free: 3.77 MB / 378.8 MB Notification: Performance of SimCode: time 2.735e-06/0.5933, allocations: 0 / 486.9 MB, free: 3.77 MB / 378.8 MB Notification: Performance of Templates: time 0.1784/0.7718, allocations: 39.59 MB / 0.5142 GB, free: 113.7 MB / 394.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/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.19916980760172]