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.001466/0.001466, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001298/0.001298, allocations: 165 kB / 24.56 MB, free: 12 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.009/1.009, allocations: 177.1 MB / 205 MB, free: 5.637 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.2382/0.2382, allocations: 29.42 MB / 290.9 MB, free: 2.48 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.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 4.508e-06/4.508e-06, allocations: 7.938 kB / 369.7 MB, free: 10.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.368e-05/2.818e-05, allocations: 2.312 kB / 369.7 MB, free: 10.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed): time 0.007066/0.007095, allocations: 5.998 MB / 375.7 MB, free: 4.945 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004002/0.0111, allocations: 2.63 MB / 378.3 MB, free: 2.309 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000599/0.0117, allocations: 39.69 kB / 378.3 MB, free: 2.27 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00111/0.01281, allocations: 322 kB / 378.6 MB, free: 1.953 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001399/0.01421, allocations: 0.6255 MB / 379.3 MB, free: 1.324 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007116/0.01492, allocations: 299.4 kB / 379.6 MB, free: 1.031 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001697/0.01661, allocations: 1.223 MB / 380.8 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001012/0.01763, allocations: 0.7908 MB / 381.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009605/0.01859, allocations: 0.6781 MB / 382.2 MB, free: 14.34 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007714/0.01936, allocations: 0.5026 MB / 382.7 MB, free: 13.83 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001454/0.0195, allocations: 87.94 kB / 382.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000618/0.02012, allocations: 351.5 kB / 383.2 MB, free: 13.4 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003198/0.02044, allocations: 355.1 kB / 383.5 MB, free: 13.05 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003483/0.02079, allocations: 307.3 kB / 383.8 MB, free: 12.75 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001227/0.02202, allocations: 0.9346 MB / 384.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.02202, allocations: 0 / 384.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.02202, allocations: 0 / 384.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.879e-05/0.02204, allocations: 0 / 384.8 MB, free: 11.82 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.00194/0.02398, allocations: 1.199 MB / 386 MB, free: 10.57 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.02402, allocations: 11.98 kB / 386 MB, free: 10.56 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006695/0.02469, allocations: 212.3 kB / 386.2 MB, free: 10.36 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009474/0.02564, allocations: 0.6404 MB / 386.8 MB, free: 9.688 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001033/0.02574, allocations: 106 kB / 386.9 MB, free: 9.57 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001011/0.02584, allocations: 72.11 kB / 387 MB, free: 9.5 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/0.02685, allocations: 0.6472 MB / 387.6 MB, free: 8.797 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.751e-05/0.02688, allocations: 3.938 kB / 387.6 MB, free: 8.793 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.634e-05/0.02693, allocations: 31.94 kB / 387.7 MB, free: 8.762 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.527e-05/0.02703, allocations: 57.28 kB / 387.7 MB, free: 8.703 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007199/0.02775, allocations: 335.5 kB / 388.1 MB, free: 8.375 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.003807/0.03156, allocations: 3.593 MB / 391.6 MB, free: 4.605 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005099/0.03207, allocations: 301.3 kB / 391.9 MB, free: 4.273 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002567/0.03232, allocations: 143 kB / 392.1 MB, free: 4.121 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.932e-05/0.03235, allocations: 11.94 kB / 392.1 MB, free: 4.109 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/0.03238, allocations: 41.39 kB / 392.1 MB, free: 4.059 MB / 362.7 MB Notification: Performance of pre-optimization done (n=37): time 2.274e-06/0.03239, allocations: 0 / 392.1 MB, free: 4.059 MB / 362.7 MB Notification: Performance of matching and sorting (n=55): time 0.005901/0.03829, allocations: 2.409 MB / 394.5 MB, free: 1.57 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.172e-05/0.03834, allocations: 107.3 kB / 394.6 MB, free: 1.441 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004607/0.0388, allocations: 490.4 kB / 395.1 MB, free: 0.9414 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.769e-05/0.03884, allocations: 37.7 kB / 395.2 MB, free: 0.8984 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002555/0.03909, allocations: 466.7 kB / 395.6 MB, free: 444 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001414/0.03923, allocations: 202.2 kB / 395.8 MB, free: 240 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001731/0.03941, allocations: 136.2 kB / 396 MB, free: 96 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001863/0.03959, allocations: 0.5547 MB / 396.5 MB, free: 15.53 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002355/0.03983, allocations: 117.9 kB / 396.6 MB, free: 15.41 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003927/0.04022, allocations: 448.9 kB / 397.1 MB, free: 14.84 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006434/0.04087, allocations: 0.6125 MB / 397.7 MB, free: 14.09 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/0.04087, allocations: 4 kB / 397.7 MB, free: 14.08 MB / 378.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001492/0.04236, allocations: 0.9006 MB / 398.6 MB, free: 13.16 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.04238, allocations: 10.75 kB / 398.6 MB, free: 13.15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.0424, allocations: 12 kB / 398.6 MB, free: 13.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001204/0.0436, allocations: 481.6 kB / 399.1 MB, free: 12.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002323/0.04383, allocations: 111.8 kB / 399.2 MB, free: 12.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005859/0.04969, allocations: 8.342 MB / 407.5 MB, free: 3.711 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004032/0.0501, allocations: 28 kB / 407.5 MB, free: 3.684 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.775e-05/0.05013, allocations: 31.98 kB / 407.6 MB, free: 3.652 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.0002581/0.05039, allocations: 200.4 kB / 407.8 MB, free: 3.445 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/0.0505, allocations: 75.62 kB / 407.8 MB, free: 3.371 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001372/0.05187, allocations: 0.7551 MB / 408.6 MB, free: 2.594 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.05188, allocations: 7.938 kB / 408.6 MB, free: 2.586 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.05188, allocations: 4 kB / 408.6 MB, free: 2.582 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.05189, allocations: 4.172 kB / 408.6 MB, free: 2.578 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002198/0.05409, allocations: 1.487 MB / 410.1 MB, free: 1.023 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.0541, allocations: 4 kB / 410.1 MB, free: 1.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001731/0.05427, allocations: 59.89 kB / 410.2 MB, free: 0.9609 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001174/0.05544, allocations: 466.4 kB / 410.6 MB, free: 500 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.86e-05/0.05548, allocations: 12 kB / 410.6 MB, free: 488 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005651/0.06113, allocations: 8.287 MB / 418.9 MB, free: 7.688 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.06114, allocations: 3.938 kB / 418.9 MB, free: 7.684 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00171/0.06285, allocations: 1.175 MB / 420.1 MB, free: 6.457 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001761/0.06302, allocations: 111.6 kB / 420.2 MB, free: 6.348 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.49e-05/0.06307, allocations: 12 kB / 420.2 MB, free: 6.336 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001787/0.06325, allocations: 24.02 kB / 420.2 MB, free: 6.312 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001559/0.0634, allocations: 60.33 kB / 420.3 MB, free: 6.254 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.449e-05/0.06343, allocations: 16 kB / 420.3 MB, free: 6.238 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002439/0.06367, allocations: 307 kB / 420.6 MB, free: 5.938 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.06367, allocations: 0 / 420.6 MB, free: 5.938 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007848/0.06446, allocations: 251.9 kB / 420.9 MB, free: 5.691 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.00027/0.06473, allocations: 135.2 kB / 421 MB, free: 5.551 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001378/0.0661, allocations: 1.28 MB / 422.3 MB, free: 4.199 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.06611, allocations: 0 / 422.3 MB, free: 4.199 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008551/0.06696, allocations: 1.088 MB / 423.4 MB, free: 3.035 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005329/0.06749, allocations: 143.1 kB / 423.5 MB, free: 2.902 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002701/0.0702, allocations: 1.459 MB / 425 MB, free: 1.387 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002241/0.07042, allocations: 239.5 kB / 425.2 MB, free: 1.133 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.00023/0.07065, allocations: 97.11 kB / 425.3 MB, free: 1.035 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.133e-05/0.07073, allocations: 40.5 kB / 425.3 MB, free: 0.9961 MB / 394.7 MB Notification: Performance of SimCode: time 1.223e-06/0.07073, allocations: 0 / 425.3 MB, free: 0.9961 MB / 394.7 MB Notification: Performance of Templates: time 0.02012/0.09085, allocations: 14.57 MB / 439.9 MB, free: 2.566 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.6014744890853763]