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.00133/0.00133, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.004469/0.004469, allocations: 168.8 kB / 24.82 MB, free: 9.234 MB / 18.57 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.036/1.036, allocations: 177.1 MB / 205.3 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] 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.3301/0.3301, allocations: 29.42 MB / 291.2 MB, free: 2.371 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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=741,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=741,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 370.1 MB, free: 10.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.385e-05/2.574e-05, allocations: 5.266 kB / 370.1 MB, free: 10.68 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor): time 0.005827/0.005852, allocations: 3.877 MB / 374 MB, free: 6.766 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001624/0.007476, allocations: 0.8959 MB / 374.9 MB, free: 5.867 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002248/0.007701, allocations: 19.81 kB / 374.9 MB, free: 5.848 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001941/0.007895, allocations: 39.62 kB / 374.9 MB, free: 5.809 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004612/0.008356, allocations: 190.8 kB / 375.1 MB, free: 5.621 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002241/0.00858, allocations: 91.73 kB / 375.2 MB, free: 5.531 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003986/0.008979, allocations: 414.4 kB / 375.6 MB, free: 5.125 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001814/0.00916, allocations: 82.58 kB / 375.7 MB, free: 5.051 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003812/0.009541, allocations: 267.2 kB / 376 MB, free: 4.789 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000236/0.009777, allocations: 175.5 kB / 376.1 MB, free: 4.617 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.59e-05/0.009813, allocations: 20 kB / 376.2 MB, free: 4.598 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.703e-05/0.00985, allocations: 23.94 kB / 376.2 MB, free: 4.574 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.375e-05/0.009944, allocations: 119.6 kB / 376.3 MB, free: 4.457 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 8.764e-05/0.01003, allocations: 99.75 kB / 376.4 MB, free: 4.359 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002479/0.01028, allocations: 231.2 kB / 376.6 MB, free: 4.133 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.01028, allocations: 4 kB / 376.6 MB, free: 4.129 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.01028, allocations: 0 / 376.6 MB, free: 4.129 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.01029, allocations: 0 / 376.6 MB, free: 4.129 MB / 346.7 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.0006638/0.01095, allocations: 0.637 MB / 377.3 MB, free: 3.453 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.011, allocations: 11.98 kB / 377.3 MB, free: 3.441 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.666e-05/0.01109, allocations: 56.7 kB / 377.3 MB, free: 3.387 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003931/0.01148, allocations: 283.3 kB / 377.6 MB, free: 3.086 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.01149, allocations: 16.88 kB / 377.6 MB, free: 3.07 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.23e-05/0.01152, allocations: 24.36 kB / 377.6 MB, free: 3.047 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002271/0.01174, allocations: 239 kB / 377.9 MB, free: 2.77 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.01176, allocations: 7.938 kB / 377.9 MB, free: 2.762 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.01177, allocations: 8 kB / 377.9 MB, free: 2.754 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.01178, allocations: 8 kB / 377.9 MB, free: 2.746 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001005/0.01188, allocations: 83.3 kB / 378 MB, free: 2.664 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00118/0.01306, allocations: 1.493 MB / 379.5 MB, free: 1.078 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002365/0.0133, allocations: 110.1 kB / 379.6 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.837e-05/0.01334, allocations: 39.36 kB / 379.6 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.596e-05/0.01336, allocations: 4 kB / 379.6 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.01339, allocations: 33.39 kB / 379.7 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.933e-06/0.01339, allocations: 0 / 379.7 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004123/0.0138, allocations: 185.3 kB / 379.8 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.582e-05/0.01384, allocations: 85.11 kB / 379.9 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001628/0.014, allocations: 310.1 kB / 380.2 MB, free: 252 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.01401, allocations: 29.7 kB / 380.3 MB, free: 216 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.01413, allocations: 258.9 kB / 380.5 MB, free: 15.95 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.729e-05/0.01415, allocations: 47.53 kB / 380.6 MB, free: 15.9 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.325e-05/0.01421, allocations: 59.28 kB / 380.6 MB, free: 15.84 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.01434, allocations: 0.5078 MB / 381.1 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.724e-05/0.01437, allocations: 15.98 kB / 381.1 MB, free: 15.3 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.885e-05/0.01446, allocations: 159.3 kB / 381.3 MB, free: 15.08 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001373/0.0146, allocations: 210.6 kB / 381.5 MB, free: 14.82 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.0146, allocations: 4 kB / 381.5 MB, free: 14.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001781/0.01478, allocations: 189.5 kB / 381.7 MB, free: 14.62 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.01479, allocations: 11.97 kB / 381.7 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.0148, allocations: 4 kB / 381.7 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.01481, allocations: 4 kB / 381.7 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.01491, allocations: 51.91 kB / 381.8 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.01492, allocations: 4 kB / 381.8 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.183e-05/0.01498, allocations: 12 kB / 381.8 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.01499, allocations: 8 kB / 381.8 MB, free: 14.53 MB / 362.7 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 8.721e-05/0.01508, allocations: 172.5 kB / 382 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.561e-05/0.01511, allocations: 35.75 kB / 382 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001617/0.01527, allocations: 131.3 kB / 382.1 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.01528, allocations: 8 kB / 382.1 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.01528, allocations: 0 / 382.1 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.01528, allocations: 0 / 382.1 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003712/0.01565, allocations: 429 kB / 382.5 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.01566, allocations: 0 / 382.5 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.447e-05/0.01573, allocations: 27.98 kB / 382.6 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.01573, allocations: 0 / 382.6 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.01574, allocations: 4 kB / 382.6 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.01575, allocations: 4 kB / 382.6 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.01575, allocations: 0 / 382.6 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002128/0.01596, allocations: 306.7 kB / 382.9 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.617e-05/0.01599, allocations: 23.86 kB / 382.9 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.805e-05/0.01601, allocations: 4 kB / 382.9 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.07e-05/0.01606, allocations: 0 / 382.9 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.16e-05/0.01608, allocations: 11.98 kB / 382.9 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/0.01609, allocations: 7.984 kB / 382.9 MB, free: 13.3 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.239e-05/0.01617, allocations: 199 kB / 383.1 MB, free: 13.11 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01617, allocations: 0 / 383.1 MB, free: 13.11 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002465/0.01642, allocations: 52 kB / 383.2 MB, free: 13.06 MB / 362.7 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 8.336e-05/0.0165, allocations: 111.1 kB / 383.3 MB, free: 12.95 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001348/0.01663, allocations: 87.52 kB / 383.4 MB, free: 12.86 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.604e-06/0.01664, allocations: 0 / 383.4 MB, free: 12.86 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.852e-05/0.01668, allocations: 55.47 kB / 383.4 MB, free: 12.8 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000303/0.01699, allocations: 72.28 kB / 383.5 MB, free: 12.73 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008376/0.01783, allocations: 0.513 MB / 384 MB, free: 12.19 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.91e-05/0.01789, allocations: 100.3 kB / 384.1 MB, free: 12.07 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.924e-05/0.01798, allocations: 30.27 kB / 384.1 MB, free: 12.04 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001147/0.0181, allocations: 118.2 kB / 384.2 MB, free: 11.92 MB / 362.7 MB Notification: Performance of SimCode: time 6.31e-07/0.0181, allocations: 0 / 384.2 MB, free: 11.92 MB / 362.7 MB Notification: Performance of Templates: time 0.004275/0.02237, allocations: 2.42 MB / 386.7 MB, free: 9.555 MB / 362.7 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=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2715904219076037]