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.001301/0.001301, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.001388/0.001388, allocations: 161 kB / 24.56 MB, free: 20 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.06/1.06, allocations: 177.1 MB / 205 MB, free: 5.289 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.276/0.276, allocations: 29.41 MB / 290.9 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.004e-06/2.004e-06, allocations: 0 / 369.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.952e-05/3.152e-05, allocations: 2.312 kB / 369.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed): time 0.01208/0.01211, allocations: 4.592 MB / 374.2 MB, free: 6.395 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002019/0.01413, allocations: 1.464 MB / 375.7 MB, free: 4.926 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002686/0.0144, allocations: 27.75 kB / 375.7 MB, free: 4.898 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003627/0.01476, allocations: 95.25 kB / 375.8 MB, free: 4.805 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006304/0.01539, allocations: 270.2 kB / 376.1 MB, free: 4.539 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003206/0.01571, allocations: 143.7 kB / 376.2 MB, free: 4.398 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007092/0.01642, allocations: 0.6069 MB / 376.8 MB, free: 3.789 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003678/0.01679, allocations: 303.4 kB / 377.1 MB, free: 3.492 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004499/0.01724, allocations: 347.2 kB / 377.5 MB, free: 3.152 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003156/0.01755, allocations: 203.4 kB / 377.7 MB, free: 2.953 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.729e-05/0.0176, allocations: 44 kB / 377.7 MB, free: 2.91 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.546e-05/0.01766, allocations: 40 kB / 377.7 MB, free: 2.871 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001075/0.01776, allocations: 131.6 kB / 377.9 MB, free: 2.742 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001399/0.0179, allocations: 155.7 kB / 378 MB, free: 2.59 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004177/0.01832, allocations: 318.9 kB / 378.3 MB, free: 2.277 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.01833, allocations: 4 kB / 378.3 MB, free: 2.273 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.01833, allocations: 3.938 kB / 378.3 MB, free: 2.27 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.01834, allocations: 0 / 378.3 MB, free: 2.27 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.000949/0.01928, allocations: 0.7467 MB / 379.1 MB, free: 1.484 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.01933, allocations: 11.98 kB / 379.1 MB, free: 1.473 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001087/0.01944, allocations: 72.66 kB / 379.2 MB, free: 1.402 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004757/0.01992, allocations: 370.8 kB / 379.5 MB, free: 1.02 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.137e-05/0.02001, allocations: 80.97 kB / 379.6 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.011e-05/0.02007, allocations: 48.02 kB / 379.7 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004925/0.02056, allocations: 365.3 kB / 380 MB, free: 480 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.02058, allocations: 0 / 380 MB, free: 480 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.867e-05/0.02061, allocations: 16 kB / 380 MB, free: 464 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.668e-05/0.02063, allocations: 8 kB / 380 MB, free: 456 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002459/0.02087, allocations: 143.7 kB / 380.2 MB, free: 316 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001693/0.02257, allocations: 2.036 MB / 382.2 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000205/0.02277, allocations: 165 kB / 382.4 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.666e-05/0.02284, allocations: 55.17 kB / 382.4 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.02286, allocations: 4 kB / 382.4 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/0.02289, allocations: 41.33 kB / 382.5 MB, free: 13.84 MB / 362.7 MB Notification: Performance of pre-optimization done (n=18): time 1.914e-06/0.02289, allocations: 0 / 382.5 MB, free: 13.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.0008198/0.02371, allocations: 0.5535 MB / 383 MB, free: 13.25 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.02375, allocations: 111.1 kB / 383.1 MB, free: 13.12 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002373/0.02399, allocations: 338.1 kB / 383.5 MB, free: 12.77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.02401, allocations: 33.7 kB / 383.5 MB, free: 12.73 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001522/0.02416, allocations: 294.8 kB / 383.8 MB, free: 12.43 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.622e-05/0.02421, allocations: 71.39 kB / 383.8 MB, free: 12.36 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.37e-05/0.02428, allocations: 71.64 kB / 383.9 MB, free: 12.29 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.02444, allocations: 0.5156 MB / 384.4 MB, free: 11.76 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.593e-05/0.02452, allocations: 36.62 kB / 384.5 MB, free: 11.72 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001471/0.02466, allocations: 227.2 kB / 384.7 MB, free: 11.42 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002427/0.02491, allocations: 281 kB / 385 MB, free: 11.07 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.02491, allocations: 4 kB / 385 MB, free: 11.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003364/0.02525, allocations: 277.2 kB / 385.2 MB, free: 10.79 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.02527, allocations: 8 kB / 385.3 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.02527, allocations: 4 kB / 385.3 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.217e-05/0.0253, allocations: 4 kB / 385.3 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001927/0.02549, allocations: 79.89 kB / 385.3 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.394e-05/0.0255, allocations: 15.88 kB / 385.4 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.258e-05/0.0256, allocations: 8 kB / 385.4 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.02561, allocations: 16.28 kB / 385.4 MB, free: 10.66 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.0001202/0.02573, allocations: 184.4 kB / 385.6 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.623e-05/0.02579, allocations: 39.8 kB / 385.6 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002249/0.02601, allocations: 154.6 kB / 385.7 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.02602, allocations: 4 kB / 385.7 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/0.02602, allocations: 7.938 kB / 385.8 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.02603, allocations: 0 / 385.8 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005596/0.02659, allocations: 0.5281 MB / 386.3 MB, free: 9.684 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/0.02659, allocations: 4 kB / 386.3 MB, free: 9.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001428/0.02674, allocations: 43.95 kB / 386.3 MB, free: 9.637 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-06/0.02674, allocations: 4 kB / 386.3 MB, free: 9.633 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/0.02676, allocations: 11.94 kB / 386.3 MB, free: 9.621 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.02676, allocations: 0 / 386.3 MB, free: 9.621 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.02676, allocations: 3.938 kB / 386.4 MB, free: 9.617 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003736/0.02713, allocations: 479.8 kB / 386.8 MB, free: 9.121 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.464e-05/0.02717, allocations: 23.81 kB / 386.8 MB, free: 9.098 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.808e-05/0.0272, allocations: 7.938 kB / 386.9 MB, free: 9.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.211e-05/0.02729, allocations: 8 kB / 386.9 MB, free: 9.082 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.461e-05/0.02734, allocations: 15.97 kB / 386.9 MB, free: 9.066 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.02736, allocations: 11.94 kB / 386.9 MB, free: 9.055 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001466/0.0275, allocations: 215 kB / 387.1 MB, free: 8.848 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0275, allocations: 0 / 387.1 MB, free: 8.848 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003025/0.02781, allocations: 72 kB / 387.2 MB, free: 8.777 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.0001335/0.02794, allocations: 103.2 kB / 387.3 MB, free: 8.668 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002567/0.0282, allocations: 152.1 kB / 387.4 MB, free: 8.516 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.0282, allocations: 0 / 387.4 MB, free: 8.516 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.773e-05/0.02828, allocations: 67.59 kB / 387.5 MB, free: 8.445 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004369/0.02872, allocations: 82.7 kB / 387.6 MB, free: 8.367 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001572/0.03029, allocations: 0.8099 MB / 388.4 MB, free: 7.512 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.734e-05/0.03037, allocations: 116.6 kB / 388.5 MB, free: 7.379 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001182/0.03049, allocations: 42.95 kB / 388.5 MB, free: 7.336 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.353e-05/0.03054, allocations: 28.48 kB / 388.6 MB, free: 7.309 MB / 362.7 MB Notification: Performance of SimCode: time 1.002e-06/0.03054, allocations: 0 / 388.6 MB, free: 7.309 MB / 362.7 MB Notification: Performance of Templates: time 0.005646/0.03619, allocations: 2.984 MB / 391.5 MB, free: 4.395 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.2841262137517333]