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.0009013/0.0009013, allocations: 85.95 kB / 22.99 MB, free: 1.5 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.0009686/0.0009686, allocations: 176.8 kB / 26.4 MB, free: 7.973 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.9156/0.9156, allocations: 158.6 MB / 188.3 MB, free: 2.82 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.573e-06/1.573e-06, allocations: 3.938 kB / 252.3 MB, free: 7.238 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.523e-05/1.68e-05, allocations: 2.312 kB / 252.3 MB, free: 7.234 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.0121/0.01212, allocations: 15.62 MB / 267.9 MB, free: 7.523 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.008359/0.02047, allocations: 4.213 MB / 272.1 MB, free: 3.293 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002046/0.02252, allocations: 139.3 kB / 272.2 MB, free: 3.156 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007326/0.02985, allocations: 7.755 MB / 280 MB, free: 11.37 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003377/0.03322, allocations: 1.444 MB / 281.4 MB, free: 9.914 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002054/0.03528, allocations: 1.321 MB / 282.8 MB, free: 8.59 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006506/0.04178, allocations: 8.905 MB / 291.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01969/0.06147, allocations: 14.37 MB / 306 MB, free: 1.09 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00847/0.06994, allocations: 7.594 MB / 313.6 MB, free: 9.484 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00646/0.0764, allocations: 5.478 MB / 319.1 MB, free: 3.996 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002144/0.07855, allocations: 1.398 MB / 320.5 MB, free: 2.598 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002279/0.08083, allocations: 1.667 MB / 322.2 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002137/0.08296, allocations: 2.805 MB / 325 MB, free: 14.12 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003659/0.08662, allocations: 3.645 MB / 328.6 MB, free: 10.46 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008144/0.09477, allocations: 9.107 MB / 337.7 MB, free: 1.332 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.09477, allocations: 0 / 337.7 MB, free: 1.332 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.09477, allocations: 0 / 337.7 MB, free: 1.332 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001268/0.0949, allocations: 0 / 337.7 MB, free: 1.332 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.01451/0.1094, allocations: 11.55 MB / 349.3 MB, free: 5.688 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.1094, allocations: 15.98 kB / 349.3 MB, free: 5.672 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01401/0.1235, allocations: 5.209 MB / 354.5 MB, free: 464 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2187/0.3422, allocations: 3.936 MB / 358.4 MB, free: 69.1 MB / 330.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003586/0.3426, allocations: 0.705 MB / 359.1 MB, free: 69.08 MB / 330.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001668/0.3442, allocations: 0.9212 MB / 360.1 MB, free: 69.08 MB / 330.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007877/0.3521, allocations: 5.233 MB / 365.3 MB, free: 68.66 MB / 330.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001358/0.3522, allocations: 13 kB / 365.3 MB, free: 68.66 MB / 330.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005774/0.3528, allocations: 387.9 kB / 365.7 MB, free: 68.66 MB / 330.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002812/0.3531, allocations: 456.7 kB / 366.1 MB, free: 68.64 MB / 330.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004642/0.3577, allocations: 3.156 MB / 369.3 MB, free: 68.38 MB / 330.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02994/0.3877, allocations: 36.52 MB / 405.8 MB, free: 39.14 MB / 330.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003983/0.3917, allocations: 3.806 MB / 409.6 MB, free: 35.89 MB / 330.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005895/0.3922, allocations: 0.6572 MB / 410.3 MB, free: 35.25 MB / 330.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00403/0.3963, allocations: 3.503 MB / 413.8 MB, free: 31.95 MB / 330.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.3963, allocations: 55.39 kB / 413.8 MB, free: 31.89 MB / 330.8 MB Notification: Performance of pre-optimization done (n=188): time 2.584e-06/0.3963, allocations: 0 / 413.8 MB, free: 31.89 MB / 330.8 MB Notification: Performance of matching and sorting (n=188): time 0.002688/0.399, allocations: 2.051 MB / 415.9 MB, free: 29.86 MB / 330.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.04e-05/0.399, allocations: 77.41 kB / 416 MB, free: 29.77 MB / 330.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002212/0.4012, allocations: 3.298 MB / 419.3 MB, free: 27.02 MB / 330.8 MB Notification: Performance of collectPreVariables (initialization): time 7.026e-05/0.4013, allocations: 53.7 kB / 419.3 MB, free: 26.96 MB / 330.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001337/0.4026, allocations: 4.617 MB / 423.9 MB, free: 22.55 MB / 330.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002909/0.4029, allocations: 0.7418 MB / 424.7 MB, free: 21.85 MB / 330.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008844/0.4038, allocations: 1.236 MB / 425.9 MB, free: 20.7 MB / 330.8 MB Notification: Performance of setup shared object (initialization): time 4.077e-05/0.4038, allocations: 480.8 kB / 426.4 MB, free: 20.23 MB / 330.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004982/0.4043, allocations: 0.5016 MB / 426.9 MB, free: 19.72 MB / 330.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001525/0.4059, allocations: 4.527 MB / 431.4 MB, free: 13.59 MB / 330.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002747/0.4086, allocations: 5.576 MB / 437 MB, free: 6.766 MB / 330.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.353e-05/0.4086, allocations: 24 kB / 437 MB, free: 6.742 MB / 330.8 MB Notification: Performance of matching and sorting (n=649) (initialization): time 0.003661/0.4123, allocations: 4.069 MB / 441.1 MB, free: 3.262 MB / 330.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.966e-05/0.4123, allocations: 44 kB / 441.1 MB, free: 3.219 MB / 330.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.584e-05/0.4124, allocations: 92 kB / 441.2 MB, free: 3.129 MB / 330.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005959/0.413, allocations: 392.1 kB / 441.6 MB, free: 2.75 MB / 330.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001635/0.4146, allocations: 1.102 MB / 442.7 MB, free: 1.742 MB / 330.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002154/0.4168, allocations: 3.371 MB / 446.1 MB, free: 14.35 MB / 346.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001714/0.4185, allocations: 0.632 MB / 446.7 MB, free: 13.71 MB / 346.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002437/0.4187, allocations: 248 kB / 446.9 MB, free: 13.47 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.001427/0.4202, allocations: 0.5242 MB / 447.5 MB, free: 13.03 MB / 346.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003715/0.4205, allocations: 358.1 kB / 447.8 MB, free: 12.68 MB / 346.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002027/0.4226, allocations: 1.735 MB / 449.5 MB, free: 10.98 MB / 346.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001118/0.4237, allocations: 1.013 MB / 450.6 MB, free: 9.969 MB / 346.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.4237, allocations: 4 kB / 450.6 MB, free: 9.965 MB / 346.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.352e-05/0.4237, allocations: 11.95 kB / 450.6 MB, free: 9.953 MB / 346.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008132/0.4318, allocations: 7.201 MB / 457.8 MB, free: 3.605 MB / 346.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.4318, allocations: 4 kB / 457.8 MB, free: 3.602 MB / 346.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006495/0.4325, allocations: 293.1 kB / 458.1 MB, free: 3.332 MB / 346.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005175/0.433, allocations: 268.7 kB / 458.3 MB, free: 3.07 MB / 346.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.332e-05/0.4331, allocations: 43.98 kB / 458.4 MB, free: 3.027 MB / 346.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00219/0.4353, allocations: 3.201 MB / 461.6 MB, free: 15.77 MB / 362.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.4353, allocations: 0 / 461.6 MB, free: 15.77 MB / 362.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00212/0.4374, allocations: 1.991 MB / 463.6 MB, free: 13.79 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005068/0.4379, allocations: 449.5 kB / 464 MB, free: 13.35 MB / 362.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001839/0.4381, allocations: 36 kB / 464 MB, free: 13.32 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004769/0.4386, allocations: 55.98 kB / 464.1 MB, free: 13.26 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001661/0.4387, allocations: 133.7 kB / 464.2 MB, free: 13.13 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.692e-05/0.4388, allocations: 43.98 kB / 464.3 MB, free: 13.09 MB / 362.8 MB Notification: Performance of sorting global known variables: time 0.001105/0.4399, allocations: 1.3 MB / 465.6 MB, free: 11.9 MB / 362.8 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4399, allocations: 32 / 465.6 MB, free: 11.9 MB / 362.8 MB Notification: Performance of remove unused functions: time 0.004023/0.4439, allocations: 2.07 MB / 467.6 MB, free: 9.824 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.000285/0.4442, allocations: 192.1 kB / 467.8 MB, free: 9.648 MB / 362.8 MB Notification: Performance of simCode: created initialization part: time 0.002724/0.4469, allocations: 2.741 MB / 470.6 MB, free: 7.207 MB / 362.8 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.4469, allocations: 2.625 kB / 470.6 MB, free: 7.207 MB / 362.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001033/0.448, allocations: 0.9375 MB / 471.5 MB, free: 6.309 MB / 362.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002139/0.4501, allocations: 0.7022 MB / 472.2 MB, free: 5.625 MB / 362.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01725/0.4673, allocations: 11.88 MB / 484.1 MB, free: 9.699 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002179/0.4695, allocations: 2.359 MB / 486.4 MB, free: 7.312 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.001849/0.4714, allocations: 0.5139 MB / 487 MB, free: 6.797 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001312/0.4727, allocations: 0.7167 MB / 487.7 MB, free: 6.078 MB / 378.8 MB Notification: Performance of SimCode: time 1.312e-06/0.4727, allocations: 0 / 487.7 MB, free: 6.078 MB / 378.8 MB Notification: Performance of Templates: time 0.2173/0.69, allocations: 40.26 MB / 0.5156 GB, free: 88.17 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.325562935788184]