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.001918/0.001918, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002117/0.002117, allocations: 169.6 kB / 24.28 MB, free: 152 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.541/1.541, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 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.3383/0.3383, allocations: 29.41 MB / 290.5 MB, free: 2.441 MB / 266.7 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: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 368.9 MB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.97e-05/3.176e-05, allocations: 5.406 kB / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed): time 0.007508/0.00754, allocations: 4.908 MB / 373.8 MB, free: 6.391 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003029/0.01057, allocations: 1.452 MB / 375.2 MB, free: 4.934 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002304/0.0108, allocations: 23.81 kB / 375.3 MB, free: 4.91 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003761/0.01118, allocations: 103.2 kB / 375.4 MB, free: 4.809 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006934/0.01187, allocations: 274.1 kB / 375.6 MB, free: 4.539 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003364/0.01221, allocations: 147.6 kB / 375.8 MB, free: 4.395 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008778/0.01308, allocations: 0.603 MB / 376.4 MB, free: 3.789 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004597/0.01354, allocations: 303.4 kB / 376.7 MB, free: 3.492 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005104/0.01405, allocations: 351.1 kB / 377 MB, free: 3.148 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004217/0.01447, allocations: 207.4 kB / 377.2 MB, free: 2.945 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.291e-05/0.01455, allocations: 44 kB / 377.3 MB, free: 2.902 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.914e-05/0.01464, allocations: 40 kB / 377.3 MB, free: 2.863 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001716/0.01481, allocations: 139.5 kB / 377.4 MB, free: 2.727 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000231/0.01504, allocations: 155.7 kB / 377.6 MB, free: 2.574 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006947/0.01573, allocations: 0.5024 MB / 378.1 MB, free: 2.07 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.01574, allocations: 0 / 378.1 MB, free: 2.07 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.01574, allocations: 0 / 378.1 MB, free: 2.07 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.406e-06/0.01575, allocations: 0 / 378.1 MB, free: 2.07 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.00143/0.01718, allocations: 0.7814 MB / 378.9 MB, free: 1.25 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.01722, allocations: 11.98 kB / 378.9 MB, free: 1.238 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001596/0.01738, allocations: 76.66 kB / 379 MB, free: 1.164 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006946/0.01807, allocations: 374.8 kB / 379.3 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001132/0.01818, allocations: 80.97 kB / 379.4 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.312e-05/0.01827, allocations: 44.08 kB / 379.4 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007292/0.019, allocations: 432.5 kB / 379.9 MB, free: 172 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.191e-05/0.01902, allocations: 4 kB / 379.9 MB, free: 168 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.435e-05/0.01905, allocations: 16 kB / 379.9 MB, free: 152 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.293e-05/0.01907, allocations: 8 kB / 379.9 MB, free: 144 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004966/0.01956, allocations: 214.4 kB / 380.1 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002891/0.02245, allocations: 2.162 MB / 382.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003724/0.02283, allocations: 205.2 kB / 382.5 MB, free: 13.42 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001451/0.02297, allocations: 71.33 kB / 382.5 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.039e-05/0.023, allocations: 7.984 kB / 382.5 MB, free: 13.33 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.588e-05/0.02305, allocations: 45.33 kB / 382.6 MB, free: 13.28 MB / 362.7 MB Notification: Performance of pre-optimization done (n=18): time 1.272e-06/0.02305, allocations: 0 / 382.6 MB, free: 13.28 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.001348/0.0244, allocations: 0.6278 MB / 383.2 MB, free: 12.61 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.05e-05/0.02448, allocations: 111 kB / 383.3 MB, free: 12.48 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004421/0.02492, allocations: 410.1 kB / 383.7 MB, free: 12.07 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.813e-05/0.02495, allocations: 33.7 kB / 383.8 MB, free: 12.03 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002539/0.0252, allocations: 310.8 kB / 384.1 MB, free: 11.72 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.729e-05/0.02528, allocations: 75.38 kB / 384.1 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/0.0254, allocations: 83.64 kB / 384.2 MB, free: 11.55 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003016/0.0257, allocations: 0.5352 MB / 384.8 MB, free: 11.01 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001652/0.02587, allocations: 68.62 kB / 384.8 MB, free: 10.94 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003354/0.0262, allocations: 262.5 kB / 385.1 MB, free: 10.61 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005098/0.02671, allocations: 352.7 kB / 385.4 MB, free: 10.19 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.02672, allocations: 0 / 385.4 MB, free: 10.19 MB / 362.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005902/0.02731, allocations: 333.3 kB / 385.7 MB, free: 9.855 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.02732, allocations: 6.969 kB / 385.8 MB, free: 9.852 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.02733, allocations: 4 kB / 385.8 MB, free: 9.848 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.02735, allocations: 11.94 kB / 385.8 MB, free: 9.836 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002968/0.02765, allocations: 75.89 kB / 385.8 MB, free: 9.762 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.405e-05/0.02766, allocations: 7.938 kB / 385.8 MB, free: 9.754 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001576/0.02782, allocations: 12 kB / 385.9 MB, free: 9.742 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.869e-05/0.02786, allocations: 20.25 kB / 385.9 MB, free: 9.723 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 0.0002188/0.02808, allocations: 216.4 kB / 386.1 MB, free: 9.5 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.141e-05/0.02816, allocations: 35.75 kB / 386.1 MB, free: 9.465 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004008/0.02856, allocations: 183.8 kB / 386.3 MB, free: 9.273 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.313e-06/0.02857, allocations: 7.984 kB / 386.3 MB, free: 9.266 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.02858, allocations: 3.938 kB / 386.3 MB, free: 9.262 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.02858, allocations: 3.938 kB / 386.3 MB, free: 9.258 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/0.0296, allocations: 0.6258 MB / 386.9 MB, free: 8.586 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.0296, allocations: 0 / 386.9 MB, free: 8.586 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002335/0.02984, allocations: 44.02 kB / 387 MB, free: 8.543 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.02984, allocations: 0 / 387 MB, free: 8.543 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.003e-05/0.02986, allocations: 7.938 kB / 387 MB, free: 8.535 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.02986, allocations: 3.984 kB / 387 MB, free: 8.531 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.02987, allocations: 4 kB / 387 MB, free: 8.527 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006856/0.03055, allocations: 0.5216 MB / 387.5 MB, free: 7.977 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.586e-05/0.03061, allocations: 35.73 kB / 387.6 MB, free: 7.941 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.221e-05/0.03065, allocations: 7.938 kB / 387.6 MB, free: 7.934 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000167/0.03082, allocations: 4 kB / 387.6 MB, free: 7.93 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.016e-05/0.03088, allocations: 23.97 kB / 387.6 MB, free: 7.906 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.03089, allocations: 4 kB / 387.6 MB, free: 7.902 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002607/0.03115, allocations: 255 kB / 387.9 MB, free: 7.652 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03115, allocations: 0 / 387.9 MB, free: 7.652 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003858/0.03154, allocations: 68 kB / 387.9 MB, free: 7.586 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 0.0003472/0.03189, allocations: 107.1 kB / 388 MB, free: 7.473 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004408/0.03233, allocations: 215.8 kB / 388.2 MB, free: 7.258 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.03233, allocations: 0 / 388.2 MB, free: 7.258 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001677/0.0325, allocations: 83.59 kB / 388.3 MB, free: 7.172 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006151/0.03311, allocations: 78.84 kB / 388.4 MB, free: 7.098 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001464/0.03457, allocations: 0.7934 MB / 389.2 MB, free: 6.262 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002374/0.03481, allocations: 210.5 kB / 389.4 MB, free: 6.039 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001578/0.03497, allocations: 38.97 kB / 389.4 MB, free: 6.004 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.058e-05/0.03504, allocations: 32.48 kB / 389.5 MB, free: 5.973 MB / 362.7 MB Notification: Performance of SimCode: time 4.5e-07/0.03504, allocations: 0 / 389.5 MB, free: 5.973 MB / 362.7 MB Notification: Performance of Templates: time 0.007618/0.04266, allocations: 2.975 MB / 392.4 MB, free: 3.066 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","/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: 4.925380459986627]