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.001069/0.001069, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.001667/0.001667, allocations: 161 kB / 24.56 MB, free: 20 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.01/1.01, allocations: 177.1 MB / 205 MB, free: 5.289 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.2634/0.2634, allocations: 29.41 MB / 290.9 MB, free: 2.379 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 / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.252e-05/2.42e-05, allocations: 2.312 kB / 369.6 MB, free: 10.99 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor): time 0.004101/0.004125, allocations: 3.911 MB / 373.5 MB, free: 7.051 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001196/0.005321, allocations: 0.892 MB / 374.4 MB, free: 6.156 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001501/0.005471, allocations: 19.81 kB / 374.5 MB, free: 6.137 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000193/0.005664, allocations: 47.56 kB / 374.5 MB, free: 6.09 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004098/0.006074, allocations: 190.8 kB / 374.7 MB, free: 5.902 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001744/0.006249, allocations: 83.81 kB / 374.8 MB, free: 5.82 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000312/0.006561, allocations: 414.4 kB / 375.2 MB, free: 5.414 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001868/0.006748, allocations: 74.69 kB / 375.2 MB, free: 5.348 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003176/0.007065, allocations: 247.3 kB / 375.5 MB, free: 5.105 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002531/0.007318, allocations: 199.4 kB / 375.7 MB, free: 4.91 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.622e-05/0.007355, allocations: 24 kB / 375.7 MB, free: 4.887 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.802e-05/0.007393, allocations: 23.94 kB / 375.7 MB, free: 4.863 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.724e-05/0.00749, allocations: 111.7 kB / 375.8 MB, free: 4.754 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 9.972e-05/0.00759, allocations: 103.8 kB / 375.9 MB, free: 4.652 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002695/0.007859, allocations: 235.1 kB / 376.2 MB, free: 4.422 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.007864, allocations: 4 kB / 376.2 MB, free: 4.418 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.007865, allocations: 0 / 376.2 MB, free: 4.418 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.00787, allocations: 4 kB / 376.2 MB, free: 4.414 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.001015/0.008885, allocations: 0.6488 MB / 376.8 MB, free: 3.727 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.008921, allocations: 11.98 kB / 376.8 MB, free: 3.715 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.905e-05/0.009, allocations: 56.7 kB / 376.9 MB, free: 3.66 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003342/0.009335, allocations: 298.4 kB / 377.2 MB, free: 3.344 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.009352, allocations: 20.88 kB / 377.2 MB, free: 3.32 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.695e-05/0.009379, allocations: 20.38 kB / 377.2 MB, free: 3.301 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002686/0.009647, allocations: 255 kB / 377.5 MB, free: 3.012 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.009659, allocations: 3.938 kB / 377.5 MB, free: 3.008 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.934e-05/0.009678, allocations: 12 kB / 377.5 MB, free: 2.996 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.009687, allocations: 4 kB / 377.5 MB, free: 2.992 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000152/0.009839, allocations: 102.8 kB / 377.6 MB, free: 2.895 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001035/0.01087, allocations: 1.505 MB / 379.1 MB, free: 1.301 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002267/0.0111, allocations: 110.2 kB / 379.2 MB, free: 1.168 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.067e-05/0.01115, allocations: 39.36 kB / 379.2 MB, free: 1.121 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.01117, allocations: 4 kB / 379.2 MB, free: 1.117 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.0112, allocations: 37.39 kB / 379.3 MB, free: 1.07 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.814e-06/0.0112, allocations: 0 / 379.3 MB, free: 1.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005293/0.01173, allocations: 276.2 kB / 379.6 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/0.01177, allocations: 85.05 kB / 379.6 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001872/0.01195, allocations: 314.2 kB / 379.9 MB, free: 380 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.01197, allocations: 29.69 kB / 380 MB, free: 344 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.01207, allocations: 250.8 kB / 380.2 MB, free: 88 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.983e-05/0.0121, allocations: 51.56 kB / 380.3 MB, free: 36 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.214e-05/0.01216, allocations: 47.36 kB / 380.3 MB, free: 15.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.01229, allocations: 0.5079 MB / 380.8 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.649e-05/0.01233, allocations: 23.98 kB / 380.8 MB, free: 15.44 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000102/0.01244, allocations: 167.1 kB / 381 MB, free: 15.21 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000171/0.01261, allocations: 211 kB / 381.2 MB, free: 14.94 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.01261, allocations: 4 kB / 381.2 MB, free: 14.94 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002146/0.01282, allocations: 205 kB / 381.4 MB, free: 14.73 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.01284, allocations: 11.98 kB / 381.4 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.01285, allocations: 448 / 381.4 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.01287, allocations: 12 kB / 381.4 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.01298, allocations: 43.92 kB / 381.5 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.387e-06/0.01299, allocations: 7.984 kB / 381.5 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.551e-05/0.01306, allocations: 8 kB / 381.5 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.01307, allocations: 8 kB / 381.5 MB, free: 14.64 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 9.009e-05/0.01316, allocations: 172.5 kB / 381.7 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.372e-05/0.01319, allocations: 31.78 kB / 381.7 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001932/0.01339, allocations: 147.3 kB / 381.9 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.01339, allocations: 7.938 kB / 381.9 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.01339, allocations: 0 / 381.9 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.0134, allocations: 4 kB / 381.9 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004017/0.0138, allocations: 484.9 kB / 382.3 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.0138, allocations: 0 / 382.3 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.474e-05/0.01388, allocations: 27.98 kB / 382.4 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.01388, allocations: 0 / 382.4 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.01389, allocations: 11.98 kB / 382.4 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.01389, allocations: 0 / 382.4 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.01389, allocations: 0 / 382.4 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001923/0.01409, allocations: 309.7 kB / 382.7 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.247e-05/0.01411, allocations: 27.81 kB / 382.7 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.8e-05/0.01413, allocations: 4.031 kB / 382.7 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.825e-05/0.01418, allocations: 11.98 kB / 382.7 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.437e-05/0.01421, allocations: 7.984 kB / 382.7 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/0.01422, allocations: 8 kB / 382.7 MB, free: 13.32 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001048/0.01432, allocations: 207 kB / 382.9 MB, free: 13.12 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01432, allocations: 0 / 382.9 MB, free: 13.12 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002098/0.01453, allocations: 48 kB / 383 MB, free: 13.07 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 9.124e-05/0.01462, allocations: 111.1 kB / 383.1 MB, free: 12.95 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001741/0.0148, allocations: 111.5 kB / 383.2 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.0148, allocations: 0 / 383.2 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.235e-05/0.01486, allocations: 54.97 kB / 383.3 MB, free: 12.79 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003275/0.01519, allocations: 57.83 kB / 383.3 MB, free: 12.73 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001207/0.0164, allocations: 0.5052 MB / 383.8 MB, free: 12.19 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.05e-05/0.01647, allocations: 100.3 kB / 383.9 MB, free: 12.07 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.703e-05/0.01655, allocations: 38.28 kB / 384 MB, free: 12.04 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.19e-05/0.01661, allocations: 28.48 kB / 384 MB, free: 12.01 MB / 362.7 MB Notification: Performance of SimCode: time 8.22e-07/0.01661, allocations: 0 / 384 MB, free: 12.01 MB / 362.7 MB Notification: Performance of Templates: time 0.004318/0.02092, allocations: 2.268 MB / 386.3 MB, free: 9.793 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.177570578176528]