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.00105/0.00105, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001517/0.002567, allocations: 449.7 kB / 10.37 MB, free: 328 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.001075/0.001075, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00134/0.002416, allocations: 455.6 kB / 11.71 MB, free: 2.461 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 0.9349/0.9349, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08477/1.02, allocations: 53.66 MB / 243.3 MB, free: 15.57 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.1982/0.1982, allocations: 29.43 MB / 273.4 MB, free: 1.488 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1165/0.3147, allocations: 9.526 MB / 283 MB, free: 12.86 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.453e-06/1.453e-06, allocations: 0 / 284.2 MB, free: 11.94 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.101e-05/2.246e-05, allocations: 5.781 kB / 284.2 MB, free: 11.94 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor): time 0.004474/0.004497, allocations: 3.974 MB / 288.2 MB, free: 8.785 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001365/0.005862, allocations: 0.9177 MB / 289.1 MB, free: 8.066 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001737/0.006035, allocations: 15.38 kB / 289.1 MB, free: 8.059 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001527/0.006188, allocations: 51.75 kB / 289.2 MB, free: 8.012 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003684/0.006557, allocations: 185.9 kB / 289.4 MB, free: 7.859 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001993/0.006756, allocations: 95.48 kB / 289.5 MB, free: 7.781 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003623/0.007118, allocations: 414.1 kB / 289.9 MB, free: 7.555 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001669/0.007285, allocations: 81.2 kB / 290 MB, free: 7.504 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003978/0.007683, allocations: 284.2 kB / 290.2 MB, free: 7.344 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002272/0.00791, allocations: 171.3 kB / 290.4 MB, free: 7.254 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.136e-05/0.007941, allocations: 23.19 kB / 290.4 MB, free: 7.25 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.636e-05/0.007978, allocations: 20.62 kB / 290.4 MB, free: 7.25 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.097e-05/0.008059, allocations: 94.75 kB / 290.5 MB, free: 7.211 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.122e-05/0.00815, allocations: 81.84 kB / 290.6 MB, free: 7.199 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002855/0.008435, allocations: 211.9 kB / 290.8 MB, free: 7.098 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.26e-05/0.008448, allocations: 0 / 290.8 MB, free: 7.098 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.163e-06/0.008449, allocations: 0 / 290.8 MB, free: 7.098 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.627e-05/0.008465, allocations: 1.25 kB / 290.8 MB, free: 7.098 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.0007677/0.009233, allocations: 0.5763 MB / 291.4 MB, free: 6.66 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.009267, allocations: 8.344 kB / 291.4 MB, free: 6.66 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.153e-05/0.009338, allocations: 40.59 kB / 291.4 MB, free: 6.645 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000308/0.009646, allocations: 271.2 kB / 291.7 MB, free: 6.43 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.009662, allocations: 13.81 kB / 291.7 MB, free: 6.426 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.514e-05/0.009687, allocations: 26.97 kB / 291.7 MB, free: 6.414 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002299/0.009917, allocations: 222.4 kB / 292 MB, free: 6.23 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.009928, allocations: 7.875 kB / 292 MB, free: 6.223 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.009944, allocations: 14.69 kB / 292 MB, free: 6.211 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.009952, allocations: 6.875 kB / 292 MB, free: 6.211 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001051/0.01006, allocations: 75.78 kB / 292.1 MB, free: 6.184 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009284/0.01099, allocations: 1.089 MB / 293.2 MB, free: 5.207 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002071/0.01119, allocations: 146.7 kB / 293.3 MB, free: 5.082 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.186e-05/0.01123, allocations: 27.89 kB / 293.3 MB, free: 5.059 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/0.01125, allocations: 6.5 kB / 293.3 MB, free: 5.055 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.01127, allocations: 33.03 kB / 293.4 MB, free: 5.016 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 2.194e-06/0.01128, allocations: 0 / 293.4 MB, free: 5.016 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002761/0.01155, allocations: 136.7 kB / 293.5 MB, free: 4.941 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/0.01159, allocations: 82.58 kB / 293.6 MB, free: 4.844 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.01174, allocations: 252.5 kB / 293.8 MB, free: 4.656 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.01175, allocations: 33.83 kB / 293.9 MB, free: 4.617 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.955e-05/0.01182, allocations: 179.2 kB / 294 MB, free: 4.457 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.555e-05/0.01184, allocations: 45 kB / 294.1 MB, free: 4.418 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.706e-05/0.01189, allocations: 48.95 kB / 294.1 MB, free: 4.379 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.8e-05/0.01197, allocations: 332.5 kB / 294.4 MB, free: 4.051 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.829e-05/0.012, allocations: 20.94 kB / 294.5 MB, free: 4.043 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.876e-05/0.01207, allocations: 113.5 kB / 294.6 MB, free: 3.914 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.0122, allocations: 155.2 kB / 294.7 MB, free: 3.762 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.0122, allocations: 1.125 kB / 294.7 MB, free: 3.762 MB / 282.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001551/0.01235, allocations: 161.3 kB / 294.9 MB, free: 3.664 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.01237, allocations: 6.312 kB / 294.9 MB, free: 3.664 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.01238, allocations: 4 kB / 294.9 MB, free: 3.664 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.01239, allocations: 4 kB / 294.9 MB, free: 3.664 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001666/0.01255, allocations: 55.31 kB / 295 MB, free: 3.648 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.01256, allocations: 9.812 kB / 295 MB, free: 3.645 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.211e-05/0.01263, allocations: 21.06 kB / 295 MB, free: 3.633 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.01264, allocations: 16.58 kB / 295 MB, free: 3.621 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.549e-05/0.01272, allocations: 125.8 kB / 295.1 MB, free: 3.492 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.192e-05/0.01275, allocations: 17.48 kB / 295.1 MB, free: 3.484 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001476/0.0129, allocations: 118.1 kB / 295.3 MB, free: 3.398 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.227e-06/0.0129, allocations: 2.25 kB / 295.3 MB, free: 3.398 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.0129, allocations: 4.969 kB / 295.3 MB, free: 3.395 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.01291, allocations: 0 / 295.3 MB, free: 3.395 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001534/0.01306, allocations: 147.6 kB / 295.4 MB, free: 3.25 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.01306, allocations: 0 / 295.4 MB, free: 3.25 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.127e-05/0.01315, allocations: 35.92 kB / 295.4 MB, free: 3.215 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.255e-05/0.01318, allocations: 31.72 kB / 295.5 MB, free: 3.184 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.217e-06/0.01318, allocations: 4 kB / 295.5 MB, free: 3.18 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.816e-06/0.01319, allocations: 4 kB / 295.5 MB, free: 3.176 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.01319, allocations: 0 / 295.5 MB, free: 3.176 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.01319, allocations: 0 / 295.5 MB, free: 3.176 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001316/0.01332, allocations: 241.2 kB / 295.7 MB, free: 2.922 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/0.01334, allocations: 7.938 kB / 295.7 MB, free: 2.914 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.905e-05/0.01339, allocations: 4 kB / 295.7 MB, free: 2.91 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.922e-05/0.01341, allocations: 11.92 kB / 295.7 MB, free: 2.898 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-06/0.01342, allocations: 4 kB / 295.7 MB, free: 2.895 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.272e-05/0.01347, allocations: 92.62 kB / 295.8 MB, free: 2.805 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01347, allocations: 0 / 295.8 MB, free: 2.805 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001804/0.01365, allocations: 59.84 kB / 295.9 MB, free: 2.746 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 7.945e-05/0.01373, allocations: 88.34 kB / 296 MB, free: 2.652 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004868/0.01422, allocations: 87.08 kB / 296.1 MB, free: 2.566 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/0.01422, allocations: 4 kB / 296.1 MB, free: 2.562 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.167e-05/0.01426, allocations: 48.81 kB / 296.1 MB, free: 2.512 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002782/0.01454, allocations: 72.73 kB / 296.2 MB, free: 2.441 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003495/0.01804, allocations: 0.5218 MB / 296.7 MB, free: 1.891 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.485e-05/0.0181, allocations: 96.3 kB / 296.8 MB, free: 1.777 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001054/0.01821, allocations: 34.27 kB / 296.8 MB, free: 1.746 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/0.01832, allocations: 99.34 kB / 296.9 MB, free: 1.648 MB / 282.7 MB Notification: Performance of SimCode: time 1.182e-06/0.01833, allocations: 0 / 296.9 MB, free: 1.648 MB / 282.7 MB Notification: Performance of Templates: time 0.005355/0.02368, allocations: 2.54 MB / 299.5 MB, free: 15.17 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6769919395446777]