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.001043/0.001043, allocations: 87.58 kB / 21.19 MB, free: 3.371 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.0009551/0.0009551, allocations: 161 kB / 24.56 MB, free: 4 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 0.9647/0.9647, allocations: 177.1 MB / 205 MB, free: 5.633 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.2495/0.2495, allocations: 29.42 MB / 290.9 MB, free: 2.422 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 3.667e-06/3.667e-06, allocations: 3.938 kB / 369.6 MB, free: 10.99 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.76e-05/4.127e-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.004735/0.004776, allocations: 3.904 MB / 373.5 MB, free: 7.051 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001339/0.006115, allocations: 0.8958 MB / 374.4 MB, free: 6.152 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001999/0.006315, allocations: 15.88 kB / 374.5 MB, free: 6.137 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001845/0.006499, allocations: 43.56 kB / 374.5 MB, free: 6.094 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000486/0.006985, allocations: 190.8 kB / 374.7 MB, free: 5.906 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002205/0.007206, allocations: 91.73 kB / 374.8 MB, free: 5.816 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004034/0.007609, allocations: 414.4 kB / 375.2 MB, free: 5.41 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001746/0.007784, allocations: 74.7 kB / 375.3 MB, free: 5.344 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004163/0.0082, allocations: 271.2 kB / 375.5 MB, free: 5.078 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002416/0.008442, allocations: 175.5 kB / 375.7 MB, free: 4.906 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.581e-05/0.008477, allocations: 20 kB / 375.7 MB, free: 4.887 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.726e-05/0.008515, allocations: 23.94 kB / 375.7 MB, free: 4.863 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.972e-05/0.008604, allocations: 119.7 kB / 375.9 MB, free: 4.746 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 9.21e-05/0.008697, allocations: 99.7 kB / 376 MB, free: 4.648 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000282/0.008979, allocations: 227.2 kB / 376.2 MB, free: 4.426 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.008981, allocations: 4 kB / 376.2 MB, free: 4.422 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.008982, allocations: 0 / 376.2 MB, free: 4.422 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.008989, allocations: 0 / 376.2 MB, free: 4.422 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.0006855/0.009675, allocations: 0.6488 MB / 376.8 MB, free: 3.734 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.009713, allocations: 15.98 kB / 376.8 MB, free: 3.719 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.151e-05/0.009785, allocations: 52.7 kB / 376.9 MB, free: 3.668 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003049/0.01009, allocations: 291.3 kB / 377.2 MB, free: 3.359 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.01011, allocations: 16.88 kB / 377.2 MB, free: 3.344 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.405e-05/0.01013, allocations: 24.38 kB / 377.2 MB, free: 3.32 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002683/0.0104, allocations: 259 kB / 377.5 MB, free: 3.023 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.01041, allocations: 3.938 kB / 377.5 MB, free: 3.02 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/0.01042, allocations: 8 kB / 377.5 MB, free: 3.012 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.01043, allocations: 4 kB / 377.5 MB, free: 3.008 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001433/0.01058, allocations: 106.8 kB / 377.6 MB, free: 2.906 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001297/0.01187, allocations: 1.505 MB / 379.1 MB, free: 1.309 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002114/0.01208, allocations: 110.2 kB / 379.2 MB, free: 1.176 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.293e-05/0.01214, allocations: 43.36 kB / 379.2 MB, free: 1.125 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.424e-05/0.01215, allocations: 0 / 379.2 MB, free: 1.125 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.01218, allocations: 41.39 kB / 379.3 MB, free: 1.074 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.302e-06/0.01218, allocations: 0 / 379.3 MB, free: 1.074 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004768/0.01266, allocations: 280.4 kB / 379.6 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/0.01269, allocations: 85.09 kB / 379.6 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001713/0.01286, allocations: 310.2 kB / 379.9 MB, free: 388 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.01287, allocations: 25.7 kB / 380 MB, free: 356 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.915e-05/0.01297, allocations: 250.8 kB / 380.2 MB, free: 100 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.056e-05/0.013, allocations: 47.58 kB / 380.3 MB, free: 52 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.859e-05/0.01306, allocations: 51.36 kB / 380.3 MB, free: 15.99 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.01318, allocations: 0.5079 MB / 380.8 MB, free: 15.47 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.293e-05/0.01322, allocations: 23.97 kB / 380.8 MB, free: 15.45 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.767e-05/0.01332, allocations: 174.6 kB / 381 MB, free: 15.22 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001552/0.01348, allocations: 211.2 kB / 381.2 MB, free: 14.95 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.01348, allocations: 4 kB / 381.2 MB, free: 14.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000204/0.01368, allocations: 201.1 kB / 381.4 MB, free: 14.74 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.0137, allocations: 8.438 kB / 381.4 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.0137, allocations: 4 kB / 381.4 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.01372, allocations: 8 kB / 381.4 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.01383, allocations: 47.91 kB / 381.5 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.01384, allocations: 7.938 kB / 381.5 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.718e-05/0.01391, allocations: 12 kB / 381.5 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.01392, allocations: 12 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 8.738e-05/0.01401, allocations: 176.4 kB / 381.7 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.144e-05/0.01404, allocations: 31.8 kB / 381.7 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001758/0.01421, allocations: 139.3 kB / 381.9 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.01422, allocations: 8 kB / 381.9 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.01422, allocations: 0 / 381.9 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.01423, allocations: 4 kB / 381.9 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003777/0.0146, allocations: 476.9 kB / 382.3 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-06/0.01461, allocations: 0 / 382.3 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.083e-05/0.01468, allocations: 31.98 kB / 382.4 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.01468, allocations: 3.938 kB / 382.4 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.01469, allocations: 4 kB / 382.4 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.063e-06/0.01469, allocations: 0 / 382.4 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.01469, allocations: 0 / 382.4 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002047/0.0149, allocations: 303 kB / 382.7 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.361e-05/0.01493, allocations: 31.84 kB / 382.7 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.319e-05/0.01495, allocations: 7.984 kB / 382.7 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.743e-05/0.01501, allocations: 4 kB / 382.7 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.677e-05/0.01504, allocations: 15.92 kB / 382.7 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.01505, allocations: 4 kB / 382.7 MB, free: 13.33 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001063/0.01515, allocations: 207 kB / 382.9 MB, free: 13.13 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01515, allocations: 0 / 382.9 MB, free: 13.13 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002179/0.01537, allocations: 52 kB / 383 MB, free: 13.08 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.727e-05/0.01546, allocations: 103.1 kB / 383.1 MB, free: 12.97 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001736/0.01563, allocations: 113.9 kB / 383.2 MB, free: 12.86 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.01563, allocations: 0 / 383.2 MB, free: 12.86 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.318e-05/0.0157, allocations: 51.59 kB / 383.2 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.0003051/0.016, allocations: 67.92 kB / 383.3 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009319/0.01693, allocations: 0.5098 MB / 383.8 MB, free: 12.2 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.815e-05/0.01699, allocations: 104.2 kB / 383.9 MB, free: 12.08 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.768e-05/0.01708, allocations: 42.27 kB / 384 MB, free: 12.04 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.793e-05/0.01713, allocations: 24.48 kB / 384 MB, free: 12.02 MB / 362.7 MB Notification: Performance of SimCode: time 7.22e-07/0.01713, allocations: 7.938 kB / 384 MB, free: 12.01 MB / 362.7 MB Notification: Performance of Templates: time 0.004379/0.02151, allocations: 2.372 MB / 386.4 MB, free: 9.684 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.0180470943450928]