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.0009614/0.0009614, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001195/0.002156, allocations: 445.7 kB / 10.37 MB, free: 328 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.0007126/0.0007126, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009107/0.001623, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 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.9111/0.9111, allocations: 158.6 MB / 171.1 MB, free: 2.59 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.168/1.079, allocations: 49.49 MB / 220.5 MB, free: 1.449 MB / 218.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.794e-06/1.794e-06, allocations: 0 / 221.8 MB, free: 172 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.062e-05/2.241e-05, allocations: 6.25 kB / 221.8 MB, free: 164 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.02018/0.02021, allocations: 15.78 MB / 237.6 MB, free: 304 kB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.009654/0.02986, allocations: 4.518 MB / 242.1 MB, free: 11.76 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003612/0.03347, allocations: 135.4 kB / 242.3 MB, free: 11.63 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008437/0.04191, allocations: 7.956 MB / 250.2 MB, free: 3.637 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005541/0.04745, allocations: 1.428 MB / 251.7 MB, free: 2.199 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002317/0.04977, allocations: 1.34 MB / 253 MB, free: 0.8555 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.008473/0.05824, allocations: 8.967 MB / 262 MB, free: 7.852 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02234/0.08058, allocations: 14.52 MB / 276.5 MB, free: 9.086 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01278/0.09336, allocations: 7.747 MB / 284.2 MB, free: 1.328 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.152/0.2454, allocations: 5.53 MB / 289.8 MB, free: 18.6 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006773/0.2521, allocations: 1.399 MB / 291.2 MB, free: 18.6 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007141/0.2593, allocations: 1.67 MB / 292.8 MB, free: 18.6 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006673/0.2659, allocations: 2.195 MB / 295 MB, free: 18.6 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01259/0.2785, allocations: 3.032 MB / 298.1 MB, free: 18.6 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01593/0.2945, allocations: 8.659 MB / 306.7 MB, free: 17.99 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.384e-05/0.2945, allocations: 0 / 306.7 MB, free: 17.99 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.2945, allocations: 3.938 kB / 306.7 MB, free: 17.99 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0005482/0.295, allocations: 0 / 306.7 MB, free: 17.99 MB / 282.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.02523/0.3203, allocations: 12.51 MB / 319.2 MB, free: 12.16 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.3203, allocations: 15.78 kB / 319.2 MB, free: 12.14 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0155/0.3358, allocations: 5.425 MB / 324.7 MB, free: 8.113 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007066/0.3429, allocations: 2.182 MB / 326.9 MB, free: 6.309 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003723/0.3432, allocations: 0.7038 MB / 327.6 MB, free: 5.613 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001999/0.3452, allocations: 0.919 MB / 328.5 MB, free: 4.699 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01998/0.3652, allocations: 6.449 MB / 334.9 MB, free: 14.23 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004286/0.3657, allocations: 11.78 kB / 334.9 MB, free: 14.22 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002252/0.3679, allocations: 391 kB / 335.3 MB, free: 13.84 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003395/0.3682, allocations: 464 kB / 335.8 MB, free: 13.39 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01218/0.3804, allocations: 2.718 MB / 338.5 MB, free: 10.62 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05212/0.4325, allocations: 28.16 MB / 366.6 MB, free: 15.2 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005004/0.4375, allocations: 3.269 MB / 369.9 MB, free: 12.03 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008675/0.4384, allocations: 0.5468 MB / 370.5 MB, free: 11.49 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005784/0.4442, allocations: 2.766 MB / 373.2 MB, free: 8.805 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.071e-05/0.4442, allocations: 56.5 kB / 373.3 MB, free: 8.738 MB / 330.7 MB Notification: Performance of pre-optimization done (n=188): time 4.288e-06/0.4442, allocations: 0 / 373.3 MB, free: 8.738 MB / 330.7 MB Notification: Performance of matching and sorting (n=188): time 0.003451/0.4477, allocations: 1.689 MB / 375 MB, free: 7.066 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.748e-05/0.4477, allocations: 73.41 kB / 375 MB, free: 6.984 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002849/0.4506, allocations: 2.271 MB / 377.3 MB, free: 5.148 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001411/0.4507, allocations: 53.7 kB / 377.4 MB, free: 5.09 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002223/0.453, allocations: 4.136 MB / 381.5 MB, free: 1.062 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007059/0.4537, allocations: 0.7172 MB / 382.2 MB, free: 392 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009813/0.4546, allocations: 0.9718 MB / 383.2 MB, free: 15.5 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.594e-05/0.4547, allocations: 305.1 kB / 383.5 MB, free: 15.2 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008575/0.4556, allocations: 0.6866 MB / 384.2 MB, free: 14.52 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002286/0.4579, allocations: 3.107 MB / 387.3 MB, free: 10.28 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00393/0.4618, allocations: 4.231 MB / 391.5 MB, free: 5.246 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.548e-05/0.4618, allocations: 28 kB / 391.5 MB, free: 5.219 MB / 346.7 MB Notification: Performance of matching and sorting (n=649) (initialization): time 0.004535/0.4664, allocations: 3.346 MB / 394.9 MB, free: 2.461 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.043e-05/0.4664, allocations: 48.03 kB / 394.9 MB, free: 2.414 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-05/0.4665, allocations: 95.98 kB / 395 MB, free: 2.32 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007045/0.4672, allocations: 368.6 kB / 395.4 MB, free: 1.965 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002961/0.4702, allocations: 1.231 MB / 396.6 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002341/0.4725, allocations: 2.536 MB / 399.2 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002966/0.4755, allocations: 0.6282 MB / 399.8 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006133/0.4761, allocations: 250.6 kB / 400 MB, free: 13.42 MB / 362.7 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.002786/0.4789, allocations: 496.9 kB / 400.5 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005757/0.4795, allocations: 227.8 kB / 400.7 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002273/0.4817, allocations: 1.444 MB / 402.2 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001408/0.4831, allocations: 0.7444 MB / 402.9 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/0.4832, allocations: 4 kB / 402.9 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.938e-05/0.4832, allocations: 11.95 kB / 402.9 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009394/0.4926, allocations: 4.179 MB / 407.1 MB, free: 7.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.687e-06/0.4926, allocations: 0 / 407.1 MB, free: 7.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001316/0.4939, allocations: 333 kB / 407.4 MB, free: 7.012 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009045/0.4948, allocations: 341.6 kB / 407.8 MB, free: 6.676 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005959/0.4954, allocations: 250.2 kB / 408 MB, free: 6.434 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.832e-05/0.4955, allocations: 36 kB / 408.1 MB, free: 6.398 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00266/0.4981, allocations: 2.327 MB / 410.4 MB, free: 4.031 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/0.4981, allocations: 6.844 kB / 410.4 MB, free: 4.027 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002485/0.5006, allocations: 1.575 MB / 412 MB, free: 2.473 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006319/0.5013, allocations: 32 kB / 412 MB, free: 2.441 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006149/0.5019, allocations: 51.98 kB / 412 MB, free: 2.391 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001963/0.5021, allocations: 133.7 kB / 412.2 MB, free: 2.262 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.036e-05/0.5021, allocations: 40.02 kB / 412.2 MB, free: 2.223 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00145/0.5036, allocations: 0.955 MB / 413.2 MB, free: 1.379 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.5036, allocations: 0 / 413.2 MB, free: 1.379 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00532/0.5089, allocations: 2.058 MB / 415.2 MB, free: 15.31 MB / 378.7 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.0004207/0.5093, allocations: 176.7 kB / 415.4 MB, free: 15.16 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003621/0.513, allocations: 2.326 MB / 417.7 MB, free: 13.13 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001669/0.5131, allocations: 87.81 kB / 417.8 MB, free: 13.04 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009357/0.5141, allocations: 0.7884 MB / 418.6 MB, free: 12.29 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002162/0.5162, allocations: 0.9199 MB / 419.5 MB, free: 11.39 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1848/0.7011, allocations: 12.88 MB / 432.4 MB, free: 105 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002966/0.704, allocations: 1.71 MB / 434.1 MB, free: 104.7 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002215/0.7062, allocations: 0.5204 MB / 434.6 MB, free: 104.7 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001566/0.7078, allocations: 0.6461 MB / 435.3 MB, free: 104.7 MB / 378.7 MB Notification: Performance of SimCode: time 1.983e-06/0.7078, allocations: 0 / 435.3 MB, free: 104.7 MB / 378.7 MB Notification: Performance of Templates: time 0.06917/0.777, allocations: 41.77 MB / 477.1 MB, free: 84.89 MB / 378.7 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 -ignoreHideResult -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.165268800221384]