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.001244/0.001244, allocations: 83.58 kB / 21.19 MB, free: 3.387 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.001336/0.001336, allocations: 161 kB / 24.56 MB, free: 20 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/1, allocations: 177.1 MB / 205 MB, free: 5.609 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.256/0.256, allocations: 29.42 MB / 290.9 MB, free: 2.523 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 5.441e-06/5.441e-06, allocations: 3.984 kB / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.036e-05/3.58e-05, allocations: 2.312 kB / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed): time 0.009416/0.009452, allocations: 6.005 MB / 375.6 MB, free: 4.957 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005273/0.01472, allocations: 2.63 MB / 378.3 MB, free: 2.32 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006974/0.01542, allocations: 35.69 kB / 378.3 MB, free: 2.285 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001226/0.01665, allocations: 274.2 kB / 378.6 MB, free: 2.016 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00174/0.01839, allocations: 0.6216 MB / 379.2 MB, free: 1.391 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008307/0.01922, allocations: 299.3 kB / 379.5 MB, free: 1.098 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002082/0.0213, allocations: 1.227 MB / 380.7 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001274/0.02258, allocations: 0.7909 MB / 381.5 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001208/0.02378, allocations: 0.6665 MB / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001037/0.02482, allocations: 0.4987 MB / 382.7 MB, free: 13.91 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002461/0.02507, allocations: 88 kB / 382.8 MB, free: 13.82 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007923/0.02586, allocations: 359.3 kB / 383.1 MB, free: 13.47 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004127/0.02627, allocations: 355.1 kB / 383.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005333/0.0268, allocations: 315.3 kB / 383.8 MB, free: 12.82 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001695/0.0285, allocations: 0.9307 MB / 384.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.0285, allocations: 0 / 384.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.02851, allocations: 0 / 384.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.792e-05/0.02853, allocations: 0 / 384.7 MB, free: 11.88 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.002301/0.03084, allocations: 1.196 MB / 385.9 MB, free: 10.64 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.03089, allocations: 23.91 kB / 385.9 MB, free: 10.62 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007908/0.03168, allocations: 204.2 kB / 386.1 MB, free: 10.42 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001208/0.03288, allocations: 0.6521 MB / 386.8 MB, free: 9.742 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001152/0.033, allocations: 102 kB / 386.9 MB, free: 9.629 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001265/0.03313, allocations: 68.12 kB / 386.9 MB, free: 9.562 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001446/0.03457, allocations: 0.6549 MB / 387.6 MB, free: 8.852 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.995e-05/0.0346, allocations: 4 kB / 387.6 MB, free: 8.848 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.472e-05/0.03468, allocations: 27.98 kB / 387.6 MB, free: 8.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001135/0.03479, allocations: 61.28 kB / 387.7 MB, free: 8.758 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008923/0.03568, allocations: 335.4 kB / 388 MB, free: 8.43 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.004029/0.03971, allocations: 3.6 MB / 391.6 MB, free: 4.652 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004044/0.04012, allocations: 300.2 kB / 391.9 MB, free: 4.324 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001986/0.04031, allocations: 131.1 kB / 392 MB, free: 4.184 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.395e-05/0.04035, allocations: 11.94 kB / 392 MB, free: 4.172 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.04038, allocations: 57.25 kB / 392.1 MB, free: 4.105 MB / 362.7 MB Notification: Performance of pre-optimization done (n=37): time 1.754e-06/0.04038, allocations: 0 / 392.1 MB, free: 4.105 MB / 362.7 MB Notification: Performance of matching and sorting (n=55): time 0.00502/0.0454, allocations: 2.396 MB / 394.5 MB, free: 1.633 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.979e-05/0.04545, allocations: 115.3 kB / 394.6 MB, free: 1.496 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003931/0.04585, allocations: 490.4 kB / 395.1 MB, free: 0.9961 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.272e-05/0.04588, allocations: 37.7 kB / 395.1 MB, free: 0.9531 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002031/0.04608, allocations: 462.7 kB / 395.6 MB, free: 0.4922 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/0.04619, allocations: 198.3 kB / 395.8 MB, free: 304 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001426/0.04633, allocations: 140.2 kB / 395.9 MB, free: 156 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.0465, allocations: 0.543 MB / 396.4 MB, free: 15.6 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000187/0.04668, allocations: 121.9 kB / 396.6 MB, free: 15.48 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003146/0.047, allocations: 452.9 kB / 397 MB, free: 14.9 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005523/0.04755, allocations: 0.6165 MB / 397.6 MB, free: 14.14 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.04755, allocations: 3.938 kB / 397.6 MB, free: 14.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001544/0.0491, allocations: 0.9045 MB / 398.5 MB, free: 13.21 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.04912, allocations: 8 kB / 398.5 MB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.04913, allocations: 8 kB / 398.5 MB, free: 13.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001269/0.0504, allocations: 490.2 kB / 399 MB, free: 12.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002332/0.05063, allocations: 107.8 kB / 399.1 MB, free: 12.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005515/0.05614, allocations: 8.338 MB / 407.5 MB, free: 3.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004692/0.05661, allocations: 31.97 kB / 407.5 MB, free: 3.738 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.769e-05/0.05667, allocations: 35.98 kB / 407.5 MB, free: 3.703 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.0002515/0.05692, allocations: 200.4 kB / 407.7 MB, free: 3.496 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.05702, allocations: 75.62 kB / 407.8 MB, free: 3.422 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001672/0.0587, allocations: 0.7551 MB / 408.6 MB, free: 2.645 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.0587, allocations: 7.938 kB / 408.6 MB, free: 2.637 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.05871, allocations: 4 kB / 408.6 MB, free: 2.633 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.699e-06/0.05872, allocations: 11.98 kB / 408.6 MB, free: 2.621 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002204/0.06092, allocations: 1.471 MB / 410 MB, free: 1.082 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.06092, allocations: 4 kB / 410.1 MB, free: 1.078 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001729/0.0611, allocations: 59.89 kB / 410.1 MB, free: 1.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001159/0.06226, allocations: 466.3 kB / 410.6 MB, free: 0.5469 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.041e-05/0.06229, allocations: 19.98 kB / 410.6 MB, free: 0.5273 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005604/0.06789, allocations: 8.28 MB / 418.9 MB, free: 7.742 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.06789, allocations: 7.938 kB / 418.9 MB, free: 7.734 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001713/0.06961, allocations: 1.16 MB / 420 MB, free: 6.523 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001816/0.06979, allocations: 111.6 kB / 420.1 MB, free: 6.414 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.501e-05/0.06983, allocations: 16 kB / 420.2 MB, free: 6.398 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001817/0.07002, allocations: 19.98 kB / 420.2 MB, free: 6.379 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/0.07015, allocations: 68.25 kB / 420.2 MB, free: 6.312 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.506e-05/0.07018, allocations: 19.94 kB / 420.3 MB, free: 6.293 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00024/0.07042, allocations: 303.1 kB / 420.6 MB, free: 5.996 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.07042, allocations: 0 / 420.6 MB, free: 5.996 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007654/0.07118, allocations: 255.9 kB / 420.8 MB, free: 5.746 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.0002649/0.07145, allocations: 142 kB / 420.9 MB, free: 5.602 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001338/0.07278, allocations: 1.283 MB / 422.2 MB, free: 4.246 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.07279, allocations: 4 kB / 422.2 MB, free: 4.242 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001144/0.07393, allocations: 1.074 MB / 423.3 MB, free: 3.094 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005702/0.0745, allocations: 145.7 kB / 423.5 MB, free: 2.957 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002286/0.07679, allocations: 1.459 MB / 424.9 MB, free: 1.441 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002369/0.07702, allocations: 239.5 kB / 425.1 MB, free: 1.188 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001979/0.07722, allocations: 93.19 kB / 425.2 MB, free: 1.094 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.768e-05/0.0773, allocations: 44.48 kB / 425.3 MB, free: 1.051 MB / 394.7 MB Notification: Performance of SimCode: time 1.413e-06/0.0773, allocations: 0 / 425.3 MB, free: 1.051 MB / 394.7 MB Notification: Performance of Templates: time 0.01729/0.09459, allocations: 14.04 MB / 439.3 MB, free: 3.148 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","",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.7744112140499055]