Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.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.001415/0.001415, allocations: 111.1 kB / 20.44 MB, free: 1.051 MB / 14.72 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.00291/0.00291, allocations: 212.4 kB / 23.73 MB, free: 4.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.668/1.668, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.18/0.18, allocations: 38.55 MB / 352.5 MB, free: 12.29 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=740,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=740,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor") [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002822/0.002822, allocations: 71.91 kB / 493 MB, free: 4.176 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4176/0.4205, allocations: 62.47 MB / 0.5424 GB, free: 400 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor): time 0.007458/0.4279, allocations: 3.986 MB / 0.5463 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00222/0.4301, allocations: 0.874 MB / 0.5472 GB, free: 12.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001919/0.4303, allocations: 15.75 kB / 0.5472 GB, free: 12.65 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000221/0.4306, allocations: 48.5 kB / 0.5472 GB, free: 12.61 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005402/0.4311, allocations: 184.8 kB / 0.5474 GB, free: 12.46 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000373/0.4315, allocations: 91.75 kB / 0.5475 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005453/0.432, allocations: 399.6 kB / 0.5479 GB, free: 12.17 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002172/0.4322, allocations: 78.66 kB / 0.548 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003824/0.4326, allocations: 194.4 kB / 0.5481 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003871/0.433, allocations: 211.7 kB / 0.5483 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.99e-05/0.4331, allocations: 20.62 kB / 0.5484 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.258e-05/0.4331, allocations: 21.22 kB / 0.5484 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001459/0.4333, allocations: 115.1 kB / 0.5485 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001839/0.4334, allocations: 119.5 kB / 0.5486 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000483/0.4339, allocations: 324 kB / 0.5489 GB, free: 11.53 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.4339, allocations: 0 / 0.5489 GB, free: 11.53 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4339, allocations: 0.9375 kB / 0.5489 GB, free: 11.53 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.4339, allocations: 0 / 0.5489 GB, free: 11.53 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001309/0.4353, allocations: 0.5565 MB / 0.5495 GB, free: 11.07 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.4353, allocations: 13.86 kB / 0.5495 GB, free: 11.06 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.622e-05/0.4354, allocations: 31.94 kB / 0.5495 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000573/0.436, allocations: 287.4 kB / 0.5498 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.296e-05/0.436, allocations: 18.62 kB / 0.5498 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.767e-05/0.436, allocations: 26.09 kB / 0.5498 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000692/0.4367, allocations: 315.8 kB / 0.5501 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.4367, allocations: 0 / 0.5501 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.187e-05/0.4368, allocations: 14.86 kB / 0.5501 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.277e-05/0.4368, allocations: 6.219 kB / 0.5501 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004202/0.4372, allocations: 214.8 kB / 0.5504 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002119/0.4393, allocations: 1.221 MB / 0.5515 GB, free: 9.348 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005306/0.4399, allocations: 139.6 kB / 0.5517 GB, free: 9.25 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001621/0.44, allocations: 57.56 kB / 0.5517 GB, free: 9.211 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.108e-05/0.4401, allocations: 5.031 kB / 0.5517 GB, free: 9.207 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.939e-05/0.4401, allocations: 37.12 kB / 0.5518 GB, free: 9.164 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.794e-06/0.4401, allocations: 4 kB / 0.5518 GB, free: 9.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001215/0.4413, allocations: 365.2 kB / 0.5521 GB, free: 8.941 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.959e-05/0.4414, allocations: 82.55 kB / 0.5522 GB, free: 8.844 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004426/0.4419, allocations: 265.2 kB / 0.5525 GB, free: 8.656 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.988e-05/0.4419, allocations: 26.86 kB / 0.5525 GB, free: 8.625 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000228/0.4421, allocations: 201.5 kB / 0.5527 GB, free: 8.441 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.937e-05/0.4422, allocations: 50.58 kB / 0.5527 GB, free: 8.398 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001183/0.4423, allocations: 48.8 kB / 0.5528 GB, free: 8.359 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002827/0.4426, allocations: 341.5 kB / 0.5531 GB, free: 8.023 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001686/0.4428, allocations: 56.59 kB / 0.5531 GB, free: 7.996 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003438/0.4431, allocations: 150.1 kB / 0.5533 GB, free: 7.844 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005668/0.4437, allocations: 235.8 kB / 0.5535 GB, free: 7.641 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.4437, allocations: 1.219 kB / 0.5535 GB, free: 7.641 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006396/0.4443, allocations: 250.3 kB / 0.5538 GB, free: 7.5 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.611e-05/0.4444, allocations: 6.781 kB / 0.5538 GB, free: 7.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.4444, allocations: 3.562 kB / 0.5538 GB, free: 7.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.809e-05/0.4444, allocations: 4.625 kB / 0.5538 GB, free: 7.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002863/0.4447, allocations: 47.78 kB / 0.5538 GB, free: 7.488 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.813e-05/0.4447, allocations: 9.688 kB / 0.5538 GB, free: 7.484 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002128/0.4449, allocations: 8.469 kB / 0.5538 GB, free: 7.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.027e-05/0.4449, allocations: 8.719 kB / 0.5538 GB, free: 7.48 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002751/0.4452, allocations: 167.4 kB / 0.554 GB, free: 7.328 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.167e-05/0.4453, allocations: 34.66 kB / 0.554 GB, free: 7.305 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000547/0.4458, allocations: 195.5 kB / 0.5542 GB, free: 7.18 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.119e-05/0.4459, allocations: 6.234 kB / 0.5542 GB, free: 7.176 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.4459, allocations: 1 kB / 0.5542 GB, free: 7.176 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.4459, allocations: 1.219 kB / 0.5542 GB, free: 7.176 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001162/0.447, allocations: 476.1 kB / 0.5547 GB, free: 6.801 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.447, allocations: 1.062 kB / 0.5547 GB, free: 6.801 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002184/0.4473, allocations: 34.8 kB / 0.5547 GB, free: 6.789 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.4473, allocations: 1.094 kB / 0.5547 GB, free: 6.789 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.555e-05/0.4473, allocations: 6.078 kB / 0.5547 GB, free: 6.785 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.793e-06/0.4473, allocations: 2.125 kB / 0.5547 GB, free: 6.785 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.4473, allocations: 4 kB / 0.5547 GB, free: 6.781 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000573/0.4479, allocations: 303.2 kB / 0.555 GB, free: 6.551 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.901e-05/0.4479, allocations: 26.48 kB / 0.555 GB, free: 6.531 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.968e-05/0.448, allocations: 2.812 kB / 0.555 GB, free: 6.531 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001815/0.4482, allocations: 9.125 kB / 0.5551 GB, free: 6.523 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.04e-05/0.4482, allocations: 16.3 kB / 0.5551 GB, free: 6.512 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.79e-05/0.4482, allocations: 12.23 kB / 0.5551 GB, free: 6.504 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003018/0.4485, allocations: 181.4 kB / 0.5553 GB, free: 6.379 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4485, allocations: 0 / 0.5553 GB, free: 6.379 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006535/0.4492, allocations: 52.97 kB / 0.5553 GB, free: 6.371 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002336/0.4494, allocations: 96.19 kB / 0.5554 GB, free: 6.281 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004865/0.4499, allocations: 147.5 kB / 0.5555 GB, free: 6.219 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.385e-06/0.4499, allocations: 1.094 kB / 0.5555 GB, free: 6.219 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001932/0.4501, allocations: 73.31 kB / 0.5556 GB, free: 6.188 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007988/0.4509, allocations: 56.55 kB / 0.5557 GB, free: 6.16 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001445/0.4524, allocations: 0.5336 MB / 0.5562 GB, free: 5.613 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003088/0.4527, allocations: 178.1 kB / 0.5564 GB, free: 5.418 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002142/0.4529, allocations: 38.27 kB / 0.5564 GB, free: 5.379 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/0.453, allocations: 23.44 kB / 0.5564 GB, free: 5.355 MB / 398.1 MB Notification: Performance of SimCode: time 1.062e-06/0.453, allocations: 3.938 kB / 0.5564 GB, free: 5.352 MB / 398.1 MB Notification: Performance of Templates: time 0.01029/0.4633, allocations: 2.612 MB / 0.559 GB, free: 2.785 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.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: 5.541815645992756]