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.002592/0.002592, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002654/0.002654, allocations: 165.3 kB / 24.27 MB, free: 152 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.533/1.533, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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.3089/0.3089, allocations: 29.4 MB / 290.5 MB, free: 2.434 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.BLDCcharSpeed,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.BLDCcharSpeed") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed,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.BLDCcharSpeed") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.195e-06/2.195e-06, allocations: 0 / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.181e-05/3.4e-05, allocations: 2.312 kB / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed): time 0.01603/0.01606, allocations: 6.419 MB / 375.3 MB, free: 4.871 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00795/0.02401, allocations: 2.618 MB / 377.9 MB, free: 2.246 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005533/0.02456, allocations: 39.69 kB / 378 MB, free: 2.207 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001695/0.02626, allocations: 334 kB / 378.3 MB, free: 1.879 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002373/0.02863, allocations: 0.6059 MB / 378.9 MB, free: 1.27 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001228/0.02986, allocations: 299.4 kB / 379.2 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002602/0.03246, allocations: 1.238 MB / 380.4 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001781/0.03424, allocations: 0.7948 MB / 381.2 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00161/0.03585, allocations: 0.6858 MB / 381.9 MB, free: 14.26 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001408/0.03726, allocations: 0.4948 MB / 382.4 MB, free: 13.76 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002283/0.03749, allocations: 92 kB / 382.5 MB, free: 13.67 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001128/0.03862, allocations: 351.4 kB / 382.8 MB, free: 13.33 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004458/0.03906, allocations: 363.1 kB / 383.2 MB, free: 12.97 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004276/0.03949, allocations: 311.3 kB / 383.5 MB, free: 12.67 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001844/0.04134, allocations: 1.41 MB / 384.9 MB, free: 11.25 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.04134, allocations: 0 / 384.9 MB, free: 11.25 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.04134, allocations: 0 / 384.9 MB, free: 11.25 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.149e-05/0.04135, allocations: 0 / 384.9 MB, free: 11.25 MB / 362.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.002485/0.04384, allocations: 1.277 MB / 386.2 MB, free: 9.934 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.04388, allocations: 11.98 kB / 386.2 MB, free: 9.922 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008245/0.0447, allocations: 204.3 kB / 386.4 MB, free: 9.723 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001352/0.04605, allocations: 0.6559 MB / 387 MB, free: 9.039 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001475/0.0462, allocations: 106 kB / 387.1 MB, free: 8.922 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001256/0.04633, allocations: 76.11 kB / 387.2 MB, free: 8.848 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001495/0.04782, allocations: 0.8027 MB / 388 MB, free: 7.992 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.094e-05/0.04785, allocations: 3.938 kB / 388 MB, free: 7.988 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.616e-05/0.04793, allocations: 28 kB / 388 MB, free: 7.961 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001109/0.04804, allocations: 53.28 kB / 388.1 MB, free: 7.906 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001129/0.04917, allocations: 496.8 kB / 388.6 MB, free: 7.422 MB / 362.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.006149/0.05532, allocations: 4.076 MB / 392.7 MB, free: 3.156 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007756/0.05609, allocations: 345.3 kB / 393 MB, free: 2.785 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004019/0.05649, allocations: 167 kB / 393.2 MB, free: 2.609 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.139e-05/0.05655, allocations: 11.94 kB / 393.2 MB, free: 2.598 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.593e-05/0.05659, allocations: 41.98 kB / 393.2 MB, free: 2.547 MB / 362.7 MB Notification: Performance of pre-optimization done (n=37): time 1.984e-06/0.05659, allocations: 0 / 393.2 MB, free: 2.547 MB / 362.7 MB Notification: Performance of matching and sorting (n=55): time 0.009815/0.06641, allocations: 2.627 MB / 395.8 MB, free: 15.84 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.06651, allocations: 107.3 kB / 395.9 MB, free: 15.71 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00086/0.06737, allocations: 0.6196 MB / 396.6 MB, free: 15.07 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.176e-05/0.06742, allocations: 33.7 kB / 396.6 MB, free: 15.03 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000438/0.06786, allocations: 490.7 kB / 397.1 MB, free: 14.54 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002387/0.0681, allocations: 222.2 kB / 397.3 MB, free: 14.32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002694/0.06837, allocations: 164.3 kB / 397.5 MB, free: 14.16 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0004085/0.06878, allocations: 0.5859 MB / 398 MB, free: 13.56 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003858/0.06917, allocations: 165.9 kB / 398.2 MB, free: 13.39 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007323/0.0699, allocations: 0.5086 MB / 398.7 MB, free: 12.75 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001189/0.07109, allocations: 0.7218 MB / 399.4 MB, free: 11.89 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.07109, allocations: 4 kB / 399.4 MB, free: 11.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003298/0.07439, allocations: 1.015 MB / 400.5 MB, free: 10.84 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.887e-05/0.07442, allocations: 10.66 kB / 400.5 MB, free: 10.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.268e-05/0.07444, allocations: 8 kB / 400.5 MB, free: 10.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002593/0.07704, allocations: 0.5063 MB / 401 MB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004659/0.0775, allocations: 115.8 kB / 401.1 MB, free: 10.19 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01134/0.08884, allocations: 8.72 MB / 409.8 MB, free: 0.9805 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006129/0.08945, allocations: 32.03 kB / 409.8 MB, free: 0.9492 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.363e-05/0.08952, allocations: 31.98 kB / 409.9 MB, free: 0.918 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (61): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (3,8,88.9%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0004359/0.08995, allocations: 256.4 kB / 410.1 MB, free: 0.6562 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001705/0.09012, allocations: 79.61 kB / 410.2 MB, free: 0.5781 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002923/0.09305, allocations: 0.8488 MB / 411 MB, free: 15.71 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/0.09306, allocations: 11.94 kB / 411.1 MB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.09306, allocations: 4 kB / 411.1 MB, free: 15.69 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.739e-06/0.09307, allocations: 3.984 kB / 411.1 MB, free: 15.69 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004603/0.09768, allocations: 1.74 MB / 412.8 MB, free: 13.88 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.664e-06/0.09769, allocations: 4 kB / 412.8 MB, free: 13.87 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003272/0.09801, allocations: 56.05 kB / 412.9 MB, free: 13.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002339/0.1004, allocations: 0.5098 MB / 413.4 MB, free: 13.29 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.683e-05/0.1004, allocations: 12 kB / 413.4 MB, free: 13.28 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01066/0.1111, allocations: 8.67 MB / 422.1 MB, free: 4.121 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.621e-05/0.1111, allocations: 7.938 kB / 422.1 MB, free: 4.113 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003564/0.1146, allocations: 1.335 MB / 423.4 MB, free: 2.727 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003381/0.115, allocations: 107.6 kB / 423.5 MB, free: 2.621 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.166e-05/0.1151, allocations: 12 kB / 423.5 MB, free: 2.609 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003768/0.1154, allocations: 24.12 kB / 423.5 MB, free: 2.586 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002015/0.1156, allocations: 64.45 kB / 423.6 MB, free: 2.523 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.951e-05/0.1157, allocations: 16 kB / 423.6 MB, free: 2.508 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00052/0.1162, allocations: 375 kB / 424 MB, free: 2.141 MB / 394.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1162, allocations: 0 / 424 MB, free: 2.141 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001063/0.1173, allocations: 251.9 kB / 424.2 MB, free: 1.895 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (machine.rotor.w,machine.motor.phi_el) * 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 (31): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,8,88.9%), (1,3,100.0%), (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.0003526/0.1176, allocations: 139.1 kB / 424.4 MB, free: 1.746 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002631/0.1202, allocations: 1.401 MB / 425.8 MB, free: 280 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.1202, allocations: 0 / 425.8 MB, free: 280 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002055/0.1223, allocations: 1.143 MB / 426.9 MB, free: 15.05 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00088/0.1232, allocations: 147.6 kB / 427.1 MB, free: 14.91 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002814/0.126, allocations: 1.487 MB / 428.5 MB, free: 13.37 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005783/0.1266, allocations: 444.5 kB / 429 MB, free: 12.91 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003025/0.1269, allocations: 89.17 kB / 429.1 MB, free: 12.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001133/0.127, allocations: 48.48 kB / 429.1 MB, free: 12.78 MB / 410.7 MB Notification: Performance of SimCode: time 1.273e-06/0.127, allocations: 0 / 429.1 MB, free: 12.78 MB / 410.7 MB Notification: Performance of Templates: time 0.1784/0.3054, allocations: 14.03 MB / 443.1 MB, free: 106.2 MB / 410.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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.439845670945942]