Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.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.001066/0.001066, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00148/0.002546, allocations: 449.7 kB / 10.37 MB, free: 328 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.001111/0.001111, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001418/0.002529, allocations: 455.6 kB / 11.71 MB, free: 2.461 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.9708/0.9708, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07956/1.05, allocations: 53.65 MB / 243.3 MB, free: 15.58 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.1152/0.1152, allocations: 29.44 MB / 273.4 MB, free: 1.496 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1206/0.2358, allocations: 9.533 MB / 283 MB, free: 12.85 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.BLDCcharSpeed,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.BLDCcharSpeed") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed,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.BLDCcharSpeed") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 284.2 MB, free: 11.94 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.347e-05/1.483e-05, allocations: 3.469 kB / 284.2 MB, free: 11.94 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed): time 0.01197/0.01198, allocations: 6.043 MB / 290.3 MB, free: 7.234 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.006713/0.0187, allocations: 2.686 MB / 293 MB, free: 5.145 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003494/0.01905, allocations: 38.47 kB / 293 MB, free: 5.125 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003843/0.02289, allocations: 360.2 kB / 293.4 MB, free: 4.855 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001061/0.02395, allocations: 0.6075 MB / 294 MB, free: 4.387 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005006/0.02445, allocations: 301.9 kB / 294.3 MB, free: 4.145 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00407/0.02852, allocations: 1.225 MB / 295.5 MB, free: 3.457 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007961/0.02932, allocations: 0.7756 MB / 296.3 MB, free: 2.77 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008009/0.03012, allocations: 0.6906 MB / 296.9 MB, free: 2.078 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000574/0.03069, allocations: 490.7 kB / 297.4 MB, free: 1.598 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.75e-05/0.03079, allocations: 88 kB / 297.5 MB, free: 1.512 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000473/0.03126, allocations: 351.4 kB / 297.9 MB, free: 1.168 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002608/0.03152, allocations: 307.3 kB / 298.2 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002843/0.03181, allocations: 271.5 kB / 298.4 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009469/0.03275, allocations: 0.8567 MB / 299.3 MB, free: 15.74 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.791e-05/0.03277, allocations: 0 / 299.3 MB, free: 15.74 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.03277, allocations: 0 / 299.3 MB, free: 15.74 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.358e-05/0.0328, allocations: 8 kB / 299.3 MB, free: 15.73 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: 180 * Number of variables: 180 Notification: Performance of Generate backend data structure: time 0.001493/0.03429, allocations: 1.203 MB / 300.5 MB, free: 14.5 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.76e-05/0.03432, allocations: 8.031 kB / 300.5 MB, free: 14.49 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005519/0.03487, allocations: 253.9 kB / 300.7 MB, free: 14.23 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007176/0.03559, allocations: 0.5205 MB / 301.3 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.049e-05/0.03567, allocations: 109.3 kB / 301.4 MB, free: 13.56 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.966e-05/0.03576, allocations: 71.92 kB / 301.4 MB, free: 13.49 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006888/0.03645, allocations: 0.5854 MB / 302 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/0.03647, allocations: 4 kB / 302 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.046e-05/0.03652, allocations: 27.98 kB / 302.1 MB, free: 12.83 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.329e-05/0.03659, allocations: 61.28 kB / 302.1 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003872/0.03698, allocations: 230.1 kB / 302.3 MB, free: 12.54 MB / 298.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002879/0.03986, allocations: 2.768 MB / 305.1 MB, free: 9.621 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000341/0.0402, allocations: 279 kB / 305.4 MB, free: 9.32 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001488/0.04035, allocations: 99.17 kB / 305.5 MB, free: 9.215 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.509e-05/0.04037, allocations: 12.59 kB / 305.5 MB, free: 9.203 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.463e-05/0.0404, allocations: 42.56 kB / 305.5 MB, free: 9.152 MB / 298.7 MB Notification: Performance of pre-optimization done (n=37): time 2.004e-06/0.0404, allocations: 0 / 305.5 MB, free: 9.152 MB / 298.7 MB Notification: Performance of matching and sorting (n=38): time 0.002433/0.04283, allocations: 1.075 MB / 306.6 MB, free: 8.035 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.04287, allocations: 110.8 kB / 306.7 MB, free: 7.902 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002848/0.04316, allocations: 403 kB / 307.1 MB, free: 7.5 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/0.04318, allocations: 33.7 kB / 307.1 MB, free: 7.461 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000163/0.04335, allocations: 364.9 kB / 307.5 MB, free: 7.094 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.216e-05/0.04343, allocations: 138.8 kB / 307.6 MB, free: 6.957 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.04355, allocations: 114.2 kB / 307.7 MB, free: 6.84 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.89e-05/0.04365, allocations: 366.6 kB / 308.1 MB, free: 6.473 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.019e-05/0.04373, allocations: 45.33 kB / 308.2 MB, free: 6.426 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001854/0.04391, allocations: 277.9 kB / 308.4 MB, free: 6.059 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003445/0.04426, allocations: 393.4 kB / 308.8 MB, free: 5.574 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.04426, allocations: 4 kB / 308.8 MB, free: 5.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0007831/0.04504, allocations: 476.2 kB / 309.3 MB, free: 5.09 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.04506, allocations: 8 kB / 309.3 MB, free: 5.082 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.04507, allocations: 11.94 kB / 309.3 MB, free: 5.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009148/0.04598, allocations: 227.8 kB / 309.5 MB, free: 4.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003005/0.04628, allocations: 127.8 kB / 309.6 MB, free: 4.715 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002286/0.04857, allocations: 2.937 MB / 312.6 MB, free: 1.586 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002189/0.04879, allocations: 27.95 kB / 312.6 MB, free: 1.559 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.015e-05/0.04882, allocations: 23.98 kB / 312.6 MB, free: 1.535 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (57): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0001389/0.04896, allocations: 152.4 kB / 312.8 MB, free: 1.375 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.947e-05/0.04904, allocations: 39.95 kB / 312.8 MB, free: 1.336 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006713/0.04971, allocations: 367.8 kB / 313.2 MB, free: 0.9609 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.04971, allocations: 7.984 kB / 313.2 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.04972, allocations: 4 kB / 313.2 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.04972, allocations: 0 / 313.2 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00115/0.05087, allocations: 0.7575 MB / 313.9 MB, free: 160 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.05087, allocations: 0 / 313.9 MB, free: 160 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001996/0.05107, allocations: 67.92 kB / 314 MB, free: 92 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.953e-05/0.05117, allocations: 67.64 kB / 314.1 MB, free: 24 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006436/0.05182, allocations: 225.4 kB / 314.3 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.093e-05/0.05184, allocations: 12 kB / 314.3 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002485/0.05432, allocations: 3.002 MB / 317.3 MB, free: 12.58 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.05432, allocations: 4 kB / 317.3 MB, free: 12.58 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007827/0.05511, allocations: 0.6238 MB / 317.9 MB, free: 11.92 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.631e-05/0.05515, allocations: 8 kB / 317.9 MB, free: 11.91 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001827/0.05534, allocations: 16.02 kB / 318 MB, free: 11.9 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.569e-05/0.05541, allocations: 51.98 kB / 318 MB, free: 11.85 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.591e-05/0.05543, allocations: 4 kB / 318 MB, free: 11.84 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000145/0.05557, allocations: 168.6 kB / 318.2 MB, free: 11.68 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05557, allocations: 0 / 318.2 MB, free: 11.68 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005527/0.05613, allocations: 203.9 kB / 318.4 MB, free: 11.48 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (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 (26): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001869/0.05631, allocations: 116.2 kB / 318.5 MB, free: 11.36 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005867/0.0569, allocations: 0.566 MB / 319.1 MB, free: 10.77 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.59e-05/0.05691, allocations: 8 kB / 319.1 MB, free: 10.76 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004009/0.05732, allocations: 446 kB / 319.5 MB, free: 10.3 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005535/0.05787, allocations: 193.1 kB / 319.7 MB, free: 10.11 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01228/0.07015, allocations: 1.249 MB / 320.9 MB, free: 8.82 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001881/0.07034, allocations: 206 kB / 321.1 MB, free: 8.598 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001945/0.07053, allocations: 68.83 kB / 321.2 MB, free: 8.531 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002249/0.07076, allocations: 153.3 kB / 321.4 MB, free: 8.379 MB / 314.7 MB Notification: Performance of SimCode: time 9.12e-07/0.07076, allocations: 0 / 321.4 MB, free: 8.379 MB / 314.7 MB Notification: Performance of Templates: time 0.01486/0.08562, allocations: 10.31 MB / 331.7 MB, free: 14.24 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.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.9909380739554763]