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.001093/0.001093, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001588/0.002682, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001043/0.001043, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001435/0.002478, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.978/0.978, allocations: 177.2 MB / 189.8 MB, free: 5.262 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08594/1.064, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.184/0.184, allocations: 29.44 MB / 273.6 MB, free: 1.41 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1373/0.3213, allocations: 9.537 MB / 283.2 MB, free: 12.82 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-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="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="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.433e-06/1.433e-06, allocations: 0 / 284.4 MB, free: 11.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.09e-05/1.233e-05, allocations: 3.156 kB / 284.4 MB, free: 11.87 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed): time 0.004546/0.004558, allocations: 4.672 MB / 289.1 MB, free: 8.207 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002071/0.00663, allocations: 1.49 MB / 290.6 MB, free: 7.043 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002293/0.006859, allocations: 22.81 kB / 290.6 MB, free: 7.031 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002514/0.007111, allocations: 107.7 kB / 290.7 MB, free: 6.945 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006314/0.007742, allocations: 267.4 kB / 291 MB, free: 6.73 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003186/0.008061, allocations: 143.2 kB / 291.1 MB, free: 6.609 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006396/0.0087, allocations: 0.6018 MB / 291.7 MB, free: 6.266 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003301/0.00903, allocations: 310.2 kB / 292 MB, free: 6.051 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003883/0.009419, allocations: 364.8 kB / 292.4 MB, free: 5.836 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002823/0.009701, allocations: 203.6 kB / 292.6 MB, free: 5.727 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.029e-05/0.009751, allocations: 39.53 kB / 292.6 MB, free: 5.727 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.556e-05/0.009817, allocations: 39.22 kB / 292.7 MB, free: 5.727 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001106/0.009927, allocations: 106.4 kB / 292.8 MB, free: 5.691 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000144/0.01007, allocations: 133.4 kB / 292.9 MB, free: 5.672 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003829/0.01045, allocations: 309.6 kB / 293.2 MB, free: 5.512 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.043e-05/0.01046, allocations: 0 / 293.2 MB, free: 5.512 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.01047, allocations: 1.531 kB / 293.2 MB, free: 5.512 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.152e-05/0.01048, allocations: 0 / 293.2 MB, free: 5.512 MB / 282.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.0008737/0.01135, allocations: 0.6938 MB / 293.9 MB, free: 5.02 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.01139, allocations: 10 kB / 293.9 MB, free: 5.02 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.957e-05/0.01149, allocations: 62.02 kB / 294 MB, free: 4.992 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004144/0.0119, allocations: 325.6 kB / 294.3 MB, free: 4.742 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.221e-05/0.01198, allocations: 85.11 kB / 294.4 MB, free: 4.664 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.33e-05/0.01204, allocations: 39.84 kB / 294.4 MB, free: 4.648 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000304/0.01234, allocations: 322.8 kB / 294.7 MB, free: 4.32 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.01236, allocations: 3.953 kB / 294.7 MB, free: 4.316 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.325e-05/0.01238, allocations: 16 kB / 294.8 MB, free: 4.301 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.01239, allocations: 12 kB / 294.8 MB, free: 4.289 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001236/0.01251, allocations: 100.4 kB / 294.9 MB, free: 4.188 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001189/0.0137, allocations: 1.468 MB / 296.3 MB, free: 2.633 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001466/0.01385, allocations: 170.3 kB / 296.5 MB, free: 2.438 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.955e-05/0.01389, allocations: 42.69 kB / 296.5 MB, free: 2.387 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.787e-05/0.01391, allocations: 4 kB / 296.5 MB, free: 2.383 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.01393, allocations: 42.5 kB / 296.6 MB, free: 2.332 MB / 282.7 MB Notification: Performance of pre-optimization done (n=18): time 1.643e-06/0.01393, allocations: 0 / 296.6 MB, free: 2.332 MB / 282.7 MB Notification: Performance of matching and sorting (n=19): time 0.0005113/0.01444, allocations: 358.5 kB / 296.9 MB, free: 1.949 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.632e-05/0.01448, allocations: 102.8 kB / 297 MB, free: 1.824 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/0.01462, allocations: 274.8 kB / 297.3 MB, free: 1.539 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.01464, allocations: 29.7 kB / 297.3 MB, free: 1.504 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.005e-05/0.01472, allocations: 220.5 kB / 297.5 MB, free: 1.285 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.684e-05/0.01476, allocations: 79.31 kB / 297.6 MB, free: 1.207 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.824e-05/0.01481, allocations: 69.94 kB / 297.7 MB, free: 1.133 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000207/0.01502, allocations: 342.7 kB / 298 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.518e-05/0.01506, allocations: 32.64 kB / 298.1 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.711e-05/0.01514, allocations: 162.2 kB / 298.2 MB, free: 0.543 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001588/0.0153, allocations: 235.4 kB / 298.4 MB, free: 260 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.0153, allocations: 3.938 kB / 298.5 MB, free: 256 kB / 282.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0001759/0.01548, allocations: 210.4 kB / 298.7 MB, free: 40 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.01549, allocations: 10.03 kB / 298.7 MB, free: 32 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.0155, allocations: 4 kB / 298.7 MB, free: 28 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.01551, allocations: 8 kB / 298.7 MB, free: 20 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001877/0.0157, allocations: 84.45 kB / 298.8 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.01571, allocations: 15.92 kB / 298.8 MB, free: 15.92 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.957e-05/0.01579, allocations: 16 kB / 298.8 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.0158, allocations: 8 kB / 298.8 MB, free: 15.9 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 8.101e-05/0.01588, allocations: 136.5 kB / 298.9 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.373e-05/0.01591, allocations: 19.98 kB / 299 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001265/0.01604, allocations: 123.9 kB / 299.1 MB, free: 15.6 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.01604, allocations: 4 kB / 299.1 MB, free: 15.6 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.01605, allocations: 0 / 299.1 MB, free: 15.6 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.01605, allocations: 0 / 299.1 MB, free: 15.6 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003525/0.0164, allocations: 456.7 kB / 299.5 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.0164, allocations: 0 / 299.5 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000126/0.01653, allocations: 43.97 kB / 299.6 MB, free: 15.08 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.269e-05/0.01655, allocations: 23.81 kB / 299.6 MB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.01656, allocations: 4 kB / 299.6 MB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.01657, allocations: 4 kB / 299.6 MB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.01657, allocations: 7.938 kB / 299.6 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01657, allocations: 0 / 299.6 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002208/0.01679, allocations: 437.3 kB / 300 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.098e-05/0.01681, allocations: 4 kB / 300 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.87e-05/0.01689, allocations: 4 kB / 300 MB, free: 14.58 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.612e-05/0.01693, allocations: 27.84 kB / 300.1 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.01693, allocations: 4 kB / 300.1 MB, free: 14.55 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.829e-05/0.01699, allocations: 92.62 kB / 300.2 MB, free: 14.46 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01699, allocations: 0 / 300.2 MB, free: 14.46 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002132/0.01721, allocations: 68 kB / 300.2 MB, free: 14.39 MB / 298.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.623e-05/0.01728, allocations: 92.44 kB / 300.3 MB, free: 14.3 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001443/0.01743, allocations: 143.6 kB / 300.5 MB, free: 14.16 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.123e-05/0.01744, allocations: 4 kB / 300.5 MB, free: 14.15 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.802e-05/0.01751, allocations: 66.45 kB / 300.5 MB, free: 14.09 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004808/0.01799, allocations: 0.6476 MB / 301.2 MB, free: 13.32 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00627/0.02426, allocations: 0.7472 MB / 301.9 MB, free: 12.53 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.238e-05/0.02433, allocations: 108.6 kB / 302 MB, free: 12.41 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.976e-05/0.02443, allocations: 42.94 kB / 302.1 MB, free: 12.36 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001325/0.02456, allocations: 119.2 kB / 302.2 MB, free: 12.25 MB / 298.7 MB Notification: Performance of SimCode: time 1.273e-06/0.02456, allocations: 0 / 302.2 MB, free: 12.25 MB / 298.7 MB Notification: Performance of Templates: time 0.005365/0.02993, allocations: 3.314 MB / 305.5 MB, free: 9.016 MB / 298.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8792297411710024]