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.00223/0.00223, allocations: 99.53 kB / 21.73 MB, free: 2.691 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.00259/0.00259, allocations: 166.7 kB / 25.03 MB, free: 8.414 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 1.31/1.31, allocations: 158.6 MB / 186.8 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 178] 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.683e-06/1.683e-06, allocations: 0 / 250.4 MB, free: 7.809 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.151e-05/3.319e-05, allocations: 2.312 kB / 250.4 MB, free: 7.805 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.02944/0.02947, allocations: 16.06 MB / 266.4 MB, free: 7.656 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.009656/0.03912, allocations: 4.228 MB / 270.7 MB, free: 3.41 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002536/0.04166, allocations: 135.4 kB / 270.8 MB, free: 3.277 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01891/0.06057, allocations: 7.95 MB / 278.8 MB, free: 11.29 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006693/0.06726, allocations: 1.448 MB / 280.2 MB, free: 9.832 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003768/0.07103, allocations: 1.337 MB / 281.5 MB, free: 8.492 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01215/0.08318, allocations: 8.9 MB / 290.4 MB, free: 15.56 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02628/0.1095, allocations: 14.36 MB / 304.8 MB, free: 1.004 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01432/0.1238, allocations: 7.587 MB / 312.4 MB, free: 9.406 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01083/0.1346, allocations: 5.431 MB / 317.8 MB, free: 3.965 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004082/0.1387, allocations: 1.402 MB / 319.2 MB, free: 2.562 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005566/0.1443, allocations: 1.664 MB / 320.9 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00393/0.1482, allocations: 2.809 MB / 323.7 MB, free: 14.08 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00764/0.1558, allocations: 3.642 MB / 327.3 MB, free: 10.43 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02451/0.1803, allocations: 18.87 MB / 346.2 MB, free: 7.504 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/0.1803, allocations: 4 kB / 346.2 MB, free: 7.5 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.069e-05/0.1804, allocations: 0 / 346.2 MB, free: 7.5 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0004749/0.1808, allocations: 0 / 346.2 MB, free: 7.5 MB / 330.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.258/0.4388, allocations: 12.59 MB / 358.8 MB, free: 90.17 MB / 330.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.4388, allocations: 11.64 kB / 358.8 MB, free: 90.17 MB / 330.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03045/0.4693, allocations: 7.156 MB / 366 MB, free: 85.14 MB / 330.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01175/0.481, allocations: 4.421 MB / 370.4 MB, free: 81.08 MB / 330.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006367/0.4817, allocations: 0.706 MB / 371.1 MB, free: 80.38 MB / 330.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003554/0.4852, allocations: 0.9238 MB / 372 MB, free: 79.46 MB / 330.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02943/0.5147, allocations: 12.38 MB / 384.4 MB, free: 67.04 MB / 330.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004267/0.5151, allocations: 7.953 kB / 384.4 MB, free: 67.03 MB / 330.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002954/0.518, allocations: 395.1 kB / 384.8 MB, free: 66.65 MB / 330.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004333/0.5185, allocations: 467.9 kB / 385.3 MB, free: 66.19 MB / 330.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02433/0.5428, allocations: 11.43 MB / 396.7 MB, free: 54.73 MB / 330.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08963/0.6324, allocations: 59.85 MB / 456.5 MB, free: 8.902 MB / 346.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01327/0.6457, allocations: 5.018 MB / 461.6 MB, free: 4.363 MB / 346.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002966/0.6487, allocations: 1.484 MB / 463 MB, free: 2.875 MB / 346.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01372/0.6624, allocations: 5.039 MB / 468.1 MB, free: 13.91 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.287e-05/0.6625, allocations: 55.39 kB / 468.1 MB, free: 13.84 MB / 362.8 MB Notification: Performance of pre-optimization done (n=188): time 4.598e-06/0.6625, allocations: 0 / 468.1 MB, free: 13.84 MB / 362.8 MB Notification: Performance of matching and sorting (n=188): time 0.009783/0.6722, allocations: 3.815 MB / 471.9 MB, free: 10.03 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.473e-05/0.6723, allocations: 73.41 kB / 472 MB, free: 9.941 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01049/0.6828, allocations: 4.955 MB / 477 MB, free: 4.949 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002805/0.6831, allocations: 53.7 kB / 477 MB, free: 4.891 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005098/0.6882, allocations: 4.806 MB / 481.8 MB, free: 68 kB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001235/0.6894, allocations: 0.768 MB / 482.6 MB, free: 15.29 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002862/0.6923, allocations: 1.389 MB / 484 MB, free: 13.89 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 0.0002581/0.6925, allocations: 480.5 kB / 484.5 MB, free: 13.42 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00326/0.6958, allocations: 1.727 MB / 486.2 MB, free: 11.68 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007752/0.7036, allocations: 5.876 MB / 492.1 MB, free: 4.031 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1406/0.8441, allocations: 8.167 MB / 0.4885 GB, free: 104.4 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001223/0.8443, allocations: 23.81 kB / 0.4885 GB, free: 104.4 MB / 378.8 MB Notification: Performance of matching and sorting (n=649) (initialization): time 0.008627/0.8529, allocations: 6.675 MB / 0.495 GB, free: 103.6 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.488e-05/0.8529, allocations: 45.34 kB / 0.4951 GB, free: 103.6 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-05/0.853, allocations: 90.88 kB / 0.4952 GB, free: 103.6 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001192/0.8542, allocations: 0.511 MB / 0.4957 GB, free: 103.6 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003102/0.8573, allocations: 1.178 MB / 0.4968 GB, free: 103.5 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004153/0.8615, allocations: 4.8 MB / 0.5015 GB, free: 101.5 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003294/0.8648, allocations: 0.7299 MB / 0.5022 GB, free: 101.5 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003172/0.8651, allocations: 285.3 kB / 0.5025 GB, free: 101.5 MB / 378.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.003837/0.8689, allocations: 3.281 MB / 0.5057 GB, free: 101.2 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000621/0.8695, allocations: 362.3 kB / 0.506 GB, free: 101.2 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004192/0.8737, allocations: 2.953 MB / 0.5089 GB, free: 101 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003031/0.8768, allocations: 2.207 MB / 0.5111 GB, free: 100.7 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/0.8768, allocations: 7.438 kB / 0.5111 GB, free: 100.7 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-05/0.8768, allocations: 11.34 kB / 0.5111 GB, free: 100.7 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01713/0.8939, allocations: 10.63 MB / 0.5215 GB, free: 95.28 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.538e-06/0.8939, allocations: 0 / 0.5215 GB, free: 95.28 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001414/0.8953, allocations: 363.4 kB / 0.5218 GB, free: 94.93 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001105/0.8964, allocations: 395.4 kB / 0.5222 GB, free: 94.54 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001364/0.8966, allocations: 43.98 kB / 0.5223 GB, free: 94.49 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003959/0.9005, allocations: 4.634 MB / 0.5268 GB, free: 89.77 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.9005, allocations: 0 / 0.5268 GB, free: 89.77 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005127/0.9057, allocations: 4.192 MB / 0.5309 GB, free: 85.53 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001347/0.907, allocations: 0.4904 MB / 0.5314 GB, free: 85.07 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004871/0.9075, allocations: 32 kB / 0.5314 GB, free: 85.04 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001465/0.909, allocations: 135.8 kB / 0.5315 GB, free: 84.91 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002402/0.9092, allocations: 137.7 kB / 0.5316 GB, free: 84.77 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001113/0.9093, allocations: 55.98 kB / 0.5317 GB, free: 84.71 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.003164/0.9125, allocations: 2.455 MB / 0.5341 GB, free: 82.26 MB / 378.8 MB Notification: Performance of sort global known variables: time 8e-08/0.9125, allocations: 0 / 0.5341 GB, free: 82.26 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.005115/0.9176, allocations: 2.06 MB / 0.5361 GB, free: 80.46 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.0003773/0.918, allocations: 187.5 kB / 0.5363 GB, free: 80.28 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.006027/0.924, allocations: 4.694 MB / 0.5409 GB, free: 75.57 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/0.924, allocations: 0 / 0.5409 GB, free: 75.57 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001713/0.9257, allocations: 1.506 MB / 0.5423 GB, free: 74.05 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003376/0.9291, allocations: 0.7028 MB / 0.543 GB, free: 73.39 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02222/0.9513, allocations: 13.16 MB / 0.5559 GB, free: 60.16 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005925/0.9572, allocations: 4.781 MB / 0.5605 GB, free: 55.35 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.003503/0.9607, allocations: 1.582 MB / 0.5621 GB, free: 53.76 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005851/0.9613, allocations: 240.5 kB / 0.5623 GB, free: 53.53 MB / 378.8 MB Notification: Performance of SimCode: time 1.654e-06/0.9613, allocations: 0 / 0.5623 GB, free: 53.53 MB / 378.8 MB Notification: Performance of Templates: time 0.06119/1.023, allocations: 35.77 MB / 0.5972 GB, free: 17.81 MB / 378.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.614397304947488]