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.002035/0.002035, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002466/0.002466, allocations: 211.7 kB / 23.73 MB, free: 4.387 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.616/1.616, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.1853/0.1853, allocations: 38.56 MB / 352.5 MB, free: 12.41 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.00207/0.00207, allocations: 67.89 kB / 493 MB, free: 4.219 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3738/0.3758, allocations: 62.46 MB / 0.5424 GB, free: 436 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed): time 0.007768/0.3836, allocations: 4.707 MB / 0.547 GB, free: 12.86 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00278/0.3864, allocations: 1.387 MB / 0.5484 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002315/0.3866, allocations: 22.22 kB / 0.5484 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004255/0.387, allocations: 106.8 kB / 0.5485 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007415/0.3878, allocations: 272.9 kB / 0.5488 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003684/0.3881, allocations: 135.8 kB / 0.5489 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008174/0.389, allocations: 0.5909 MB / 0.5495 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004499/0.3894, allocations: 278.6 kB / 0.5497 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003859/0.3898, allocations: 263.4 kB / 0.55 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003736/0.3902, allocations: 215.1 kB / 0.5502 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.603e-05/0.3902, allocations: 42.72 kB / 0.5502 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.957e-05/0.3903, allocations: 44.59 kB / 0.5503 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001547/0.3905, allocations: 126.3 kB / 0.5504 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002236/0.3907, allocations: 184.2 kB / 0.5506 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006747/0.3914, allocations: 0.5042 MB / 0.5511 GB, free: 9.965 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3914, allocations: 0 / 0.5511 GB, free: 9.965 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.3914, allocations: 4.875 kB / 0.5511 GB, free: 9.961 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.817e-06/0.3914, allocations: 0 / 0.5511 GB, free: 9.961 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.001474/0.3929, allocations: 0.6501 MB / 0.5517 GB, free: 9.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.3929, allocations: 13.23 kB / 0.5517 GB, free: 9.426 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001171/0.393, allocations: 47.69 kB / 0.5518 GB, free: 9.402 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007254/0.3938, allocations: 355 kB / 0.5521 GB, free: 9.113 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001325/0.3939, allocations: 85.09 kB / 0.5522 GB, free: 9.031 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.416e-05/0.394, allocations: 35.34 kB / 0.5522 GB, free: 9.02 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008227/0.3948, allocations: 431.8 kB / 0.5526 GB, free: 8.719 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.3e-05/0.3948, allocations: 5.156 kB / 0.5526 GB, free: 8.715 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.921e-05/0.3949, allocations: 19.69 kB / 0.5526 GB, free: 8.699 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/0.3949, allocations: 9.188 kB / 0.5527 GB, free: 8.699 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005188/0.3954, allocations: 268.8 kB / 0.5529 GB, free: 8.566 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002405/0.3978, allocations: 1.623 MB / 0.5545 GB, free: 7.105 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003906/0.3982, allocations: 169.6 kB / 0.5547 GB, free: 6.977 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001693/0.3984, allocations: 74.38 kB / 0.5547 GB, free: 6.922 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.485e-05/0.3984, allocations: 6.656 kB / 0.5547 GB, free: 6.918 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.857e-05/0.3984, allocations: 38.53 kB / 0.5548 GB, free: 6.875 MB / 398.1 MB Notification: Performance of pre-optimization done (n=18): time 1.633e-06/0.3984, allocations: 0 / 0.5548 GB, free: 6.875 MB / 398.1 MB Notification: Performance of matching and sorting (n=19): time 0.001473/0.3999, allocations: 0.6423 MB / 0.5554 GB, free: 6.414 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.083e-05/0.4, allocations: 110.2 kB / 0.5555 GB, free: 6.285 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003557/0.4003, allocations: 291.6 kB / 0.5558 GB, free: 6.086 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.057e-05/0.4004, allocations: 31.77 kB / 0.5558 GB, free: 6.051 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002142/0.4006, allocations: 255.5 kB / 0.5561 GB, free: 5.82 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.014e-05/0.4007, allocations: 68.3 kB / 0.5561 GB, free: 5.762 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/0.4008, allocations: 65.83 kB / 0.5562 GB, free: 5.715 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001813/0.401, allocations: 341.4 kB / 0.5565 GB, free: 5.379 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001663/0.4011, allocations: 74.59 kB / 0.5566 GB, free: 5.344 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002726/0.4014, allocations: 204.5 kB / 0.5568 GB, free: 5.133 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004392/0.4018, allocations: 294.4 kB / 0.5571 GB, free: 4.789 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.4018, allocations: 0 / 0.5571 GB, free: 4.789 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000575/0.4024, allocations: 329 kB / 0.5574 GB, free: 4.461 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.4024, allocations: 6.812 kB / 0.5574 GB, free: 4.457 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.4024, allocations: 11.94 kB / 0.5574 GB, free: 4.445 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.663e-05/0.4025, allocations: 4 kB / 0.5574 GB, free: 4.441 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003351/0.4028, allocations: 76.41 kB / 0.5575 GB, free: 4.367 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.587e-05/0.4028, allocations: 12 kB / 0.5575 GB, free: 4.355 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001793/0.403, allocations: 15.94 kB / 0.5575 GB, free: 4.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.397e-05/0.403, allocations: 23.94 kB / 0.5575 GB, free: 4.316 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.000267/0.4033, allocations: 181.6 kB / 0.5577 GB, free: 4.129 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.186e-05/0.4034, allocations: 31.81 kB / 0.5577 GB, free: 4.098 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004224/0.4038, allocations: 195.8 kB / 0.5579 GB, free: 3.895 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.4038, allocations: 4 kB / 0.5579 GB, free: 3.891 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.4038, allocations: 0 / 0.5579 GB, free: 3.891 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.4038, allocations: 0 / 0.5579 GB, free: 3.891 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009231/0.4047, allocations: 0.5106 MB / 0.5584 GB, free: 3.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.4047, allocations: 4 kB / 0.5584 GB, free: 3.336 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002239/0.405, allocations: 35.92 kB / 0.5584 GB, free: 3.301 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.405, allocations: 4 kB / 0.5584 GB, free: 3.297 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.203e-05/0.405, allocations: 11.98 kB / 0.5585 GB, free: 3.285 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.405, allocations: 0 / 0.5585 GB, free: 3.285 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.405, allocations: 0 / 0.5585 GB, free: 3.285 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006642/0.4057, allocations: 452.1 kB / 0.5589 GB, free: 2.82 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.409e-05/0.4057, allocations: 27.81 kB / 0.5589 GB, free: 2.793 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.794e-05/0.4058, allocations: 0 / 0.5589 GB, free: 2.793 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001783/0.4059, allocations: 8 kB / 0.5589 GB, free: 2.785 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.311e-05/0.406, allocations: 20.02 kB / 0.5589 GB, free: 2.766 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.254e-05/0.406, allocations: 4 kB / 0.5589 GB, free: 2.762 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002127/0.4062, allocations: 199.1 kB / 0.5591 GB, free: 2.566 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4062, allocations: 0 / 0.5591 GB, free: 2.566 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004242/0.4067, allocations: 68 kB / 0.5592 GB, free: 2.5 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.0001185/0.4068, allocations: 111.1 kB / 0.5593 GB, free: 2.383 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004193/0.4072, allocations: 199.4 kB / 0.5595 GB, free: 2.188 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4072, allocations: 0 / 0.5595 GB, free: 2.188 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000172/0.4074, allocations: 79.98 kB / 0.5596 GB, free: 2.113 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000637/0.408, allocations: 91.73 kB / 0.5597 GB, free: 2.031 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001677/0.4097, allocations: 0.8938 MB / 0.5605 GB, free: 1.098 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002412/0.4099, allocations: 206.5 kB / 0.5607 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001667/0.4101, allocations: 42.95 kB / 0.5608 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.105e-05/0.4102, allocations: 27.44 kB / 0.5608 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4102, allocations: 0 / 0.5608 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of Templates: time 0.008182/0.4183, allocations: 3.463 MB / 0.5642 GB, free: 13.4 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/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.482843991369009]