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.001444/0.001444, allocations: 84.34 kB / 20.96 MB, free: 3.445 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.001555/0.001555, allocations: 165.3 kB / 24.27 MB, free: 140 kB / 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.546/1.546, allocations: 177.2 MB / 204.6 MB, free: 5.578 MB / 186.7 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.3173/0.3173, allocations: 29.41 MB / 290.5 MB, free: 2.426 MB / 266.7 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=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.673e-06/1.673e-06, allocations: 0 / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.81e-05/2.978e-05, allocations: 9.547 kB / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor): time 0.00929/0.00932, allocations: 3.992 MB / 372.9 MB, free: 7.289 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002611/0.01193, allocations: 0.8608 MB / 373.7 MB, free: 6.426 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002162/0.01215, allocations: 15.88 kB / 373.8 MB, free: 6.41 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003251/0.01247, allocations: 51.5 kB / 373.8 MB, free: 6.359 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007665/0.01324, allocations: 190.8 kB / 374 MB, free: 6.172 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003431/0.01358, allocations: 87.8 kB / 374.1 MB, free: 6.086 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007737/0.01436, allocations: 414.4 kB / 374.5 MB, free: 5.68 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003067/0.01466, allocations: 70.7 kB / 374.6 MB, free: 5.617 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006898/0.01535, allocations: 259.1 kB / 374.8 MB, free: 5.363 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005365/0.01589, allocations: 187.5 kB / 375 MB, free: 5.18 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.884e-05/0.01596, allocations: 20 kB / 375 MB, free: 5.16 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.401e-05/0.01604, allocations: 23.94 kB / 375 MB, free: 5.137 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002352/0.01628, allocations: 123.6 kB / 375.2 MB, free: 5.016 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002189/0.0165, allocations: 95.77 kB / 375.3 MB, free: 4.922 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007074/0.0172, allocations: 311 kB / 375.6 MB, free: 4.617 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.01721, allocations: 0 / 375.6 MB, free: 4.617 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.32e-06/0.01721, allocations: 8 kB / 375.6 MB, free: 4.609 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.01722, allocations: 0 / 375.6 MB, free: 4.609 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.001739/0.01896, allocations: 0.5527 MB / 376.1 MB, free: 4.023 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/0.01901, allocations: 11.98 kB / 376.1 MB, free: 4.012 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001758/0.01919, allocations: 56.7 kB / 376.2 MB, free: 3.957 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007741/0.01996, allocations: 297 kB / 376.5 MB, free: 3.645 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.962e-05/0.02, allocations: 16.88 kB / 376.5 MB, free: 3.625 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.846e-05/0.02007, allocations: 20.38 kB / 376.5 MB, free: 3.605 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008102/0.02088, allocations: 320.4 kB / 376.8 MB, free: 3.262 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/0.0209, allocations: 3.938 kB / 376.8 MB, free: 3.258 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.756e-05/0.02095, allocations: 12 kB / 376.8 MB, free: 3.246 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.621e-05/0.02097, allocations: 7.984 kB / 376.8 MB, free: 3.238 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006377/0.0216, allocations: 217.7 kB / 377.1 MB, free: 3.027 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002631/0.02423, allocations: 1.221 MB / 378.3 MB, free: 1.727 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005422/0.02478, allocations: 137.2 kB / 378.4 MB, free: 1.574 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001899/0.02497, allocations: 61.84 kB / 378.5 MB, free: 1.508 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.508e-05/0.025, allocations: 7.938 kB / 378.5 MB, free: 1.5 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.98e-05/0.02506, allocations: 42.5 kB / 378.5 MB, free: 1.449 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.843e-06/0.02506, allocations: 0 / 378.5 MB, free: 1.449 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.001315/0.02638, allocations: 375.9 kB / 378.9 MB, free: 1.078 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/0.02648, allocations: 81.23 kB / 379 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004743/0.02696, allocations: 272.1 kB / 379.2 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.51e-05/0.02699, allocations: 25.7 kB / 379.3 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002495/0.02724, allocations: 208.1 kB / 379.5 MB, free: 472 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.716e-05/0.02731, allocations: 39.59 kB / 379.5 MB, free: 432 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000129/0.02744, allocations: 49.69 kB / 379.6 MB, free: 376 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002581/0.0277, allocations: 338.8 kB / 379.9 MB, free: 28 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001924/0.02789, allocations: 51.91 kB / 379.9 MB, free: 15.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003188/0.02821, allocations: 156.7 kB / 380.1 MB, free: 15.78 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005233/0.02873, allocations: 224.6 kB / 380.3 MB, free: 15.51 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.02873, allocations: 4 kB / 380.3 MB, free: 15.51 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007068/0.02944, allocations: 269 kB / 380.6 MB, free: 15.24 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.02946, allocations: 7.938 kB / 380.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.02947, allocations: 4 kB / 380.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.056e-05/0.02951, allocations: 4.438 kB / 380.6 MB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003274/0.02983, allocations: 51.91 kB / 380.6 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.508e-05/0.02985, allocations: 8 kB / 380.6 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002242/0.03007, allocations: 8 kB / 380.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.885e-05/0.0301, allocations: 8 kB / 380.7 MB, free: 15.15 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 0.0002531/0.03035, allocations: 157.8 kB / 380.8 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/0.03046, allocations: 35.8 kB / 380.9 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005786/0.03104, allocations: 195.3 kB / 381 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.438e-06/0.03105, allocations: 4 kB / 381 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.03105, allocations: 0 / 381 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.03106, allocations: 4 kB / 381.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001125/0.03218, allocations: 482.7 kB / 381.5 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/0.03219, allocations: 4 kB / 381.5 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002337/0.03242, allocations: 27.92 kB / 381.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.806e-06/0.03243, allocations: 4 kB / 381.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.658e-05/0.03246, allocations: 7.984 kB / 381.6 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.776e-06/0.03247, allocations: 4 kB / 381.6 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.03247, allocations: 0 / 381.6 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004914/0.03296, allocations: 296.8 kB / 381.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.73e-05/0.03301, allocations: 27.81 kB / 381.9 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.732e-05/0.03305, allocations: 8.031 kB / 381.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001501/0.0332, allocations: 4 kB / 381.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.963e-05/0.03324, allocations: 7.984 kB / 381.9 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.716e-05/0.03325, allocations: 7.984 kB / 381.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002151/0.03347, allocations: 187.1 kB / 382.1 MB, free: 13.64 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03347, allocations: 0 / 382.1 MB, free: 13.64 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004703/0.03394, allocations: 48 kB / 382.1 MB, free: 13.59 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 0.000163/0.0341, allocations: 103.1 kB / 382.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003476/0.03445, allocations: 159.2 kB / 382.4 MB, free: 13.33 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.03445, allocations: 0 / 382.4 MB, free: 13.33 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001484/0.0346, allocations: 71.89 kB / 382.5 MB, free: 13.26 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005496/0.03515, allocations: 62.02 kB / 382.5 MB, free: 13.21 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001157/0.03631, allocations: 0.5152 MB / 383 MB, free: 12.66 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002692/0.03658, allocations: 182.1 kB / 383.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001573/0.03674, allocations: 42.27 kB / 383.3 MB, free: 12.42 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.155e-05/0.03683, allocations: 36.48 kB / 383.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of SimCode: time 5.91e-07/0.03683, allocations: 0 / 383.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of Templates: time 0.006847/0.04368, allocations: 2.244 MB / 385.5 MB, free: 10.19 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=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: 4.833988529047929]