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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001602/0.001602, allocations: 114.9 kB / 19.04 MB, free: 3.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001552/0.001552, allocations: 186 kB / 22.21 MB, free: 116 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 225.6 MB / 250.8 MB, free: 13.39 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2208/0.2208, allocations: 38.53 MB / 344.5 MB, free: 2.59 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=740,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=740,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 0.001931/0.001931, allocations: 63.91 kB / 482.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.387/0.389, allocations: 61.24 MB / 0.5306 GB, free: 5.492 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor): time 0.005235/0.3942, allocations: 4.164 MB / 0.5346 GB, free: 2.594 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001379/0.3956, allocations: 0.9131 MB / 0.5355 GB, free: 1.949 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001743/0.3957, allocations: 14.75 kB / 0.5355 GB, free: 1.941 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002285/0.396, allocations: 44.48 kB / 0.5356 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004726/0.3964, allocations: 189.6 kB / 0.5358 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002113/0.3967, allocations: 96.97 kB / 0.5359 GB, free: 1.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003702/0.397, allocations: 399.4 kB / 0.5362 GB, free: 1.531 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002021/0.3972, allocations: 76.64 kB / 0.5363 GB, free: 1.488 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002317/0.3975, allocations: 185.1 kB / 0.5365 GB, free: 1.383 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003272/0.3978, allocations: 215.5 kB / 0.5367 GB, free: 1.258 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.475e-05/0.3978, allocations: 21.25 kB / 0.5367 GB, free: 1.258 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.086e-05/0.3979, allocations: 21.06 kB / 0.5367 GB, free: 1.258 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.398, allocations: 110.7 kB / 0.5368 GB, free: 1.184 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001346/0.3981, allocations: 154.6 kB / 0.537 GB, free: 1.082 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003213/0.3984, allocations: 317.6 kB / 0.5373 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3984, allocations: 0 / 0.5373 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.3984, allocations: 1.375 kB / 0.5373 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.3985, allocations: 0 / 0.5373 GB, free: 0.8711 MB / 382.1 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.0009952/0.3995, allocations: 0.6304 MB / 0.5379 GB, free: 316 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.3995, allocations: 13.48 kB / 0.5379 GB, free: 312 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.193e-05/0.3996, allocations: 35.83 kB / 0.538 GB, free: 292 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004322/0.4, allocations: 349.7 kB / 0.5383 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.667e-05/0.4, allocations: 18.22 kB / 0.5383 GB, free: 15.95 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.319e-05/0.4001, allocations: 29.45 kB / 0.5383 GB, free: 15.94 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005195/0.4006, allocations: 318 kB / 0.5386 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.996e-05/0.4006, allocations: 5.422 kB / 0.5386 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.916e-05/0.4006, allocations: 6.562 kB / 0.5386 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.4006, allocations: 5.781 kB / 0.5387 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000403/0.401, allocations: 216.9 kB / 0.5389 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001733/0.4028, allocations: 1.343 MB / 0.5402 GB, free: 14.37 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000346/0.4031, allocations: 135.4 kB / 0.5403 GB, free: 14.28 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001229/0.4032, allocations: 60.69 kB / 0.5404 GB, free: 14.23 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/0.4033, allocations: 2.094 kB / 0.5404 GB, free: 14.23 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.949e-05/0.4033, allocations: 40.03 kB / 0.5404 GB, free: 14.19 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.202e-06/0.4033, allocations: 0 / 0.5404 GB, free: 14.19 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008074/0.4041, allocations: 371.9 kB / 0.5408 GB, free: 13.96 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.524e-05/0.4042, allocations: 79.95 kB / 0.5408 GB, free: 13.87 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002825/0.4045, allocations: 255.6 kB / 0.5411 GB, free: 13.7 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/0.4045, allocations: 29.7 kB / 0.5411 GB, free: 13.66 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001614/0.4047, allocations: 214.6 kB / 0.5413 GB, free: 13.46 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.443e-05/0.4047, allocations: 44.59 kB / 0.5413 GB, free: 13.43 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.82e-05/0.4048, allocations: 49.94 kB / 0.5414 GB, free: 13.39 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002346/0.405, allocations: 340.5 kB / 0.5417 GB, free: 13.05 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.604e-05/0.4051, allocations: 52.47 kB / 0.5418 GB, free: 13.03 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001704/0.4053, allocations: 146.3 kB / 0.5419 GB, free: 12.88 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003098/0.4056, allocations: 233.8 kB / 0.5421 GB, free: 12.67 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.4056, allocations: 1.469 kB / 0.5421 GB, free: 12.67 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003812/0.406, allocations: 253.3 kB / 0.5424 GB, free: 12.53 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.406, allocations: 6.781 kB / 0.5424 GB, free: 12.53 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.406, allocations: 3.5 kB / 0.5424 GB, free: 12.53 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/0.406, allocations: 5.469 kB / 0.5424 GB, free: 12.53 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001843/0.4062, allocations: 47.31 kB / 0.5424 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/0.4062, allocations: 8.75 kB / 0.5424 GB, free: 12.51 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001222/0.4063, allocations: 9.188 kB / 0.5425 GB, free: 12.51 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.25e-05/0.4064, allocations: 12.33 kB / 0.5425 GB, free: 12.5 MB / 398.1 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 0.0001807/0.4065, allocations: 163.1 kB / 0.5426 GB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.214e-05/0.4066, allocations: 35.41 kB / 0.5427 GB, free: 12.33 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003483/0.4069, allocations: 195.6 kB / 0.5428 GB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.4069, allocations: 1.531 kB / 0.5428 GB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.4069, allocations: 1.656 kB / 0.5428 GB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.4069, allocations: 3.938 kB / 0.5428 GB, free: 12.2 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007495/0.4077, allocations: 0.5547 MB / 0.5434 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.4077, allocations: 5.531 kB / 0.5434 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000139/0.4078, allocations: 33.86 kB / 0.5434 GB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.4078, allocations: 5.375 kB / 0.5434 GB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.4079, allocations: 1.781 kB / 0.5434 GB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.4079, allocations: 5.344 kB / 0.5434 GB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.4079, allocations: 1.375 kB / 0.5434 GB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003279/0.4082, allocations: 289.9 kB / 0.5437 GB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.062e-05/0.4083, allocations: 99.66 kB / 0.5438 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.308e-05/0.4083, allocations: 6.094 kB / 0.5438 GB, free: 11.37 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.4084, allocations: 13 kB / 0.5438 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.591e-05/0.4085, allocations: 13.56 kB / 0.5438 GB, free: 11.35 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.648e-05/0.4085, allocations: 8.453 kB / 0.5439 GB, free: 11.35 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001927/0.4087, allocations: 182.8 kB / 0.544 GB, free: 11.22 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4087, allocations: 0 / 0.544 GB, free: 11.22 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003361/0.409, allocations: 49 kB / 0.5441 GB, free: 11.22 MB / 398.1 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 0.0001345/0.4091, allocations: 105.6 kB / 0.5442 GB, free: 11.12 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003204/0.4095, allocations: 148.3 kB / 0.5443 GB, free: 11.06 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4095, allocations: 1.219 kB / 0.5443 GB, free: 11.06 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001226/0.4096, allocations: 73.89 kB / 0.5444 GB, free: 11.03 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004836/0.4101, allocations: 57.7 kB / 0.5444 GB, free: 11 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009644/0.411, allocations: 0.5353 MB / 0.545 GB, free: 10.63 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004635/0.4115, allocations: 0.787 MB / 0.5457 GB, free: 9.879 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001344/0.4116, allocations: 44.2 kB / 0.5458 GB, free: 9.855 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.552e-05/0.4117, allocations: 21.75 kB / 0.5458 GB, free: 9.848 MB / 398.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4117, allocations: 0 / 0.5458 GB, free: 9.848 MB / 398.1 MB Notification: Performance of Templates: time 0.006366/0.4181, allocations: 2.349 MB / 0.5481 GB, free: 8.68 MB / 398.1 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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.02052834816277]