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.001108/0.001108, allocations: 71.77 kB / 22.45 MB, free: 2.094 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.00122/0.00122, allocations: 164 kB / 25.75 MB, free: 8.945 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.9717/0.9717, allocations: 158.6 MB / 187.5 MB, free: 2.93 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.994e-06/1.994e-06, allocations: 0 / 251.1 MB, free: 7.797 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.934e-05/4.134e-05, allocations: 2.312 kB / 251.1 MB, free: 7.793 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.01446/0.0145, allocations: 16.12 MB / 267.2 MB, free: 7.594 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.008012/0.02251, allocations: 4.217 MB / 271.5 MB, free: 3.359 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001214/0.02373, allocations: 135.4 kB / 271.6 MB, free: 3.227 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006919/0.03065, allocations: 7.958 MB / 279.5 MB, free: 11.23 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0029/0.03355, allocations: 1.444 MB / 281 MB, free: 9.781 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00172/0.03527, allocations: 1.336 MB / 282.3 MB, free: 8.441 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005846/0.04111, allocations: 8.9 MB / 291.2 MB, free: 15.5 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01615/0.05726, allocations: 14.37 MB / 305.6 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0078/0.06506, allocations: 7.587 MB / 313.2 MB, free: 9.348 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006154/0.07122, allocations: 5.424 MB / 318.6 MB, free: 3.914 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001583/0.0728, allocations: 1.402 MB / 320 MB, free: 2.512 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002257/0.07506, allocations: 1.675 MB / 321.7 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001991/0.07705, allocations: 2.805 MB / 324.5 MB, free: 14.02 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003713/0.08076, allocations: 3.642 MB / 328.1 MB, free: 10.38 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009343/0.09011, allocations: 9.115 MB / 337.2 MB, free: 1.234 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.09011, allocations: 8 kB / 337.2 MB, free: 1.227 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.09011, allocations: 4 kB / 337.2 MB, free: 1.223 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001247/0.09024, allocations: 0 / 337.2 MB, free: 1.223 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.01917/0.1094, allocations: 11.78 MB / 349 MB, free: 5.355 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.1094, allocations: 11.98 kB / 349 MB, free: 5.344 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2456/0.355, allocations: 7.142 MB / 356.2 MB, free: 68.46 MB / 330.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006649/0.3617, allocations: 4.43 MB / 360.6 MB, free: 68.24 MB / 330.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003918/0.3621, allocations: 0.7014 MB / 361.3 MB, free: 68.22 MB / 330.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002439/0.3645, allocations: 0.9169 MB / 362.2 MB, free: 68.22 MB / 330.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01631/0.3808, allocations: 5.958 MB / 368.2 MB, free: 67.8 MB / 330.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002254/0.3811, allocations: 7.297 kB / 368.2 MB, free: 67.79 MB / 330.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001036/0.3821, allocations: 391.4 kB / 368.6 MB, free: 67.79 MB / 330.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000327/0.3824, allocations: 459.5 kB / 369 MB, free: 67.77 MB / 330.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01372/0.3961, allocations: 4.011 MB / 373 MB, free: 67.62 MB / 330.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04711/0.4433, allocations: 37.01 MB / 410 MB, free: 33.69 MB / 330.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005179/0.4484, allocations: 4.621 MB / 414.7 MB, free: 29.57 MB / 330.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000991/0.4494, allocations: 0.7611 MB / 415.4 MB, free: 28.81 MB / 330.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005556/0.455, allocations: 3.757 MB / 419.2 MB, free: 25.21 MB / 330.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.455, allocations: 55.39 kB / 419.2 MB, free: 25.14 MB / 330.8 MB Notification: Performance of pre-optimization done (n=188): time 3.827e-06/0.455, allocations: 0 / 419.2 MB, free: 25.14 MB / 330.8 MB Notification: Performance of matching and sorting (n=188): time 0.003895/0.4589, allocations: 2.284 MB / 421.5 MB, free: 22.87 MB / 330.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.855e-05/0.4589, allocations: 69.41 kB / 421.6 MB, free: 22.79 MB / 330.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003396/0.4623, allocations: 3.32 MB / 424.9 MB, free: 19.56 MB / 330.8 MB Notification: Performance of collectPreVariables (initialization): time 9.026e-05/0.4624, allocations: 57.7 kB / 425 MB, free: 19.5 MB / 330.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001654/0.4641, allocations: 4.603 MB / 429.6 MB, free: 14.97 MB / 330.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004122/0.4645, allocations: 0.7374 MB / 430.3 MB, free: 14.24 MB / 330.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009098/0.4654, allocations: 1.218 MB / 431.5 MB, free: 13.01 MB / 330.8 MB Notification: Performance of setup shared object (initialization): time 4.939e-05/0.4655, allocations: 476.8 kB / 432 MB, free: 12.54 MB / 330.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001066/0.4665, allocations: 0.6501 MB / 432.6 MB, free: 11.89 MB / 330.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002288/0.4688, allocations: 4.652 MB / 437.3 MB, free: 5.504 MB / 330.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004133/0.4729, allocations: 5.78 MB / 443.1 MB, free: 14.34 MB / 346.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.069e-05/0.473, allocations: 26.62 kB / 443.1 MB, free: 14.32 MB / 346.8 MB Notification: Performance of matching and sorting (n=649) (initialization): time 0.006908/0.4799, allocations: 4.429 MB / 447.5 MB, free: 10.47 MB / 346.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.003e-05/0.48, allocations: 47.98 kB / 447.6 MB, free: 10.43 MB / 346.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000129/0.4801, allocations: 96 kB / 447.7 MB, free: 10.33 MB / 346.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009378/0.481, allocations: 411.5 kB / 448.1 MB, free: 9.926 MB / 346.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002135/0.4832, allocations: 1.177 MB / 449.2 MB, free: 8.844 MB / 346.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003792/0.487, allocations: 3.483 MB / 452.7 MB, free: 5.297 MB / 346.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002958/0.4899, allocations: 0.7368 MB / 453.5 MB, free: 4.559 MB / 346.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004136/0.4903, allocations: 284 kB / 453.7 MB, free: 4.281 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.002228/0.4926, allocations: 0.5238 MB / 454.3 MB, free: 3.84 MB / 346.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007191/0.4933, allocations: 362 kB / 454.6 MB, free: 3.484 MB / 346.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002833/0.4961, allocations: 1.892 MB / 456.5 MB, free: 1.586 MB / 346.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001635/0.4977, allocations: 1.177 MB / 457.7 MB, free: 416 kB / 346.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.4978, allocations: 4 kB / 457.7 MB, free: 412 kB / 346.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.317e-05/0.4978, allocations: 7.969 kB / 457.7 MB, free: 404 kB / 346.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0114/0.5092, allocations: 7.415 MB / 465.1 MB, free: 8.973 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.5092, allocations: 2.625 kB / 465.1 MB, free: 8.973 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007923/0.51, allocations: 361.7 kB / 465.5 MB, free: 8.637 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009316/0.5109, allocations: 279.8 kB / 465.7 MB, free: 8.359 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-05/0.511, allocations: 43.98 kB / 465.8 MB, free: 8.316 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002663/0.5137, allocations: 3.318 MB / 469.1 MB, free: 4.895 MB / 362.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.5137, allocations: 0 / 469.1 MB, free: 4.895 MB / 362.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003216/0.5169, allocations: 2.235 MB / 471.3 MB, free: 2.633 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001078/0.518, allocations: 0.4935 MB / 471.8 MB, free: 2.137 MB / 362.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002242/0.5182, allocations: 32 kB / 471.9 MB, free: 2.105 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006473/0.5188, allocations: 131.8 kB / 472 MB, free: 1.977 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002094/0.519, allocations: 133.7 kB / 472.1 MB, free: 1.848 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.495e-05/0.5191, allocations: 56 kB / 472.2 MB, free: 1.793 MB / 362.8 MB Notification: Performance of sorting global known variables: time 0.002202/0.5213, allocations: 1.397 MB / 473.6 MB, free: 404 kB / 362.8 MB Notification: Performance of sort global known variables: time 8e-08/0.5213, allocations: 4.031 kB / 473.6 MB, free: 400 kB / 362.8 MB Notification: Performance of remove unused functions: time 0.004636/0.526, allocations: 2.062 MB / 475.6 MB, free: 14.32 MB / 378.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.0004333/0.5264, allocations: 188.2 kB / 475.8 MB, free: 14.14 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.004544/0.5309, allocations: 2.967 MB / 478.8 MB, free: 11.42 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 5.371e-06/0.5309, allocations: 1.875 kB / 478.8 MB, free: 11.42 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001241/0.5322, allocations: 1.011 MB / 479.8 MB, free: 10.43 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002445/0.5346, allocations: 0.706 MB / 480.5 MB, free: 9.738 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01915/0.5538, allocations: 11.94 MB / 492.5 MB, free: 13.73 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002908/0.5567, allocations: 2.351 MB / 494.8 MB, free: 11.35 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 0.00326/0.5599, allocations: 1.59 MB / 496.4 MB, free: 9.758 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005829/0.5605, allocations: 240.5 kB / 496.6 MB, free: 9.523 MB / 394.8 MB Notification: Performance of SimCode: time 3.066e-06/0.5605, allocations: 0 / 496.6 MB, free: 9.523 MB / 394.8 MB Notification: Performance of Templates: time 0.1726/0.7331, allocations: 35.81 MB / 0.52 GB, free: 108.9 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.25754081690684]