Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.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.001352/0.001352, allocations: 112.2 kB / 19.03 MB, free: 3.258 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.001244/0.001244, allocations: 192.4 kB / 22.22 MB, free: 80 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.454/1.454, 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.2211/0.2211, allocations: 38.53 MB / 344.5 MB, free: 2.684 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.Machines,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|motor.i|motor.v|motor.w_el|power.p",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Machines,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|motor.i|motor.v|motor.w_el|power.p",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 67.89 kB / 482.1 MB, free: 12.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3873/0.3892, allocations: 61.23 MB / 0.5306 GB, free: 5.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Machines): time 0.005955/0.3952, allocations: 4.668 MB / 0.5351 GB, free: 2.293 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002052/0.3972, allocations: 1.503 MB / 0.5366 GB, free: 1.219 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002328/0.3975, allocations: 12.78 kB / 0.5366 GB, free: 1.215 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004186/0.3979, allocations: 125.2 kB / 0.5367 GB, free: 1.113 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005839/0.3985, allocations: 283 kB / 0.537 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002598/0.3987, allocations: 118 kB / 0.5371 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006403/0.3994, allocations: 0.5003 MB / 0.5376 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002204/0.3996, allocations: 102.3 kB / 0.5377 GB, free: 460 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002469/0.3998, allocations: 209.5 kB / 0.5379 GB, free: 336 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002649/0.4001, allocations: 215 kB / 0.5381 GB, free: 204 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.468e-05/0.4001, allocations: 30.11 kB / 0.5381 GB, free: 200 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.09e-05/0.4002, allocations: 26.12 kB / 0.5382 GB, free: 200 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.4003, allocations: 104.5 kB / 0.5383 GB, free: 124 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001476/0.4004, allocations: 180.9 kB / 0.5384 GB, free: 4 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005108/0.401, allocations: 383.3 kB / 0.5388 GB, free: 15.74 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.401, allocations: 0 / 0.5388 GB, free: 15.74 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.401, allocations: 1.219 kB / 0.5388 GB, free: 15.74 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.286e-06/0.401, allocations: 0 / 0.5388 GB, free: 15.74 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001209/0.4022, allocations: 0.6725 MB / 0.5395 GB, free: 15.14 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/0.4022, allocations: 15.97 kB / 0.5395 GB, free: 15.14 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.761e-05/0.4023, allocations: 45.45 kB / 0.5395 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007082/0.403, allocations: 401.5 kB / 0.5399 GB, free: 14.76 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.104e-05/0.4031, allocations: 23.25 kB / 0.5399 GB, free: 14.75 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.641e-05/0.4031, allocations: 29.23 kB / 0.5399 GB, free: 14.74 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005488/0.4037, allocations: 334.2 kB / 0.5403 GB, free: 14.48 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/0.4037, allocations: 5.062 kB / 0.5403 GB, free: 14.48 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.169e-05/0.4037, allocations: 11.25 kB / 0.5403 GB, free: 14.47 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/0.4037, allocations: 7.5 kB / 0.5403 GB, free: 14.47 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003545/0.4041, allocations: 207.1 kB / 0.5405 GB, free: 14.37 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002009/0.4061, allocations: 1.483 MB / 0.5419 GB, free: 12.99 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004266/0.4065, allocations: 194 kB / 0.5421 GB, free: 12.83 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/0.4066, allocations: 73.19 kB / 0.5422 GB, free: 12.77 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.4067, allocations: 2.281 kB / 0.5422 GB, free: 12.77 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.914e-05/0.4067, allocations: 37.28 kB / 0.5422 GB, free: 12.73 MB / 398.1 MB Notification: Performance of pre-optimization done (n=17): time 3.727e-06/0.4067, allocations: 7.984 kB / 0.5422 GB, free: 12.72 MB / 398.1 MB Notification: Performance of matching and sorting (n=18): time 0.001222/0.4079, allocations: 0.6976 MB / 0.5429 GB, free: 12.17 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.909e-05/0.408, allocations: 138.7 kB / 0.543 GB, free: 12 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003607/0.4084, allocations: 312.7 kB / 0.5433 GB, free: 11.8 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.348e-05/0.4084, allocations: 31.11 kB / 0.5434 GB, free: 11.76 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001836/0.4086, allocations: 219.7 kB / 0.5436 GB, free: 11.56 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.988e-05/0.4087, allocations: 71.73 kB / 0.5437 GB, free: 11.5 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.99e-05/0.4087, allocations: 56.33 kB / 0.5437 GB, free: 11.46 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001842/0.4089, allocations: 346.8 kB / 0.544 GB, free: 11.12 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.931e-05/0.409, allocations: 46.27 kB / 0.5441 GB, free: 11.1 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002009/0.4092, allocations: 149 kB / 0.5442 GB, free: 10.94 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003152/0.4095, allocations: 226.9 kB / 0.5444 GB, free: 10.74 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4095, allocations: 0 / 0.5444 GB, free: 10.74 MB / 398.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003851/0.4099, allocations: 256.1 kB / 0.5447 GB, free: 10.61 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.4099, allocations: 10.47 kB / 0.5447 GB, free: 10.6 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.41, allocations: 3.438 kB / 0.5447 GB, free: 10.6 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.179e-05/0.41, allocations: 8.156 kB / 0.5447 GB, free: 10.6 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003838/0.4104, allocations: 78.7 kB / 0.5448 GB, free: 10.58 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001144/0.4115, allocations: 1.376 MB / 0.5461 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001453/0.4117, allocations: 8.25 kB / 0.5461 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.272e-05/0.4117, allocations: 9.438 kB / 0.5461 GB, free: 9.117 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 (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002161/0.4119, allocations: 173.3 kB / 0.5463 GB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.307e-05/0.412, allocations: 38.38 kB / 0.5463 GB, free: 8.938 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003521/0.4123, allocations: 181.7 kB / 0.5465 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.4123, allocations: 3.156 kB / 0.5465 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.4123, allocations: 2.062 kB / 0.5465 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-06/0.4124, allocations: 5.266 kB / 0.5465 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000973/0.4133, allocations: 0.5398 MB / 0.5471 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.4133, allocations: 5.094 kB / 0.5471 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002752/0.4136, allocations: 41.98 kB / 0.5471 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.4136, allocations: 1.344 kB / 0.5471 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.984e-05/0.4136, allocations: 10.45 kB / 0.5471 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.4136, allocations: 5.156 kB / 0.5471 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.4136, allocations: 1.219 kB / 0.5471 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000558/0.4142, allocations: 0.4967 MB / 0.5476 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.162e-05/0.4143, allocations: 101.1 kB / 0.5477 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.295e-05/0.4143, allocations: 7.281 kB / 0.5477 GB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000205/0.4145, allocations: 1.094 kB / 0.5477 GB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.232e-05/0.4146, allocations: 19.3 kB / 0.5477 GB, free: 7.797 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.4146, allocations: 4.719 kB / 0.5477 GB, free: 7.797 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000256/0.4149, allocations: 229.4 kB / 0.5479 GB, free: 7.641 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4149, allocations: 0 / 0.5479 GB, free: 7.641 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004599/0.4153, allocations: 56.59 kB / 0.548 GB, free: 7.637 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (rotor.phi,rotor.w,motor.i) * 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 (20): * Single equations (assignments): 19 * 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.0001443/0.4155, allocations: 110.7 kB / 0.5481 GB, free: 7.531 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004296/0.4159, allocations: 160.1 kB / 0.5483 GB, free: 7.461 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.4159, allocations: 128 / 0.5483 GB, free: 7.461 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001256/0.416, allocations: 68.94 kB / 0.5483 GB, free: 7.43 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008736/0.4169, allocations: 95 kB / 0.5484 GB, free: 7.383 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001875/0.4188, allocations: 0.8376 MB / 0.5492 GB, free: 6.797 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005979/0.4194, allocations: 0.8032 MB / 0.55 GB, free: 6.043 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002794/0.4196, allocations: 56.25 kB / 0.5501 GB, free: 6.012 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.4197, allocations: 26.25 kB / 0.5501 GB, free: 6.004 MB / 398.1 MB Notification: Performance of SimCode: time 7.02e-07/0.4197, allocations: 0 / 0.5501 GB, free: 6.004 MB / 398.1 MB Notification: Performance of Templates: time 0.009987/0.4297, allocations: 3.358 MB / 0.5534 GB, free: 4.367 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Machines.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.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: 4.973716741427779]