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.00103/0.00103, allocations: 75.75 kB / 21.97 MB, free: 2.605 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.0009459/0.0009459, allocations: 167.6 kB / 25.32 MB, free: 9.473 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.9688/0.9688, allocations: 158.6 MB / 187.2 MB, free: 2.566 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 MB, free: 3.586 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.093e-05/2.292e-05, allocations: 2.312 kB / 251.1 MB, free: 3.582 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.01249/0.01251, allocations: 16.21 MB / 267.3 MB, free: 3.293 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.008409/0.02092, allocations: 4.229 MB / 271.5 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00193/0.02285, allocations: 135.4 kB / 271.6 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007382/0.03023, allocations: 7.997 MB / 279.6 MB, free: 6.883 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003526/0.03376, allocations: 1.436 MB / 281.1 MB, free: 5.438 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002047/0.0358, allocations: 1.347 MB / 282.4 MB, free: 4.09 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006628/0.04243, allocations: 8.897 MB / 291.3 MB, free: 11.16 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1607/0.2032, allocations: 14.36 MB / 305.7 MB, free: 20.27 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009511/0.2127, allocations: 7.581 MB / 313.2 MB, free: 20.27 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006524/0.2192, allocations: 5.457 MB / 318.7 MB, free: 20.27 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002346/0.2216, allocations: 1.405 MB / 320.1 MB, free: 20.27 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002138/0.2237, allocations: 1.669 MB / 321.8 MB, free: 20.27 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001388/0.2251, allocations: 2.804 MB / 324.6 MB, free: 19.01 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003519/0.2286, allocations: 3.652 MB / 328.2 MB, free: 17.6 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006188/0.2348, allocations: 9.125 MB / 337.4 MB, free: 13.5 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2348, allocations: 0 / 337.4 MB, free: 13.5 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.2348, allocations: 0 / 337.4 MB, free: 13.5 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.000153/0.2349, allocations: 0 / 337.4 MB, free: 13.5 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.01269/0.2476, allocations: 11.78 MB / 349.1 MB, free: 2.047 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.2477, allocations: 11.98 kB / 349.1 MB, free: 2.035 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01546/0.2631, allocations: 7.151 MB / 356.3 MB, free: 10.94 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006848/0.27, allocations: 4.422 MB / 360.7 MB, free: 6.723 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003498/0.2703, allocations: 0.7051 MB / 361.4 MB, free: 6.023 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001151/0.2715, allocations: 0.9209 MB / 362.3 MB, free: 5.109 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01125/0.2828, allocations: 5.95 MB / 368.3 MB, free: 15.11 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001251/0.2829, allocations: 11.94 kB / 368.3 MB, free: 15.1 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005927/0.2835, allocations: 397.3 kB / 368.7 MB, free: 14.72 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003029/0.2838, allocations: 456 kB / 369.1 MB, free: 14.27 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00835/0.2921, allocations: 4.013 MB / 373.2 MB, free: 10.24 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0403/0.3324, allocations: 37.01 MB / 410.2 MB, free: 4.961 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005831/0.3383, allocations: 4.621 MB / 414.8 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009965/0.3393, allocations: 0.7524 MB / 415.5 MB, free: 88 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005506/0.3448, allocations: 3.77 MB / 419.3 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.847e-05/0.3448, allocations: 55.05 kB / 419.4 MB, free: 12.29 MB / 362.7 MB Notification: Performance of pre-optimization done (n=188): time 3.326e-06/0.3448, allocations: 4 kB / 419.4 MB, free: 12.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=188): time 0.003823/0.3486, allocations: 2.283 MB / 421.6 MB, free: 10.02 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.005e-05/0.3487, allocations: 73.41 kB / 421.7 MB, free: 9.934 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003299/0.352, allocations: 3.307 MB / 425 MB, free: 6.59 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.968e-05/0.352, allocations: 57.7 kB / 425.1 MB, free: 6.527 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002145/0.3542, allocations: 4.601 MB / 429.7 MB, free: 1.918 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000431/0.3546, allocations: 0.7441 MB / 430.4 MB, free: 1.184 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001077/0.3557, allocations: 1.225 MB / 431.6 MB, free: 15.95 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.257e-05/0.3558, allocations: 476.8 kB / 432.1 MB, free: 15.48 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001052/0.3568, allocations: 0.6461 MB / 432.8 MB, free: 14.83 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002956/0.3598, allocations: 4.652 MB / 437.4 MB, free: 8.445 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004553/0.3644, allocations: 5.777 MB / 443.2 MB, free: 1.281 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.549e-05/0.3644, allocations: 28 kB / 443.2 MB, free: 1.254 MB / 378.7 MB Notification: Performance of matching and sorting (n=649) (initialization): time 0.2719/0.6362, allocations: 4.421 MB / 447.6 MB, free: 89.77 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.513e-05/0.6363, allocations: 44.16 kB / 447.7 MB, free: 89.77 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.4e-05/0.6364, allocations: 91.31 kB / 447.8 MB, free: 89.77 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008819/0.6373, allocations: 400.5 kB / 448.2 MB, free: 89.75 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002196/0.6395, allocations: 1.178 MB / 449.3 MB, free: 89.75 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00244/0.6419, allocations: 3.498 MB / 452.8 MB, free: 87.78 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002395/0.6443, allocations: 0.7259 MB / 453.6 MB, free: 87.77 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003036/0.6446, allocations: 287.2 kB / 453.8 MB, free: 87.77 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.002082/0.6467, allocations: 0.5233 MB / 454.4 MB, free: 87.61 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004362/0.6471, allocations: 363.3 kB / 454.7 MB, free: 87.61 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00248/0.6496, allocations: 1.903 MB / 456.6 MB, free: 87.42 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001598/0.6512, allocations: 1.173 MB / 457.8 MB, free: 87.32 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.6512, allocations: 3.812 kB / 457.8 MB, free: 87.32 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.209e-05/0.6512, allocations: 10.69 kB / 457.8 MB, free: 87.32 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009012/0.6602, allocations: 7.41 MB / 465.2 MB, free: 86.73 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.6602, allocations: 0 / 465.2 MB, free: 86.73 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007095/0.6609, allocations: 362 kB / 465.6 MB, free: 86.73 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005371/0.6615, allocations: 285.5 kB / 465.9 MB, free: 86.7 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.336e-05/0.6616, allocations: 44.86 kB / 465.9 MB, free: 86.7 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002067/0.6636, allocations: 3.304 MB / 469.2 MB, free: 84.68 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.6636, allocations: 4 kB / 469.2 MB, free: 84.67 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002507/0.6661, allocations: 2.237 MB / 471.4 MB, free: 84.17 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006113/0.6667, allocations: 0.4943 MB / 471.9 MB, free: 84 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001581/0.6669, allocations: 31.94 kB / 472 MB, free: 84 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005659/0.6675, allocations: 132.6 kB / 472.1 MB, free: 84 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001479/0.6676, allocations: 141.6 kB / 472.2 MB, free: 83.99 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.759e-05/0.6677, allocations: 51.03 kB / 472.3 MB, free: 83.99 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.001309/0.669, allocations: 1.399 MB / 473.7 MB, free: 83.8 MB / 378.8 MB Notification: Performance of sort global known variables: time 8e-08/0.669, allocations: 0 / 473.7 MB, free: 83.8 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.003838/0.6728, allocations: 2.057 MB / 475.7 MB, free: 83.48 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.0003047/0.6731, allocations: 191.2 kB / 475.9 MB, free: 83.39 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.003122/0.6763, allocations: 2.968 MB / 478.9 MB, free: 83.04 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.6763, allocations: 0 / 478.9 MB, free: 83.04 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0009004/0.6772, allocations: 1.007 MB / 479.9 MB, free: 82.81 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001558/0.6787, allocations: 0.7075 MB / 480.6 MB, free: 82.75 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01188/0.6906, allocations: 11.95 MB / 492.6 MB, free: 77.48 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001392/0.692, allocations: 2.352 MB / 494.9 MB, free: 76.38 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.002168/0.6942, allocations: 1.588 MB / 496.5 MB, free: 75.44 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000403/0.6946, allocations: 237.7 kB / 496.7 MB, free: 75.23 MB / 378.8 MB Notification: Performance of SimCode: time 2.385e-06/0.6946, allocations: 0 / 496.7 MB, free: 75.23 MB / 378.8 MB Notification: Performance of Templates: time 0.04435/0.7389, allocations: 35.8 MB / 0.5201 GB, free: 42.04 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","",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.294765728060156]