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.0009927/0.0009927, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001096/0.001096, allocations: 169 kB / 24.91 MB, free: 8.723 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.059/1.059, allocations: 177.1 MB / 205.3 MB, free: 4.492 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.1225/0.1225, allocations: 29.43 MB / 291.2 MB, free: 2.695 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.572e-06/1.572e-06, allocations: 0 / 316.8 MB, free: 9.062 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.879e-05/3.036e-05, allocations: 4.844 kB / 316.8 MB, free: 9.059 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed): time 0.005165/0.005195, allocations: 4.574 MB / 321.4 MB, free: 4.449 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001658/0.006854, allocations: 1.495 MB / 322.9 MB, free: 2.949 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001923/0.007046, allocations: 19.81 kB / 322.9 MB, free: 2.93 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003005/0.007346, allocations: 111.1 kB / 323 MB, free: 2.82 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004839/0.00783, allocations: 266.2 kB / 323.3 MB, free: 2.559 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003068/0.008137, allocations: 147.7 kB / 323.4 MB, free: 2.414 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005886/0.008726, allocations: 0.603 MB / 324.1 MB, free: 1.809 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003465/0.009072, allocations: 301.4 kB / 324.3 MB, free: 1.512 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003917/0.009464, allocations: 363.1 kB / 324.7 MB, free: 1.156 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002554/0.009719, allocations: 199.4 kB / 324.9 MB, free: 0.9609 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.28e-05/0.009762, allocations: 40 kB / 324.9 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.904e-05/0.009811, allocations: 44 kB / 325 MB, free: 0.8789 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.009912, allocations: 131.6 kB / 325.1 MB, free: 0.75 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001284/0.01004, allocations: 155.7 kB / 325.3 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003004/0.01034, allocations: 318.9 kB / 325.6 MB, free: 292 kB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.01034, allocations: 3.938 kB / 325.6 MB, free: 288 kB / 298.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.01034, allocations: 0 / 325.6 MB, free: 288 kB / 298.7 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.01035, allocations: 0 / 325.6 MB, free: 288 kB / 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.0007168/0.01107, allocations: 0.5987 MB / 326.2 MB, free: 15.65 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.0111, allocations: 12.03 kB / 326.2 MB, free: 15.64 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.333e-05/0.01117, allocations: 56.89 kB / 326.2 MB, free: 15.59 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000366/0.01154, allocations: 329.2 kB / 326.6 MB, free: 15.25 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.207e-05/0.01161, allocations: 84.91 kB / 326.6 MB, free: 15.15 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.847e-05/0.01166, allocations: 44.08 kB / 326.7 MB, free: 15.11 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003216/0.01198, allocations: 313 kB / 327 MB, free: 14.76 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.012, allocations: 7.984 kB / 327 MB, free: 14.75 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.346e-05/0.01202, allocations: 16 kB / 327 MB, free: 14.74 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.789e-06/0.01203, allocations: 12 kB / 327 MB, free: 14.73 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001356/0.01217, allocations: 100.4 kB / 327.1 MB, free: 14.62 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001179/0.01334, allocations: 1.465 MB / 328.6 MB, free: 13.07 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001582/0.0135, allocations: 166.4 kB / 328.8 MB, free: 12.88 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.358e-05/0.01355, allocations: 46.67 kB / 328.8 MB, free: 12.83 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.446e-05/0.01356, allocations: 4 kB / 328.8 MB, free: 12.82 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.01359, allocations: 42.5 kB / 328.8 MB, free: 12.77 MB / 314.7 MB Notification: Performance of pre-optimization done (n=18): time 1.093e-06/0.01359, allocations: 0 / 328.8 MB, free: 12.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=19): time 0.0005154/0.0141, allocations: 343.6 kB / 329.2 MB, free: 12.41 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.789e-05/0.01415, allocations: 115 kB / 329.3 MB, free: 12.27 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/0.01431, allocations: 274.8 kB / 329.6 MB, free: 11.98 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.01433, allocations: 29.7 kB / 329.6 MB, free: 11.95 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.736e-05/0.01443, allocations: 232.5 kB / 329.8 MB, free: 11.72 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.839e-05/0.01446, allocations: 71.38 kB / 329.9 MB, free: 11.65 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.362e-05/0.01453, allocations: 65.95 kB / 330 MB, free: 11.58 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.01463, allocations: 350.7 kB / 330.3 MB, free: 11.23 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.273e-05/0.01467, allocations: 24.64 kB / 330.3 MB, free: 11.2 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.632e-05/0.01476, allocations: 165.5 kB / 330.5 MB, free: 10.98 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001653/0.01493, allocations: 222.8 kB / 330.7 MB, free: 10.71 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.01493, allocations: 0 / 330.7 MB, free: 10.71 MB / 314.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002038/0.01513, allocations: 208.6 kB / 330.9 MB, free: 10.5 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.01515, allocations: 8 kB / 330.9 MB, free: 10.49 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.01515, allocations: 4 kB / 330.9 MB, free: 10.49 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.01517, allocations: 8 kB / 330.9 MB, free: 10.48 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001528/0.01532, allocations: 75.89 kB / 331 MB, free: 10.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.01533, allocations: 15.92 kB / 331 MB, free: 10.39 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.755e-05/0.01541, allocations: 8 kB / 331 MB, free: 10.38 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/0.01542, allocations: 16.28 kB / 331 MB, free: 10.37 MB / 314.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.888e-05/0.01552, allocations: 140.5 kB / 331.2 MB, free: 10.22 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.134e-05/0.01556, allocations: 23.97 kB / 331.2 MB, free: 10.2 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001401/0.0157, allocations: 123.8 kB / 331.3 MB, free: 10.07 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.01571, allocations: 0 / 331.3 MB, free: 10.07 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.01571, allocations: 8 kB / 331.3 MB, free: 10.06 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.01572, allocations: 0 / 331.3 MB, free: 10.06 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004016/0.01612, allocations: 443 kB / 331.8 MB, free: 9.598 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.01612, allocations: 4 kB / 331.8 MB, free: 9.594 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000118/0.01624, allocations: 40 kB / 331.8 MB, free: 9.555 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.01624, allocations: 4 kB / 331.8 MB, free: 9.551 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.01625, allocations: 8 kB / 331.8 MB, free: 9.543 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.01625, allocations: 0 / 331.8 MB, free: 9.543 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.01626, allocations: 3.938 kB / 331.8 MB, free: 9.539 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002493/0.0165, allocations: 431.1 kB / 332.2 MB, free: 9.094 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.781e-05/0.01653, allocations: 31.83 kB / 332.3 MB, free: 9.062 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.203e-05/0.01655, allocations: 8 kB / 332.3 MB, free: 9.055 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.788e-05/0.01663, allocations: 11.94 kB / 332.3 MB, free: 9.043 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.01667, allocations: 27.75 kB / 332.3 MB, free: 9.016 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-06/0.01668, allocations: 8 kB / 332.3 MB, free: 9.008 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.687e-05/0.01675, allocations: 92.62 kB / 332.4 MB, free: 8.918 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01675, allocations: 0 / 332.4 MB, free: 8.918 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002338/0.01698, allocations: 72 kB / 332.5 MB, free: 8.848 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.115e-05/0.01706, allocations: 72.42 kB / 332.6 MB, free: 8.77 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001609/0.01722, allocations: 137.3 kB / 332.7 MB, free: 8.633 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.406e-06/0.01723, allocations: 4 kB / 332.7 MB, free: 8.629 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.525e-05/0.01729, allocations: 48.78 kB / 332.7 MB, free: 8.578 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.0176, allocations: 79.3 kB / 332.8 MB, free: 8.504 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/0.01882, allocations: 0.7516 MB / 333.6 MB, free: 7.707 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.621e-05/0.0189, allocations: 112.6 kB / 333.7 MB, free: 7.578 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.805e-05/0.01899, allocations: 42.94 kB / 333.7 MB, free: 7.531 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001252/0.01912, allocations: 115.3 kB / 333.8 MB, free: 7.418 MB / 314.7 MB Notification: Performance of SimCode: time 3.41e-07/0.01912, allocations: 0 / 333.8 MB, free: 7.418 MB / 314.7 MB Notification: Performance of Templates: time 0.005442/0.02456, allocations: 3.271 MB / 337.1 MB, free: 4.227 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 -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.299999742768705]