Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.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.001225/0.001225, 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.001249/0.001249, allocations: 190 kB / 22.21 MB, free: 112 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.459/1.459, 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.1824/0.1824, allocations: 38.52 MB / 344.5 MB, free: 2.602 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.Drives.DCcharSpeed,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|efficiency.eta|machine.motor.tau_el|machine.motor.w_el",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|efficiency.eta|machine.motor.tau_el|machine.motor.w_el",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 63.91 kB / 482.1 MB, free: 12.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3557/0.3577, allocations: 61.24 MB / 0.5306 GB, free: 5.523 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed): time 0.006108/0.3638, allocations: 4.941 MB / 0.5354 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002068/0.3659, allocations: 1.495 MB / 0.5369 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002071/0.3661, allocations: 14.94 kB / 0.5369 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000347/0.3664, allocations: 115.7 kB / 0.537 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005295/0.367, allocations: 266.6 kB / 0.5372 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002874/0.3673, allocations: 142.9 kB / 0.5374 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006264/0.3679, allocations: 0.5886 MB / 0.5379 GB, free: 224 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003612/0.3683, allocations: 290 kB / 0.5382 GB, free: 24 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003483/0.3686, allocations: 245.1 kB / 0.5385 GB, free: 15.88 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003972/0.369, allocations: 246 kB / 0.5387 GB, free: 15.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.844e-05/0.3691, allocations: 39.88 kB / 0.5387 GB, free: 15.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.057e-05/0.3691, allocations: 39.97 kB / 0.5388 GB, free: 15.73 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001561/0.3693, allocations: 118.1 kB / 0.5389 GB, free: 15.64 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002658/0.3696, allocations: 236.8 kB / 0.5391 GB, free: 15.48 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006196/0.3702, allocations: 0.4994 MB / 0.5396 GB, free: 15.12 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3702, allocations: 0 / 0.5396 GB, free: 15.12 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3702, allocations: 1.406 kB / 0.5396 GB, free: 15.12 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.797e-06/0.3702, allocations: 0 / 0.5396 GB, free: 15.12 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001356/0.3715, allocations: 0.7285 MB / 0.5403 GB, free: 14.49 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.3716, allocations: 8.875 kB / 0.5403 GB, free: 14.49 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001442/0.3717, allocations: 47.56 kB / 0.5404 GB, free: 14.46 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008086/0.3725, allocations: 419.6 kB / 0.5408 GB, free: 14.1 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.376e-05/0.3726, allocations: 58.23 kB / 0.5408 GB, free: 14.05 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.161e-05/0.3727, allocations: 40.39 kB / 0.5408 GB, free: 14.04 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007426/0.3735, allocations: 432.8 kB / 0.5413 GB, free: 13.72 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.372e-05/0.3735, allocations: 9.469 kB / 0.5413 GB, free: 13.71 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.641e-05/0.3735, allocations: 11.56 kB / 0.5413 GB, free: 13.71 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.256e-05/0.3735, allocations: 8.938 kB / 0.5413 GB, free: 13.71 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006317/0.3742, allocations: 277.6 kB / 0.5416 GB, free: 13.57 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002367/0.3765, allocations: 1.832 MB / 0.5433 GB, free: 11.9 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003994/0.3769, allocations: 173.3 kB / 0.5435 GB, free: 11.77 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002515/0.3772, allocations: 74.86 kB / 0.5436 GB, free: 11.71 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.78e-05/0.3772, allocations: 2.312 kB / 0.5436 GB, free: 11.71 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.431e-05/0.3773, allocations: 39.84 kB / 0.5436 GB, free: 11.66 MB / 398.1 MB Notification: Performance of pre-optimization done (n=18): time 2.565e-06/0.3773, allocations: 1.406 kB / 0.5436 GB, free: 11.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=19): time 0.001498/0.3788, allocations: 0.7203 MB / 0.5443 GB, free: 11.11 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.564e-05/0.3788, allocations: 106 kB / 0.5444 GB, free: 10.98 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003609/0.3792, allocations: 319.8 kB / 0.5447 GB, free: 10.77 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.3792, allocations: 30.8 kB / 0.5448 GB, free: 10.73 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001944/0.3794, allocations: 247.6 kB / 0.545 GB, free: 10.51 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.359e-05/0.3795, allocations: 72.69 kB / 0.5451 GB, free: 10.45 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/0.3796, allocations: 68.59 kB / 0.5451 GB, free: 10.39 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001807/0.3798, allocations: 343 kB / 0.5455 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001662/0.3799, allocations: 69.48 kB / 0.5455 GB, free: 10.03 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002599/0.3802, allocations: 200.8 kB / 0.5457 GB, free: 9.824 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004616/0.3807, allocations: 295 kB / 0.546 GB, free: 9.57 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3807, allocations: 1.312 kB / 0.546 GB, free: 9.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005701/0.3812, allocations: 323.9 kB / 0.5463 GB, free: 9.398 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.3813, allocations: 11.31 kB / 0.5463 GB, free: 9.395 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.3813, allocations: 4.562 kB / 0.5463 GB, free: 9.395 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/0.3813, allocations: 6.25 kB / 0.5463 GB, free: 9.395 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003018/0.3816, allocations: 83.3 kB / 0.5464 GB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.3816, allocations: 6.156 kB / 0.5464 GB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001834/0.3818, allocations: 14.64 kB / 0.5464 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.3818, allocations: 16.09 kB / 0.5464 GB, free: 9.359 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (40): * Single equations (assignments): 40 * 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.0001988/0.382, allocations: 185 kB / 0.5466 GB, free: 9.195 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.82e-05/0.3821, allocations: 39.44 kB / 0.5467 GB, free: 9.172 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004211/0.3825, allocations: 186.9 kB / 0.5468 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.3825, allocations: 2.594 kB / 0.5468 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/0.3825, allocations: 1.125 kB / 0.5468 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.3825, allocations: 5.359 kB / 0.5468 GB, free: 9.043 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009586/0.3835, allocations: 0.6084 MB / 0.5474 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/0.3835, allocations: 8.984 kB / 0.5474 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002376/0.3837, allocations: 39.58 kB / 0.5475 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/0.3837, allocations: 9.969 kB / 0.5475 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.096e-05/0.3838, allocations: 6.406 kB / 0.5475 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.3838, allocations: 1.156 kB / 0.5475 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3838, allocations: 1.188 kB / 0.5475 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000651/0.3844, allocations: 453.3 kB / 0.5479 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.2e-05/0.3845, allocations: 109 kB / 0.548 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.368e-05/0.3846, allocations: 2.844 kB / 0.548 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001836/0.3847, allocations: 7.406 kB / 0.5481 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.027e-05/0.3848, allocations: 14.48 kB / 0.5481 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.076e-05/0.3848, allocations: 17.2 kB / 0.5481 GB, free: 8.02 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000233/0.3851, allocations: 216.5 kB / 0.5483 GB, free: 7.879 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3851, allocations: 0 / 0.5483 GB, free: 7.879 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004368/0.3855, allocations: 70.91 kB / 0.5484 GB, free: 7.871 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (efficiency.pav,efficiency.qav,machine.rotor.phi,machine.rotor.w) * 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.0001252/0.3856, allocations: 104.6 kB / 0.5485 GB, free: 7.777 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004904/0.3861, allocations: 205.4 kB / 0.5487 GB, free: 7.684 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.3861, allocations: 1.125 kB / 0.5487 GB, free: 7.684 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001808/0.3863, allocations: 75.44 kB / 0.5487 GB, free: 7.652 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006943/0.387, allocations: 107.8 kB / 0.5488 GB, free: 7.594 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001804/0.3888, allocations: 0.8977 MB / 0.5497 GB, free: 6.953 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004967/0.3893, allocations: 0.8165 MB / 0.5505 GB, free: 6.191 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001769/0.3895, allocations: 50.11 kB / 0.5505 GB, free: 6.164 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.861e-05/0.3895, allocations: 26.16 kB / 0.5506 GB, free: 6.156 MB / 398.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3895, allocations: 0 / 0.5506 GB, free: 6.156 MB / 398.1 MB Notification: Performance of Templates: time 0.008405/0.3979, allocations: 3.594 MB / 0.5541 GB, free: 3.895 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.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.035155336372554]