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.001135/0.001135, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001456/0.001456, allocations: 165 kB / 24.56 MB, free: 12 kB / 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 1.069/1.069, allocations: 177.1 MB / 205 MB, free: 5.605 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.2388/0.2388, allocations: 29.43 MB / 290.9 MB, free: 2.418 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.633e-06/1.633e-06, allocations: 0 / 369.6 MB, free: 10.94 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.267e-05/2.431e-05, allocations: 5.406 kB / 369.7 MB, free: 10.94 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed): time 0.004992/0.005017, allocations: 4.586 MB / 374.2 MB, free: 6.316 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00222/0.007237, allocations: 1.46 MB / 375.7 MB, free: 4.852 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002904/0.007527, allocations: 23.81 kB / 375.7 MB, free: 4.828 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000388/0.007915, allocations: 103.2 kB / 375.8 MB, free: 4.727 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007629/0.008678, allocations: 270.2 kB / 376.1 MB, free: 4.461 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003342/0.009012, allocations: 143.6 kB / 376.2 MB, free: 4.32 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007105/0.009723, allocations: 0.6069 MB / 376.8 MB, free: 3.711 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003781/0.0101, allocations: 303.4 kB / 377.1 MB, free: 3.414 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004631/0.01056, allocations: 351.2 kB / 377.5 MB, free: 3.07 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002915/0.01086, allocations: 207.4 kB / 377.7 MB, free: 2.867 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.899e-05/0.0109, allocations: 44 kB / 377.7 MB, free: 2.824 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.916e-05/0.01096, allocations: 40 kB / 377.8 MB, free: 2.785 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001093/0.01107, allocations: 135.6 kB / 377.9 MB, free: 2.652 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001454/0.01122, allocations: 151.7 kB / 378 MB, free: 2.504 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004248/0.01164, allocations: 322.9 kB / 378.4 MB, free: 2.188 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.01165, allocations: 0 / 378.4 MB, free: 2.188 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.01165, allocations: 3.938 kB / 378.4 MB, free: 2.184 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.01166, allocations: 0 / 378.4 MB, free: 2.184 MB / 346.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.0008786/0.01253, allocations: 0.7428 MB / 379.1 MB, free: 1.402 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.01257, allocations: 15.98 kB / 379.1 MB, free: 1.387 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001017/0.01267, allocations: 68.66 kB / 379.2 MB, free: 1.32 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004244/0.0131, allocations: 370.8 kB / 379.5 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.783e-05/0.01318, allocations: 80.97 kB / 379.6 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.143e-05/0.01324, allocations: 48.02 kB / 379.7 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003975/0.01363, allocations: 361.3 kB / 380 MB, free: 400 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.01365, allocations: 0 / 380 MB, free: 400 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.501e-05/0.01367, allocations: 20 kB / 380 MB, free: 380 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.203e-05/0.01369, allocations: 12 kB / 380.1 MB, free: 368 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002077/0.01389, allocations: 139.7 kB / 380.2 MB, free: 232 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001464/0.01536, allocations: 2.025 MB / 382.2 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001894/0.01555, allocations: 173.1 kB / 382.4 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.431e-05/0.01561, allocations: 55.11 kB / 382.4 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.674e-05/0.01563, allocations: 7.984 kB / 382.4 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.01565, allocations: 41.61 kB / 382.5 MB, free: 13.76 MB / 362.7 MB Notification: Performance of pre-optimization done (n=18): time 1.472e-06/0.01566, allocations: 0 / 382.5 MB, free: 13.76 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.000746/0.0164, allocations: 0.5501 MB / 383 MB, free: 13.17 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.019e-05/0.01644, allocations: 111.1 kB / 383.1 MB, free: 13.04 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002074/0.01665, allocations: 346.1 kB / 383.5 MB, free: 12.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.01666, allocations: 25.7 kB / 383.5 MB, free: 12.65 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.01679, allocations: 298.8 kB / 383.8 MB, free: 12.35 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.218e-05/0.01683, allocations: 71.39 kB / 383.9 MB, free: 12.28 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.619e-05/0.01689, allocations: 71.64 kB / 383.9 MB, free: 12.2 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.01702, allocations: 0.5156 MB / 384.5 MB, free: 11.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.758e-05/0.01709, allocations: 40.62 kB / 384.5 MB, free: 11.64 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001351/0.01722, allocations: 227.2 kB / 384.7 MB, free: 11.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002219/0.01744, allocations: 281 kB / 385 MB, free: 10.98 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.01745, allocations: 0 / 385 MB, free: 10.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002843/0.01773, allocations: 277.3 kB / 385.3 MB, free: 10.71 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.01775, allocations: 8 kB / 385.3 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.01775, allocations: 4 kB / 385.3 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.01777, allocations: 8 kB / 385.3 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001769/0.01795, allocations: 75.89 kB / 385.4 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.01796, allocations: 15.88 kB / 385.4 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.963e-05/0.01805, allocations: 15.94 kB / 385.4 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.519e-05/0.01806, allocations: 12 kB / 385.4 MB, free: 10.57 MB / 362.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 9.559e-05/0.01816, allocations: 180.7 kB / 385.6 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.602e-05/0.0182, allocations: 35.81 kB / 385.6 MB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001904/0.01839, allocations: 158.3 kB / 385.8 MB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.0184, allocations: 0 / 385.8 MB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.0184, allocations: 7.938 kB / 385.8 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.01841, allocations: 0 / 385.8 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005002/0.01891, allocations: 0.5359 MB / 386.3 MB, free: 9.598 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.01891, allocations: 0 / 386.3 MB, free: 9.598 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001328/0.01904, allocations: 39.98 kB / 386.4 MB, free: 9.559 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.01904, allocations: 7.969 kB / 386.4 MB, free: 9.551 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.01906, allocations: 7.938 kB / 386.4 MB, free: 9.543 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.01906, allocations: 4 kB / 386.4 MB, free: 9.539 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.01906, allocations: 3.938 kB / 386.4 MB, free: 9.535 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003157/0.01938, allocations: 478.2 kB / 386.8 MB, free: 9.039 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.552e-05/0.01941, allocations: 27.75 kB / 386.9 MB, free: 9.012 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.653e-05/0.01943, allocations: 11.94 kB / 386.9 MB, free: 9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.524e-05/0.01952, allocations: 0 / 386.9 MB, free: 9 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.468e-05/0.01956, allocations: 19.97 kB / 386.9 MB, free: 8.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-06/0.01957, allocations: 11.94 kB / 386.9 MB, free: 8.969 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001124/0.01968, allocations: 219 kB / 387.1 MB, free: 8.758 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01968, allocations: 0 / 387.1 MB, free: 8.758 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002676/0.01995, allocations: 68 kB / 387.2 MB, free: 8.691 MB / 362.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 7.991e-05/0.02003, allocations: 103.2 kB / 387.3 MB, free: 8.582 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002096/0.02024, allocations: 148.4 kB / 387.4 MB, free: 8.434 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.02024, allocations: 4 kB / 387.4 MB, free: 8.43 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.285e-05/0.02032, allocations: 63.59 kB / 387.5 MB, free: 8.363 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000386/0.0207, allocations: 85.34 kB / 387.6 MB, free: 8.285 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001536/0.02224, allocations: 0.8096 MB / 388.4 MB, free: 7.43 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.095e-05/0.02231, allocations: 116.6 kB / 388.5 MB, free: 7.297 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001127/0.02242, allocations: 38.97 kB / 388.5 MB, free: 7.258 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.477e-05/0.02248, allocations: 32.48 kB / 388.6 MB, free: 7.227 MB / 362.7 MB Notification: Performance of SimCode: time 6.52e-07/0.02248, allocations: 0 / 388.6 MB, free: 7.227 MB / 362.7 MB Notification: Performance of Templates: time 0.005302/0.02778, allocations: 3.152 MB / 391.7 MB, free: 4.145 MB / 362.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.1742168539203703]