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.0009635/0.0009635, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001064/0.001064, allocations: 170.8 kB / 24.91 MB, free: 8.773 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.132/1.132, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.241/0.241, allocations: 29.43 MB / 291.2 MB, free: 2.484 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.733e-06/1.733e-06, allocations: 0 / 316.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.035e-05/3.208e-05, allocations: 2.969 kB / 316.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor): time 0.006957/0.006989, allocations: 3.946 MB / 320.8 MB, free: 11.98 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001694/0.008683, allocations: 0.9119 MB / 321.7 MB, free: 11.07 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001581/0.008841, allocations: 11.88 kB / 321.8 MB, free: 11.06 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000187/0.009028, allocations: 55.5 kB / 321.8 MB, free: 11 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003806/0.009408, allocations: 182.8 kB / 322 MB, free: 10.82 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001776/0.009586, allocations: 87.75 kB / 322.1 MB, free: 10.74 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003433/0.009929, allocations: 422.4 kB / 322.5 MB, free: 10.32 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000166/0.0101, allocations: 84.64 kB / 322.6 MB, free: 10.24 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003434/0.01044, allocations: 267.3 kB / 322.8 MB, free: 9.98 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002275/0.01067, allocations: 171.5 kB / 323 MB, free: 9.812 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.325e-05/0.0107, allocations: 20 kB / 323 MB, free: 9.793 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.216e-05/0.01073, allocations: 23.94 kB / 323 MB, free: 9.77 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.637e-05/0.01082, allocations: 115.6 kB / 323.2 MB, free: 9.656 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.918e-05/0.0109, allocations: 99.75 kB / 323.3 MB, free: 9.559 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002316/0.01113, allocations: 235.1 kB / 323.5 MB, free: 9.328 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.01113, allocations: 4 kB / 323.5 MB, free: 9.324 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.01113, allocations: 0 / 323.5 MB, free: 9.324 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.01114, allocations: 0 / 323.5 MB, free: 9.324 MB / 298.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.0005891/0.01173, allocations: 0.5081 MB / 324 MB, free: 8.785 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.07e-05/0.01176, allocations: 11.98 kB / 324 MB, free: 8.773 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.442e-05/0.01181, allocations: 36.91 kB / 324 MB, free: 8.738 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002975/0.01211, allocations: 272.6 kB / 324.3 MB, free: 8.449 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.01213, allocations: 16.88 kB / 324.3 MB, free: 8.434 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.444e-05/0.01215, allocations: 24.36 kB / 324.4 MB, free: 8.41 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002296/0.01238, allocations: 223.2 kB / 324.6 MB, free: 8.16 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.01239, allocations: 3.938 kB / 324.6 MB, free: 8.156 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.0124, allocations: 8 kB / 324.6 MB, free: 8.148 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.01241, allocations: 8 kB / 324.6 MB, free: 8.141 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001029/0.01252, allocations: 86.16 kB / 324.7 MB, free: 8.055 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008164/0.01333, allocations: 1.1 MB / 325.8 MB, free: 6.891 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001688/0.0135, allocations: 150.5 kB / 325.9 MB, free: 6.723 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.225e-05/0.01353, allocations: 25.77 kB / 325.9 MB, free: 6.691 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.408e-05/0.01355, allocations: 7.938 kB / 326 MB, free: 6.684 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.01357, allocations: 34.56 kB / 326 MB, free: 6.641 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 1.393e-06/0.01357, allocations: 0 / 326 MB, free: 6.641 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002525/0.01382, allocations: 123 kB / 326.1 MB, free: 6.516 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.386e-05/0.01386, allocations: 85.05 kB / 326.2 MB, free: 6.414 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.01399, allocations: 250.9 kB / 326.4 MB, free: 6.152 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.014, allocations: 25.83 kB / 326.5 MB, free: 6.121 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.616e-05/0.01406, allocations: 188.5 kB / 326.6 MB, free: 5.934 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.402e-05/0.01409, allocations: 43.61 kB / 326.7 MB, free: 5.891 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.371e-05/0.01414, allocations: 45.64 kB / 326.7 MB, free: 5.84 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.755e-05/0.01422, allocations: 338.8 kB / 327.1 MB, free: 5.5 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.769e-05/0.01425, allocations: 26.61 kB / 327.1 MB, free: 5.473 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.372e-05/0.01431, allocations: 107.2 kB / 327.2 MB, free: 5.328 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/0.01443, allocations: 158.4 kB / 327.3 MB, free: 5.129 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.01443, allocations: 4 kB / 327.4 MB, free: 5.125 MB / 298.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001431/0.01457, allocations: 155.2 kB / 327.5 MB, free: 4.969 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.01459, allocations: 8 kB / 327.5 MB, free: 4.961 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.01459, allocations: 3.938 kB / 327.5 MB, free: 4.957 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.01461, allocations: 8 kB / 327.5 MB, free: 4.949 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.01474, allocations: 54.56 kB / 327.6 MB, free: 4.898 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.409e-06/0.01474, allocations: 4 kB / 327.6 MB, free: 4.895 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.469e-05/0.0148, allocations: 20.3 kB / 327.6 MB, free: 4.875 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.01481, allocations: 8 kB / 327.6 MB, free: 4.867 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (24): * Single equations (assignments): 24 * 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 7.367e-05/0.01489, allocations: 128.6 kB / 327.7 MB, free: 4.73 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.079e-05/0.01492, allocations: 19.91 kB / 327.8 MB, free: 4.711 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001264/0.01504, allocations: 115.3 kB / 327.9 MB, free: 4.59 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.01505, allocations: 0 / 327.9 MB, free: 4.59 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-06/0.01505, allocations: 4 kB / 327.9 MB, free: 4.586 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/0.01505, allocations: 0 / 327.9 MB, free: 4.586 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001532/0.0152, allocations: 152.5 kB / 328 MB, free: 4.418 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.01521, allocations: 4 kB / 328 MB, free: 4.414 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.83e-05/0.01528, allocations: 35.98 kB / 328.1 MB, free: 4.379 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.01529, allocations: 3.938 kB / 328.1 MB, free: 4.375 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.01529, allocations: 4 kB / 328.1 MB, free: 4.371 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.0153, allocations: 3.938 kB / 328.1 MB, free: 4.367 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.0153, allocations: 0 / 328.1 MB, free: 4.367 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001252/0.01542, allocations: 235.1 kB / 328.3 MB, free: 4.117 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.2e-05/0.01545, allocations: 27.75 kB / 328.3 MB, free: 4.09 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.767e-05/0.01546, allocations: 7.938 kB / 328.3 MB, free: 4.082 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.915e-05/0.01551, allocations: 4 kB / 328.3 MB, free: 4.078 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.001e-05/0.01553, allocations: 11.97 kB / 328.3 MB, free: 4.066 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.134e-06/0.01554, allocations: 4 kB / 328.4 MB, free: 4.062 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.477e-05/0.01559, allocations: 92.62 kB / 328.4 MB, free: 3.973 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01559, allocations: 0 / 328.4 MB, free: 3.973 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001748/0.01577, allocations: 59.89 kB / 328.5 MB, free: 3.914 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 15 * 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 7.929e-05/0.01585, allocations: 84.36 kB / 328.6 MB, free: 3.824 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001132/0.01596, allocations: 87.2 kB / 328.7 MB, free: 3.738 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.273e-06/0.01597, allocations: 8.812 kB / 328.7 MB, free: 3.73 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.098e-05/0.01601, allocations: 44.72 kB / 328.7 MB, free: 3.684 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002335/0.01624, allocations: 57.55 kB / 328.8 MB, free: 3.625 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007484/0.01699, allocations: 0.5039 MB / 329.3 MB, free: 3.086 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.958e-05/0.01706, allocations: 104.3 kB / 329.4 MB, free: 2.965 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.213e-05/0.01713, allocations: 34.27 kB / 329.4 MB, free: 2.934 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/0.01724, allocations: 91.34 kB / 329.5 MB, free: 2.844 MB / 298.7 MB Notification: Performance of SimCode: time 4.31e-07/0.01724, allocations: 0 / 329.5 MB, free: 2.844 MB / 298.7 MB Notification: Performance of Templates: time 0.003941/0.02118, allocations: 2.468 MB / 332 MB, free: 448 kB / 298.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 -s gbode -gbm=radauIIA3 -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.0049957162700593]