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.0008178/0.0008178, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001123/0.00194, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007537/0.0007537, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001081/0.001835, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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/1, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09023/1.09, allocations: 53.65 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.1146/0.1146, allocations: 29.43 MB / 273.6 MB, free: 1.402 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1424/0.2571, allocations: 9.548 MB / 283.2 MB, free: 12.82 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-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="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="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.442e-06/1.442e-06, allocations: 0 / 284.4 MB, free: 11.87 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.237e-06/1.068e-05, allocations: 3.438 kB / 284.5 MB, free: 11.87 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor): time 0.004068/0.004079, allocations: 3.992 MB / 288.4 MB, free: 8.695 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001083/0.005162, allocations: 0.9147 MB / 289.4 MB, free: 7.98 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001447/0.005306, allocations: 17.94 kB / 289.4 MB, free: 7.969 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001347/0.005441, allocations: 45.11 kB / 289.4 MB, free: 7.93 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003074/0.005749, allocations: 185.6 kB / 289.6 MB, free: 7.777 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002023/0.005951, allocations: 92.41 kB / 289.7 MB, free: 7.703 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004045/0.006355, allocations: 423.7 kB / 290.1 MB, free: 7.465 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001941/0.006549, allocations: 69.67 kB / 290.2 MB, free: 7.426 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005083/0.007058, allocations: 293.5 kB / 290.5 MB, free: 7.258 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002895/0.007347, allocations: 170.5 kB / 290.6 MB, free: 7.168 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.456e-05/0.007392, allocations: 19.09 kB / 290.6 MB, free: 7.168 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.142e-05/0.007443, allocations: 24.31 kB / 290.7 MB, free: 7.164 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001096/0.007553, allocations: 95.42 kB / 290.8 MB, free: 7.125 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001221/0.007675, allocations: 82.56 kB / 290.8 MB, free: 7.113 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002894/0.007965, allocations: 218.5 kB / 291.1 MB, free: 7.004 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.846e-06/0.007973, allocations: 0 / 291.1 MB, free: 7.004 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.007974, allocations: 1.125 kB / 291.1 MB, free: 7.004 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.083e-05/0.007985, allocations: 0 / 291.1 MB, free: 7.004 MB / 282.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.0008884/0.008873, allocations: 0.5731 MB / 291.6 MB, free: 6.574 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.008912, allocations: 13.17 kB / 291.6 MB, free: 6.57 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.113e-05/0.008994, allocations: 38.91 kB / 291.7 MB, free: 6.555 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003803/0.009374, allocations: 272.2 kB / 291.9 MB, free: 6.336 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.009393, allocations: 13.12 kB / 292 MB, free: 6.332 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.751e-05/0.009431, allocations: 23.5 kB / 292 MB, free: 6.324 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002866/0.009717, allocations: 222.6 kB / 292.2 MB, free: 6.137 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.009728, allocations: 3.938 kB / 292.2 MB, free: 6.133 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.802e-05/0.009746, allocations: 11.69 kB / 292.2 MB, free: 6.125 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.009754, allocations: 4.656 kB / 292.2 MB, free: 6.125 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001052/0.009859, allocations: 89.22 kB / 292.3 MB, free: 6.09 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008269/0.01069, allocations: 1.084 MB / 293.4 MB, free: 5.113 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000184/0.01087, allocations: 135.2 kB / 293.5 MB, free: 5 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.707e-05/0.01091, allocations: 36.97 kB / 293.6 MB, free: 4.969 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.354e-05/0.01092, allocations: 10.72 kB / 293.6 MB, free: 4.961 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.01094, allocations: 33.31 kB / 293.6 MB, free: 4.922 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 1.573e-06/0.01094, allocations: 0 / 293.6 MB, free: 4.922 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002642/0.01121, allocations: 145.9 kB / 293.7 MB, free: 4.844 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.184e-05/0.01124, allocations: 81.09 kB / 293.8 MB, free: 4.746 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.01138, allocations: 246.9 kB / 294.1 MB, free: 4.559 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.01139, allocations: 30.77 kB / 294.1 MB, free: 4.523 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.767e-05/0.01146, allocations: 183.9 kB / 294.3 MB, free: 4.359 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.602e-05/0.01149, allocations: 44.28 kB / 294.3 MB, free: 4.32 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.543e-05/0.01154, allocations: 47.94 kB / 294.4 MB, free: 4.281 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.942e-05/0.01162, allocations: 336.3 kB / 294.7 MB, free: 3.949 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.931e-05/0.01165, allocations: 20.56 kB / 294.7 MB, free: 3.941 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.856e-05/0.01172, allocations: 116.2 kB / 294.8 MB, free: 3.812 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002625/0.01198, allocations: 163.1 kB / 295 MB, free: 3.656 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.01198, allocations: 0 / 295 MB, free: 3.656 MB / 282.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001448/0.01213, allocations: 159 kB / 295.1 MB, free: 3.562 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.01214, allocations: 6.25 kB / 295.1 MB, free: 3.562 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.01215, allocations: 4.281 kB / 295.2 MB, free: 3.562 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.01217, allocations: 4.156 kB / 295.2 MB, free: 3.562 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001633/0.01233, allocations: 55.77 kB / 295.2 MB, free: 3.547 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.01234, allocations: 8.438 kB / 295.2 MB, free: 3.543 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.767e-05/0.0124, allocations: 23.31 kB / 295.2 MB, free: 3.527 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.01241, allocations: 6.469 kB / 295.2 MB, free: 3.527 MB / 282.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.24e-05/0.01249, allocations: 129.4 kB / 295.4 MB, free: 3.395 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.42e-05/0.01252, allocations: 27.03 kB / 295.4 MB, free: 3.379 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001304/0.01265, allocations: 115.5 kB / 295.5 MB, free: 3.281 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.01265, allocations: 4 kB / 295.5 MB, free: 3.277 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-06/0.01265, allocations: 0 / 295.5 MB, free: 3.277 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.01266, allocations: 3.984 kB / 295.5 MB, free: 3.273 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001454/0.0128, allocations: 152.6 kB / 295.7 MB, free: 3.105 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.01281, allocations: 7.984 kB / 295.7 MB, free: 3.098 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.952e-05/0.01289, allocations: 27.98 kB / 295.7 MB, free: 3.07 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.092e-05/0.01291, allocations: 27.73 kB / 295.7 MB, free: 3.043 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.01291, allocations: 0 / 295.7 MB, free: 3.043 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.573e-06/0.01292, allocations: 4 kB / 295.7 MB, free: 3.039 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.01292, allocations: 4 kB / 295.7 MB, free: 3.035 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.01292, allocations: 0 / 295.7 MB, free: 3.035 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001274/0.01305, allocations: 245.7 kB / 296 MB, free: 2.777 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.945e-05/0.01307, allocations: 7.938 kB / 296 MB, free: 2.77 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.037e-05/0.01312, allocations: 4 kB / 296 MB, free: 2.766 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.843e-05/0.01314, allocations: 15.97 kB / 296 MB, free: 2.75 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/0.01314, allocations: 0 / 296 MB, free: 2.75 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.154e-05/0.01319, allocations: 84.64 kB / 296.1 MB, free: 2.668 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01319, allocations: 0 / 296.1 MB, free: 2.668 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001771/0.01337, allocations: 63.84 kB / 296.2 MB, free: 2.605 MB / 282.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 6.564e-05/0.01343, allocations: 88.3 kB / 296.2 MB, free: 2.512 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001337/0.01357, allocations: 92.61 kB / 296.3 MB, free: 2.418 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/0.01358, allocations: 4 kB / 296.3 MB, free: 2.414 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.285e-05/0.01363, allocations: 42.06 kB / 296.4 MB, free: 2.371 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000358/0.01399, allocations: 0.4906 MB / 296.9 MB, free: 1.793 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003466/0.01745, allocations: 0.5117 MB / 297.4 MB, free: 1.25 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.489e-05/0.01751, allocations: 104.3 kB / 297.5 MB, free: 1.129 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.867e-05/0.01759, allocations: 30.28 kB / 297.5 MB, free: 1.102 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/0.0177, allocations: 95.34 kB / 297.6 MB, free: 1.008 MB / 282.7 MB Notification: Performance of SimCode: time 8.11e-07/0.0177, allocations: 0 / 297.6 MB, free: 1.008 MB / 282.7 MB Notification: Performance of Templates: time 0.003969/0.02167, allocations: 2.459 MB / 300.1 MB, free: 14.61 MB / 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 -emit_protected -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7853327309712768]