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.001025/0.001025, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.00117/0.00117, allocations: 169.1 kB / 24.91 MB, free: 9.199 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 1.023/1.023, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.2371/0.2371, allocations: 29.42 MB / 291.2 MB, free: 2.445 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.663e-06/1.663e-06, allocations: 0 / 316.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.618e-05/2.784e-05, allocations: 3.406 kB / 316.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed): time 0.006402/0.00643, allocations: 4.622 MB / 321.5 MB, free: 11.31 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004829/0.01126, allocations: 1.488 MB / 323 MB, free: 9.816 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000261/0.01152, allocations: 23.81 kB / 323 MB, free: 9.793 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003587/0.01188, allocations: 107.2 kB / 323.1 MB, free: 9.688 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001739/0.01362, allocations: 266.2 kB / 323.4 MB, free: 9.426 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000274/0.01389, allocations: 143.7 kB / 323.5 MB, free: 9.285 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005879/0.01448, allocations: 0.5927 MB / 324.1 MB, free: 8.691 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003409/0.01482, allocations: 317.2 kB / 324.4 MB, free: 8.379 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003838/0.0152, allocations: 355.2 kB / 324.8 MB, free: 8.031 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003155/0.01552, allocations: 195.5 kB / 325 MB, free: 7.84 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.891e-05/0.01558, allocations: 44 kB / 325 MB, free: 7.797 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.618e-05/0.01564, allocations: 40 kB / 325 MB, free: 7.758 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001228/0.01577, allocations: 131.6 kB / 325.2 MB, free: 7.629 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001576/0.01592, allocations: 151.7 kB / 325.3 MB, free: 7.48 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006421/0.02235, allocations: 330.8 kB / 325.6 MB, free: 7.156 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.02235, allocations: 0 / 325.6 MB, free: 7.156 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.02235, allocations: 0 / 325.6 MB, free: 7.156 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.226e-05/0.02236, allocations: 0 / 325.6 MB, free: 7.156 MB / 298.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.0008724/0.02323, allocations: 0.6102 MB / 326.3 MB, free: 6.52 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.02327, allocations: 11.98 kB / 326.3 MB, free: 6.508 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.919e-05/0.02337, allocations: 60.89 kB / 326.3 MB, free: 6.449 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004943/0.02386, allocations: 325.3 kB / 326.6 MB, free: 6.105 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.068e-05/0.02394, allocations: 80.97 kB / 326.7 MB, free: 6.016 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.713e-05/0.024, allocations: 40.12 kB / 326.8 MB, free: 5.977 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003868/0.02439, allocations: 317 kB / 327.1 MB, free: 5.625 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.0244, allocations: 3.938 kB / 327.1 MB, free: 5.621 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.59e-05/0.02443, allocations: 20 kB / 327.1 MB, free: 5.602 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.02444, allocations: 8 kB / 327.1 MB, free: 5.594 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003953/0.02483, allocations: 100.4 kB / 327.2 MB, free: 5.492 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002708/0.02754, allocations: 1.476 MB / 328.7 MB, free: 3.938 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001939/0.02774, allocations: 172 kB / 328.8 MB, free: 3.742 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.969e-05/0.0278, allocations: 42.5 kB / 328.9 MB, free: 3.691 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.597e-05/0.02781, allocations: 4 kB / 328.9 MB, free: 3.688 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.02784, allocations: 38.56 kB / 328.9 MB, free: 3.641 MB / 298.7 MB Notification: Performance of pre-optimization done (n=18): time 1.663e-06/0.02784, allocations: 0 / 328.9 MB, free: 3.641 MB / 298.7 MB Notification: Performance of matching and sorting (n=19): time 0.0006762/0.02851, allocations: 343.6 kB / 329.3 MB, free: 3.273 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.02856, allocations: 106.8 kB / 329.4 MB, free: 3.145 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002001/0.02876, allocations: 282.7 kB / 329.6 MB, free: 2.852 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.02877, allocations: 33.64 kB / 329.7 MB, free: 2.812 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/0.02889, allocations: 224.5 kB / 329.9 MB, free: 2.59 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.37e-05/0.02894, allocations: 79.36 kB / 330 MB, free: 2.512 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.915e-05/0.02902, allocations: 58 kB / 330 MB, free: 2.449 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.913e-05/0.02912, allocations: 346.7 kB / 330.4 MB, free: 2.102 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.893e-05/0.02918, allocations: 28.64 kB / 330.4 MB, free: 2.074 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/0.0293, allocations: 161.5 kB / 330.6 MB, free: 1.859 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002137/0.02951, allocations: 221.9 kB / 330.8 MB, free: 1.586 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.02951, allocations: 0 / 330.8 MB, free: 1.586 MB / 298.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002787/0.02979, allocations: 213.2 kB / 331 MB, free: 1.371 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.02981, allocations: 10.28 kB / 331 MB, free: 1.363 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.02982, allocations: 4 kB / 331 MB, free: 1.359 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.02983, allocations: 8 kB / 331 MB, free: 1.352 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001401/0.03123, allocations: 87.83 kB / 331.1 MB, free: 1.266 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.03124, allocations: 4.438 kB / 331.1 MB, free: 1.262 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001185/0.03136, allocations: 16 kB / 331.1 MB, free: 1.246 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.711e-05/0.03138, allocations: 12 kB / 331.1 MB, free: 1.234 MB / 298.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.657e-05/0.03147, allocations: 144.4 kB / 331.3 MB, free: 1.078 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.636e-05/0.03153, allocations: 23.98 kB / 331.3 MB, free: 1.055 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001614/0.03169, allocations: 119.8 kB / 331.4 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.03169, allocations: 4 kB / 331.4 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-06/0.0317, allocations: 0 / 331.4 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.0317, allocations: 3.984 kB / 331.4 MB, free: 0.918 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004496/0.03215, allocations: 440.9 kB / 331.8 MB, free: 468 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.03215, allocations: 8.031 kB / 331.8 MB, free: 460 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001591/0.03231, allocations: 39.92 kB / 331.9 MB, free: 420 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.03232, allocations: 4 kB / 331.9 MB, free: 416 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.03233, allocations: 11.98 kB / 331.9 MB, free: 404 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.03233, allocations: 0 / 331.9 MB, free: 404 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.03234, allocations: 0 / 331.9 MB, free: 404 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002686/0.0326, allocations: 435.2 kB / 332.3 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.767e-05/0.03263, allocations: 23.86 kB / 332.3 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.798e-05/0.03266, allocations: 11.98 kB / 332.4 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001282/0.03279, allocations: 15.98 kB / 332.4 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.549e-05/0.03282, allocations: 15.83 kB / 332.4 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.248e-06/0.03283, allocations: 4 kB / 332.4 MB, free: 15.88 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.012e-05/0.03291, allocations: 100.6 kB / 332.5 MB, free: 15.78 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03291, allocations: 0 / 332.5 MB, free: 15.78 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003614/0.03327, allocations: 72 kB / 332.6 MB, free: 15.71 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 8.689e-05/0.03336, allocations: 80.3 kB / 332.6 MB, free: 15.62 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002119/0.03357, allocations: 132.8 kB / 332.8 MB, free: 15.49 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.022e-05/0.03358, allocations: 4 kB / 332.8 MB, free: 15.48 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.257e-05/0.03367, allocations: 56.7 kB / 332.8 MB, free: 15.43 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009582/0.04325, allocations: 81.34 kB / 332.9 MB, free: 15.35 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00148/0.04473, allocations: 0.7518 MB / 333.7 MB, free: 14.55 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.116e-05/0.04481, allocations: 112.6 kB / 333.8 MB, free: 14.43 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001294/0.04494, allocations: 38.95 kB / 333.8 MB, free: 14.38 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001686/0.04511, allocations: 115.3 kB / 333.9 MB, free: 14.27 MB / 314.7 MB Notification: Performance of SimCode: time 9.32e-07/0.04511, allocations: 0 / 333.9 MB, free: 14.27 MB / 314.7 MB Notification: Performance of Templates: time 0.01248/0.05759, allocations: 3.277 MB / 337.2 MB, free: 11.08 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 -s gbode -gbm=radauIIA3 -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: 2.9564603557810187]