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.001911/0.001911, allocations: 88.31 kB / 20.96 MB, free: 3.477 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.002116/0.002116, allocations: 161.6 kB / 24.27 MB, free: 172 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.511/1.511, 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.3063/0.3063, allocations: 29.42 MB / 290.5 MB, free: 2.445 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.655e-06/2.655e-06, allocations: 0 / 368.9 MB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.298e-05/3.564e-05, allocations: 2.312 kB / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed): time 0.01511/0.01514, allocations: 6.087 MB / 375 MB, free: 5.211 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00858/0.02372, allocations: 2.508 MB / 377.5 MB, free: 2.695 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001005/0.02473, allocations: 43.69 kB / 377.5 MB, free: 2.652 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001894/0.02662, allocations: 326 kB / 377.8 MB, free: 2.332 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002827/0.02945, allocations: 0.6215 MB / 378.5 MB, free: 1.707 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001327/0.03078, allocations: 287.4 kB / 378.7 MB, free: 1.426 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.003174/0.03395, allocations: 1.242 MB / 380 MB, free: 184 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001865/0.03582, allocations: 0.791 MB / 380.8 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001665/0.03748, allocations: 0.6702 MB / 381.4 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001305/0.03879, allocations: 498.7 kB / 381.9 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002234/0.03901, allocations: 88 kB / 382 MB, free: 14.14 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001109/0.04012, allocations: 355.4 kB / 382.4 MB, free: 13.79 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006346/0.04075, allocations: 347.1 kB / 382.7 MB, free: 13.45 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006998/0.04145, allocations: 315.3 kB / 383 MB, free: 13.14 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003371/0.04482, allocations: 1.398 MB / 384.4 MB, free: 11.74 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.04483, allocations: 0 / 384.4 MB, free: 11.74 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.612e-06/0.04484, allocations: 4 kB / 384.4 MB, free: 11.74 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.974e-05/0.04486, allocations: 0 / 384.4 MB, free: 11.74 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.003817/0.04867, allocations: 1.092 MB / 385.5 MB, free: 10.61 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.567e-05/0.04874, allocations: 15.98 kB / 385.5 MB, free: 10.59 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001309/0.05005, allocations: 200.3 kB / 385.7 MB, free: 10.4 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00234/0.05239, allocations: 0.6765 MB / 386.4 MB, free: 9.695 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002178/0.05261, allocations: 102 kB / 386.5 MB, free: 9.582 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002101/0.05282, allocations: 68.12 kB / 386.6 MB, free: 9.516 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002769/0.05559, allocations: 0.953 MB / 387.5 MB, free: 8.523 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.408e-05/0.05563, allocations: 4 kB / 387.5 MB, free: 8.52 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001245/0.05575, allocations: 27.98 kB / 387.5 MB, free: 8.492 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001816/0.05594, allocations: 61.28 kB / 387.6 MB, free: 8.43 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002402/0.05834, allocations: 0.7857 MB / 388.4 MB, free: 7.645 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.008959/0.0673, allocations: 3.318 MB / 391.7 MB, free: 4.168 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001306/0.0686, allocations: 416.1 kB / 392.1 MB, free: 3.738 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000728/0.06933, allocations: 226.4 kB / 392.3 MB, free: 3.508 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.435e-05/0.06939, allocations: 7.938 kB / 392.3 MB, free: 3.5 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.037e-05/0.06945, allocations: 46.55 kB / 392.4 MB, free: 3.445 MB / 362.7 MB Notification: Performance of pre-optimization done (n=37): time 3.457e-06/0.06945, allocations: 4 kB / 392.4 MB, free: 3.441 MB / 362.7 MB Notification: Performance of matching and sorting (n=55): time 0.01828/0.08773, allocations: 3.396 MB / 395.8 MB, free: 15.98 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001481/0.08787, allocations: 119.2 kB / 395.9 MB, free: 15.84 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001133/0.08901, allocations: 473.7 kB / 396.4 MB, free: 15.36 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003059/0.08931, allocations: 37.7 kB / 396.4 MB, free: 15.32 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005494/0.08986, allocations: 411.9 kB / 396.8 MB, free: 14.91 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004749/0.09034, allocations: 194.4 kB / 397 MB, free: 14.71 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003704/0.09071, allocations: 130.6 kB / 397.1 MB, free: 14.58 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003479/0.09106, allocations: 370.7 kB / 397.5 MB, free: 14.21 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008632/0.09192, allocations: 281.8 kB / 397.8 MB, free: 13.93 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001386/0.0933, allocations: 0.5034 MB / 398.3 MB, free: 13.33 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002172/0.09548, allocations: 0.8532 MB / 399.1 MB, free: 12.38 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.743e-06/0.09548, allocations: 0 / 399.1 MB, free: 12.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00586/0.1013, allocations: 1.339 MB / 400.5 MB, free: 11.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.429e-05/0.1014, allocations: 14.75 kB / 400.5 MB, free: 11.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.752e-05/0.1014, allocations: 8 kB / 400.5 MB, free: 11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004353/0.1058, allocations: 0.6275 MB / 401.1 MB, free: 10.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007739/0.1065, allocations: 119.8 kB / 401.2 MB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01483/0.1214, allocations: 8.672 MB / 409.9 MB, free: 1.164 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006519/0.122, allocations: 35.92 kB / 409.9 MB, free: 1.129 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.381e-05/0.1221, allocations: 28 kB / 410 MB, free: 1.102 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.0005539/0.1226, allocations: 309.7 kB / 410.3 MB, free: 0.7891 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001879/0.1228, allocations: 75.62 kB / 410.3 MB, free: 0.7148 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003537/0.1264, allocations: 1.154 MB / 411.5 MB, free: 15.54 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.324e-05/0.1264, allocations: 11.94 kB / 411.5 MB, free: 15.53 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/0.1264, allocations: 4 kB / 411.5 MB, free: 15.53 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.1264, allocations: 7.984 kB / 411.5 MB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005098/0.1315, allocations: 1.886 MB / 413.4 MB, free: 13.58 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.407e-06/0.1315, allocations: 4 kB / 413.4 MB, free: 13.57 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003704/0.1319, allocations: 59.91 kB / 413.5 MB, free: 13.52 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002641/0.1345, allocations: 0.6117 MB / 414.1 MB, free: 12.89 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.904e-05/0.1346, allocations: 19.98 kB / 414.1 MB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01239/0.147, allocations: 8.401 MB / 422.5 MB, free: 4.051 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.165e-06/0.147, allocations: 7.875 kB / 422.5 MB, free: 4.043 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004295/0.1513, allocations: 1.711 MB / 424.2 MB, free: 2.293 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003324/0.1516, allocations: 123.5 kB / 424.3 MB, free: 2.172 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.983e-05/0.1517, allocations: 12 kB / 424.3 MB, free: 2.16 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004227/0.1521, allocations: 19.98 kB / 424.4 MB, free: 2.141 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002302/0.1523, allocations: 60.33 kB / 424.4 MB, free: 2.082 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.738e-05/0.1524, allocations: 19.98 kB / 424.4 MB, free: 2.062 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005002/0.1529, allocations: 319.1 kB / 424.7 MB, free: 1.75 MB / 394.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1529, allocations: 0 / 424.7 MB, free: 1.75 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00108/0.154, allocations: 251.9 kB / 425 MB, free: 1.504 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.0003309/0.1543, allocations: 146.7 kB / 425.1 MB, free: 1.355 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003065/0.1573, allocations: 1.328 MB / 426.5 MB, free: 15.98 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.1574, allocations: 4 kB / 426.5 MB, free: 15.97 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001942/0.1593, allocations: 0.9736 MB / 427.4 MB, free: 14.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009738/0.1603, allocations: 138.7 kB / 427.6 MB, free: 14.81 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003115/0.1634, allocations: 1.622 MB / 429.2 MB, free: 13.14 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006213/0.164, allocations: 460.7 kB / 429.6 MB, free: 12.67 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003357/0.1643, allocations: 101.2 kB / 429.7 MB, free: 12.57 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001204/0.1645, allocations: 48.48 kB / 429.8 MB, free: 12.52 MB / 410.7 MB Notification: Performance of SimCode: time 8.42e-07/0.1645, allocations: 0 / 429.8 MB, free: 12.52 MB / 410.7 MB Notification: Performance of Templates: time 0.1502/0.3147, allocations: 13.76 MB / 443.6 MB, free: 108.1 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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.pipe 2>&1) [Timeout 480] 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.448418683023192]