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.0009504/0.0009504, allocations: 80.31 kB / 22.21 MB, free: 2.289 MB / 18.57 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.001309/0.001309, allocations: 168.4 kB / 25.61 MB, free: 8.906 MB / 18.57 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 0.9722/0.9722, allocations: 177.2 MB / 206.1 MB, free: 4.461 MB / 186.7 MB " [Timeout remaining time 179] 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.1353/0.1353, allocations: 29.43 MB / 292 MB, free: 2.625 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 370.9 MB, free: 32.3 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.207e-05/2.39e-05, allocations: 6.312 kB / 370.9 MB, free: 32.29 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed): time 0.004184/0.004208, allocations: 4.552 MB / 375.4 MB, free: 27.72 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001729/0.005937, allocations: 1.46 MB / 376.9 MB, free: 26.25 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002554/0.006193, allocations: 19.81 kB / 376.9 MB, free: 26.23 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003121/0.006505, allocations: 111.1 kB / 377 MB, free: 26.12 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005279/0.007032, allocations: 266.2 kB / 377.3 MB, free: 25.86 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002754/0.007308, allocations: 147.7 kB / 377.4 MB, free: 25.72 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005119/0.00782, allocations: 0.5991 MB / 378 MB, free: 25.12 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002724/0.008092, allocations: 303.3 kB / 378.3 MB, free: 24.82 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003279/0.00842, allocations: 367.1 kB / 378.7 MB, free: 24.46 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002436/0.008664, allocations: 199.4 kB / 378.9 MB, free: 24.27 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.761e-05/0.008701, allocations: 43.94 kB / 378.9 MB, free: 24.22 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.936e-05/0.008741, allocations: 40 kB / 379 MB, free: 24.18 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.492e-05/0.008816, allocations: 127.6 kB / 379.1 MB, free: 24.06 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 9.475e-05/0.00891, allocations: 151.7 kB / 379.2 MB, free: 23.91 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002822/0.009193, allocations: 322.9 kB / 379.6 MB, free: 23.59 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.009197, allocations: 0 / 379.6 MB, free: 23.59 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.009198, allocations: 0 / 379.6 MB, free: 23.59 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.009203, allocations: 0 / 379.6 MB, free: 23.59 MB / 314.7 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.0006686/0.009872, allocations: 0.7427 MB / 380.3 MB, free: 22.81 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.009906, allocations: 12.03 kB / 380.3 MB, free: 22.8 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.078e-05/0.009987, allocations: 76.66 kB / 380.4 MB, free: 22.72 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003728/0.01036, allocations: 354.8 kB / 380.7 MB, free: 22.35 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.862e-05/0.01043, allocations: 84.95 kB / 380.8 MB, free: 22.26 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.098e-05/0.01047, allocations: 40.12 kB / 380.9 MB, free: 22.22 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002718/0.01074, allocations: 353.2 kB / 381.2 MB, free: 21.82 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/0.01076, allocations: 7.953 kB / 381.2 MB, free: 21.81 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.229e-05/0.01078, allocations: 16 kB / 381.2 MB, free: 21.79 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.01079, allocations: 11.94 kB / 381.2 MB, free: 21.78 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001212/0.01091, allocations: 108.4 kB / 381.3 MB, free: 21.68 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001076/0.01199, allocations: 2.04 MB / 383.4 MB, free: 19.54 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001692/0.01216, allocations: 149.1 kB / 383.5 MB, free: 19.36 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.77e-05/0.0122, allocations: 51.11 kB / 383.6 MB, free: 19.29 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.01223, allocations: 4 kB / 383.6 MB, free: 19.29 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.01226, allocations: 33.39 kB / 383.6 MB, free: 19.25 MB / 314.7 MB Notification: Performance of pre-optimization done (n=18): time 2.404e-06/0.01226, allocations: 0 / 383.6 MB, free: 19.25 MB / 314.7 MB Notification: Performance of matching and sorting (n=19): time 0.00066/0.01292, allocations: 394.2 kB / 384 MB, free: 18.83 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/0.01296, allocations: 114.7 kB / 384.1 MB, free: 18.69 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001849/0.01315, allocations: 338 kB / 384.4 MB, free: 18.34 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.01316, allocations: 29.7 kB / 384.5 MB, free: 18.3 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.01328, allocations: 298.7 kB / 384.8 MB, free: 18.01 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.918e-05/0.01332, allocations: 75.36 kB / 384.8 MB, free: 17.93 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.656e-05/0.01338, allocations: 67.62 kB / 384.9 MB, free: 17.86 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.619e-05/0.01348, allocations: 0.5234 MB / 385.4 MB, free: 17.32 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.748e-05/0.01353, allocations: 32.62 kB / 385.5 MB, free: 17.29 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001033/0.01363, allocations: 212 kB / 385.7 MB, free: 17.01 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001839/0.01381, allocations: 265 kB / 385.9 MB, free: 16.67 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.01381, allocations: 7.938 kB / 385.9 MB, free: 16.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002411/0.01406, allocations: 257 kB / 386.2 MB, free: 16.41 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.01407, allocations: 8 kB / 386.2 MB, free: 16.4 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.01408, allocations: 4 kB / 386.2 MB, free: 16.39 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.01409, allocations: 4 kB / 386.2 MB, free: 16.39 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.01425, allocations: 80.41 kB / 386.3 MB, free: 16.31 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.01426, allocations: 15.92 kB / 386.3 MB, free: 16.3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.511e-05/0.01435, allocations: 16 kB / 386.3 MB, free: 16.28 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.01436, allocations: 12 kB / 386.3 MB, free: 16.27 MB / 314.7 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 7.988e-05/0.01444, allocations: 180.4 kB / 386.5 MB, free: 16.08 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.614e-05/0.01448, allocations: 39.75 kB / 386.5 MB, free: 16.04 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00015/0.01463, allocations: 135.8 kB / 386.7 MB, free: 15.9 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.01464, allocations: 4 kB / 386.7 MB, free: 15.9 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.01464, allocations: 3.938 kB / 386.7 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.01464, allocations: 3.984 kB / 386.7 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003773/0.01502, allocations: 475.4 kB / 387.1 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.01502, allocations: 4 kB / 387.1 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001232/0.01515, allocations: 39.91 kB / 387.2 MB, free: 15.35 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.01515, allocations: 4 kB / 387.2 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.01516, allocations: 8 kB / 387.2 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.01517, allocations: 3.938 kB / 387.2 MB, free: 15.33 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.01517, allocations: 0 / 387.2 MB, free: 15.33 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002322/0.0154, allocations: 476.2 kB / 387.7 MB, free: 14.84 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.379e-05/0.01542, allocations: 23.89 kB / 387.7 MB, free: 14.82 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.322e-05/0.01545, allocations: 15.97 kB / 387.7 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.496e-05/0.01553, allocations: 7.938 kB / 387.7 MB, free: 14.79 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.092e-05/0.01557, allocations: 15.97 kB / 387.7 MB, free: 14.78 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/0.01558, allocations: 4 kB / 387.7 MB, free: 14.77 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.694e-05/0.01565, allocations: 214.9 kB / 387.9 MB, free: 14.57 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.01565, allocations: 0 / 387.9 MB, free: 14.57 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002527/0.0159, allocations: 64 kB / 388 MB, free: 14.5 MB / 314.7 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.0001046/0.016, allocations: 103.2 kB / 388.1 MB, free: 14.39 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001746/0.01618, allocations: 139.4 kB / 388.2 MB, free: 14.25 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.01618, allocations: 0 / 388.2 MB, free: 14.25 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.845e-05/0.01624, allocations: 59.58 kB / 388.3 MB, free: 14.19 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003883/0.01663, allocations: 82.23 kB / 388.4 MB, free: 14.12 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001363/0.01799, allocations: 0.8145 MB / 389.2 MB, free: 13.25 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.049e-05/0.01805, allocations: 108.8 kB / 389.3 MB, free: 13.13 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001049/0.01816, allocations: 46.94 kB / 389.3 MB, free: 13.08 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001162/0.01827, allocations: 138.2 kB / 389.5 MB, free: 12.94 MB / 314.7 MB Notification: Performance of SimCode: time 1.483e-06/0.01827, allocations: 0 / 389.5 MB, free: 12.94 MB / 314.7 MB Notification: Performance of Templates: time 0.006135/0.02441, allocations: 3.321 MB / 392.8 MB, free: 9.703 MB / 314.7 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=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1676351320929825]