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.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.001247/0.001247, allocations: 112.2 kB / 21.19 MB, free: 0.7578 MB / 14.72 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.001378/0.001378, allocations: 209.8 kB / 24.5 MB, free: 4.133 MB / 14.72 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.408/1.408, allocations: 230.6 MB / 258.3 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1772/0.1772, allocations: 38.52 MB / 353.2 MB, free: 12.57 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 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.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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 82.47 kB / 493.8 MB, free: 4.426 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3307/0.3326, allocations: 62.46 MB / 0.5432 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed): time 0.006982/0.3396, allocations: 4.977 MB / 0.5481 GB, free: 12.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0027/0.3423, allocations: 1.516 MB / 0.5496 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002355/0.3425, allocations: 22.12 kB / 0.5496 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003583/0.3429, allocations: 106.7 kB / 0.5497 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006786/0.3436, allocations: 283.4 kB / 0.55 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000367/0.3439, allocations: 132.2 kB / 0.5501 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008225/0.3447, allocations: 0.5883 MB / 0.5507 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000425/0.3452, allocations: 298.6 kB / 0.5509 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004133/0.3456, allocations: 259.2 kB / 0.5512 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004073/0.346, allocations: 242.5 kB / 0.5514 GB, free: 10.26 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.073e-05/0.346, allocations: 39.75 kB / 0.5515 GB, free: 10.26 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.522e-05/0.3461, allocations: 40.28 kB / 0.5515 GB, free: 10.26 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001444/0.3463, allocations: 124.8 kB / 0.5516 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00022/0.3465, allocations: 221.7 kB / 0.5518 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006236/0.3471, allocations: 0.5072 MB / 0.5523 GB, free: 9.652 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3471, allocations: 4 kB / 0.5523 GB, free: 9.648 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3471, allocations: 0 / 0.5523 GB, free: 9.648 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.3471, allocations: 1.25 kB / 0.5523 GB, free: 9.648 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.001271/0.3484, allocations: 0.6395 MB / 0.553 GB, free: 9.129 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.3484, allocations: 18.3 kB / 0.553 GB, free: 9.121 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.576e-05/0.3485, allocations: 46.81 kB / 0.553 GB, free: 9.098 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006608/0.3492, allocations: 362.8 kB / 0.5534 GB, free: 8.801 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001158/0.3493, allocations: 84.22 kB / 0.5534 GB, free: 8.719 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.416e-05/0.3494, allocations: 36.28 kB / 0.5535 GB, free: 8.707 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006979/0.3501, allocations: 432.9 kB / 0.5539 GB, free: 8.398 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/0.3501, allocations: 1.031 kB / 0.5539 GB, free: 8.398 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.388e-05/0.3501, allocations: 11.31 kB / 0.5539 GB, free: 8.391 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.3501, allocations: 9.594 kB / 0.5539 GB, free: 8.391 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005005/0.3506, allocations: 278.9 kB / 0.5542 GB, free: 8.25 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002209/0.3529, allocations: 1.768 MB / 0.5559 GB, free: 6.652 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003368/0.3532, allocations: 177 kB / 0.5561 GB, free: 6.516 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001478/0.3533, allocations: 66.48 kB / 0.5561 GB, free: 6.469 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.484e-05/0.3534, allocations: 6.297 kB / 0.5561 GB, free: 6.465 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/0.3534, allocations: 40.75 kB / 0.5562 GB, free: 6.418 MB / 398.1 MB Notification: Performance of pre-optimization done (n=18): time 1.703e-06/0.3534, allocations: 4 kB / 0.5562 GB, free: 6.414 MB / 398.1 MB Notification: Performance of matching and sorting (n=19): time 0.001313/0.3547, allocations: 0.6479 MB / 0.5568 GB, free: 5.949 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.041e-05/0.3548, allocations: 110.2 kB / 0.5569 GB, free: 5.82 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003372/0.3551, allocations: 308.8 kB / 0.5572 GB, free: 5.617 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.466e-05/0.3551, allocations: 31.08 kB / 0.5572 GB, free: 5.582 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001841/0.3553, allocations: 251.3 kB / 0.5575 GB, free: 5.355 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.427e-05/0.3554, allocations: 73.23 kB / 0.5576 GB, free: 5.293 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.812e-05/0.3555, allocations: 64.73 kB / 0.5576 GB, free: 5.246 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.3557, allocations: 338.4 kB / 0.5579 GB, free: 4.914 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001633/0.3558, allocations: 74.61 kB / 0.558 GB, free: 4.879 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002584/0.3561, allocations: 204.7 kB / 0.5582 GB, free: 4.672 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004401/0.3565, allocations: 299.2 kB / 0.5585 GB, free: 4.402 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.3565, allocations: 3.938 kB / 0.5585 GB, free: 4.398 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005802/0.3571, allocations: 325.4 kB / 0.5588 GB, free: 4.074 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.3571, allocations: 15.92 kB / 0.5588 GB, free: 4.059 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.3571, allocations: 4 kB / 0.5588 GB, free: 4.055 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/0.3572, allocations: 8 kB / 0.5588 GB, free: 4.047 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002963/0.3575, allocations: 75.84 kB / 0.5589 GB, free: 3.973 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.63e-05/0.3575, allocations: 11.98 kB / 0.5589 GB, free: 3.961 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002018/0.3577, allocations: 15.98 kB / 0.5589 GB, free: 3.945 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.375e-05/0.3577, allocations: 16 kB / 0.5589 GB, free: 3.93 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.0002151/0.3579, allocations: 181.8 kB / 0.5591 GB, free: 3.742 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.092e-05/0.358, allocations: 31.75 kB / 0.5592 GB, free: 3.711 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003993/0.3584, allocations: 196.6 kB / 0.5593 GB, free: 3.508 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.3584, allocations: 4 kB / 0.5593 GB, free: 3.504 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.3584, allocations: 0 / 0.5593 GB, free: 3.504 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.3584, allocations: 0 / 0.5593 GB, free: 3.504 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009814/0.3594, allocations: 0.5957 MB / 0.5599 GB, free: 2.855 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3594, allocations: 3.938 kB / 0.5599 GB, free: 2.852 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002287/0.3596, allocations: 39.92 kB / 0.56 GB, free: 2.812 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/0.3596, allocations: 4 kB / 0.56 GB, free: 2.809 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.784e-05/0.3596, allocations: 8 kB / 0.56 GB, free: 2.801 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.3596, allocations: 3.984 kB / 0.56 GB, free: 2.797 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.3596, allocations: 4 kB / 0.56 GB, free: 2.793 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000616/0.3603, allocations: 463.1 kB / 0.5604 GB, free: 2.32 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.559e-05/0.3603, allocations: 23.81 kB / 0.5604 GB, free: 2.297 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.198e-05/0.3604, allocations: 4 kB / 0.5605 GB, free: 2.293 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001784/0.3605, allocations: 4 kB / 0.5605 GB, free: 2.289 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.504e-05/0.3606, allocations: 15.97 kB / 0.5605 GB, free: 2.273 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.3606, allocations: 12 kB / 0.5605 GB, free: 2.262 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002287/0.3608, allocations: 215.1 kB / 0.5607 GB, free: 2.051 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3608, allocations: 0 / 0.5607 GB, free: 2.051 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004217/0.3613, allocations: 75.94 kB / 0.5608 GB, free: 1.977 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.0001065/0.3614, allocations: 103.2 kB / 0.5609 GB, free: 1.863 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004338/0.3618, allocations: 188.1 kB / 0.561 GB, free: 1.68 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.3618, allocations: 4 kB / 0.561 GB, free: 1.676 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001703/0.362, allocations: 71.84 kB / 0.5611 GB, free: 1.605 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006386/0.3626, allocations: 105 kB / 0.5612 GB, free: 1.508 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001655/0.3643, allocations: 0.9228 MB / 0.5621 GB, free: 0.543 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004995/0.3648, allocations: 0.8184 MB / 0.5629 GB, free: 15.7 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.175e-05/0.3648, allocations: 27.44 kB / 0.5629 GB, free: 15.67 MB / 414.1 MB Notification: Performance of SimCode: time 4.8e-07/0.3648, allocations: 0 / 0.5629 GB, free: 15.67 MB / 414.1 MB Notification: Performance of Templates: time 0.007558/0.3724, allocations: 4.581 MB / 0.5674 GB, free: 11.11 MB / 414.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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.mat","/var/lib/jenkins1/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: 7.672466872027144]