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.0009828/0.0009828, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001098/0.001098, allocations: 169.6 kB / 24.91 MB, free: 8.727 MB / 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.078/1.078, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.2569/0.2569, allocations: 29.43 MB / 291.2 MB, free: 2.449 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 1.723e-06/1.723e-06, allocations: 0 / 316.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.286e-05/2.459e-05, allocations: 2.312 kB / 316.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed): time 0.01008/0.0101, allocations: 6.009 MB / 322.9 MB, free: 9.918 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005615/0.01572, allocations: 2.671 MB / 325.6 MB, free: 7.242 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007684/0.01648, allocations: 35.69 kB / 325.6 MB, free: 7.207 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0013/0.01778, allocations: 322 kB / 325.9 MB, free: 6.891 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00197/0.01975, allocations: 0.6137 MB / 326.5 MB, free: 6.273 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008705/0.02062, allocations: 295.4 kB / 326.8 MB, free: 5.984 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001268/0.02189, allocations: 1.234 MB / 328 MB, free: 4.746 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007021/0.02259, allocations: 0.7971 MB / 328.8 MB, free: 3.941 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005446/0.02314, allocations: 0.6587 MB / 329.5 MB, free: 3.281 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004922/0.02363, allocations: 494.7 kB / 330 MB, free: 2.797 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.748e-05/0.02371, allocations: 84 kB / 330.1 MB, free: 2.715 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004234/0.02413, allocations: 355.4 kB / 330.4 MB, free: 2.367 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002412/0.02437, allocations: 359.1 kB / 330.8 MB, free: 2.016 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002334/0.02461, allocations: 315.3 kB / 331.1 MB, free: 1.707 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008415/0.02545, allocations: 0.9346 MB / 332 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.02545, allocations: 3.938 kB / 332 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.02546, allocations: 0 / 332 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.02546, allocations: 0 / 332 MB, free: 0.7617 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.00116/0.02662, allocations: 1.027 MB / 333 MB, free: 15.71 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.02666, allocations: 11.98 kB / 333.1 MB, free: 15.7 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004763/0.02713, allocations: 172.8 kB / 333.2 MB, free: 15.53 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006284/0.02776, allocations: 0.5205 MB / 333.7 MB, free: 14.98 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.906e-05/0.02784, allocations: 106 kB / 333.8 MB, free: 14.86 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.611e-05/0.02792, allocations: 76.09 kB / 333.9 MB, free: 14.79 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005945/0.02851, allocations: 0.5892 MB / 334.5 MB, free: 14.15 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/0.02853, allocations: 0 / 334.5 MB, free: 14.15 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.221e-05/0.02857, allocations: 31.98 kB / 334.5 MB, free: 14.12 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.37e-05/0.02864, allocations: 53.28 kB / 334.6 MB, free: 14.07 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003263/0.02896, allocations: 238.1 kB / 334.8 MB, free: 13.83 MB / 314.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.00222/0.03118, allocations: 2.768 MB / 337.6 MB, free: 10.91 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002819/0.03147, allocations: 282.5 kB / 337.9 MB, free: 10.61 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001395/0.0316, allocations: 103.1 kB / 338 MB, free: 10.5 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.03163, allocations: 8.594 kB / 338 MB, free: 10.49 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.03165, allocations: 42.48 kB / 338 MB, free: 10.44 MB / 314.7 MB Notification: Performance of pre-optimization done (n=37): time 1.512e-06/0.03165, allocations: 8 kB / 338 MB, free: 10.43 MB / 314.7 MB Notification: Performance of matching and sorting (n=38): time 0.002059/0.03371, allocations: 1.071 MB / 339.1 MB, free: 9.32 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/0.03375, allocations: 106.8 kB / 339.2 MB, free: 9.191 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002442/0.03399, allocations: 410.9 kB / 339.6 MB, free: 8.773 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.26e-05/0.03402, allocations: 29.7 kB / 339.6 MB, free: 8.738 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001373/0.03415, allocations: 364.9 kB / 340 MB, free: 8.379 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.331e-05/0.03423, allocations: 146.8 kB / 340.1 MB, free: 8.234 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.496e-05/0.03432, allocations: 102.2 kB / 340.2 MB, free: 8.129 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.597e-05/0.03442, allocations: 362.7 kB / 340.6 MB, free: 7.766 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.412e-05/0.03449, allocations: 53.28 kB / 340.6 MB, free: 7.711 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001619/0.03465, allocations: 281.9 kB / 340.9 MB, free: 7.34 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002895/0.03494, allocations: 381.5 kB / 341.3 MB, free: 6.867 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.03495, allocations: 0 / 341.3 MB, free: 6.867 MB / 314.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0008477/0.03579, allocations: 484 kB / 341.8 MB, free: 6.379 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.03582, allocations: 8 kB / 341.8 MB, free: 6.371 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.03583, allocations: 8 kB / 341.8 MB, free: 6.363 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000731/0.03656, allocations: 238.7 kB / 342 MB, free: 6.125 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002864/0.03685, allocations: 119.8 kB / 342.1 MB, free: 6.008 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002342/0.03919, allocations: 2.925 MB / 345 MB, free: 2.879 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003341/0.03952, allocations: 23.95 kB / 345.1 MB, free: 2.855 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.738e-05/0.03955, allocations: 23.98 kB / 345.1 MB, free: 2.832 MB / 314.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.000176/0.03973, allocations: 148.4 kB / 345.2 MB, free: 2.676 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.59e-05/0.0398, allocations: 48.06 kB / 345.3 MB, free: 2.629 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006186/0.04042, allocations: 371 kB / 345.6 MB, free: 2.254 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.04043, allocations: 7.984 kB / 345.7 MB, free: 2.246 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.04043, allocations: 0 / 345.7 MB, free: 2.246 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.04044, allocations: 4 kB / 345.7 MB, free: 2.242 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001214/0.04165, allocations: 0.7614 MB / 346.4 MB, free: 1.445 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.04165, allocations: 0 / 346.4 MB, free: 1.445 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001671/0.04182, allocations: 55.98 kB / 346.5 MB, free: 1.391 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005678/0.04239, allocations: 225 kB / 346.7 MB, free: 1.164 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.352e-05/0.04241, allocations: 16 kB / 346.7 MB, free: 1.148 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002219/0.04463, allocations: 2.989 MB / 349.7 MB, free: 13.96 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.04463, allocations: 3.938 kB / 349.7 MB, free: 13.95 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007357/0.04537, allocations: 0.6242 MB / 350.3 MB, free: 13.3 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.04547, allocations: 67.62 kB / 350.4 MB, free: 13.23 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.653e-05/0.04551, allocations: 8 kB / 350.4 MB, free: 13.22 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001793/0.04569, allocations: 20.03 kB / 350.4 MB, free: 13.2 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.959e-05/0.04579, allocations: 43.86 kB / 350.5 MB, free: 13.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.578e-05/0.0458, allocations: 8 kB / 350.5 MB, free: 13.15 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001516/0.04595, allocations: 164.7 kB / 350.6 MB, free: 12.99 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04595, allocations: 4 kB / 350.6 MB, free: 12.99 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006043/0.04656, allocations: 195.9 kB / 350.8 MB, free: 12.8 MB / 330.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.0002331/0.04679, allocations: 117.5 kB / 350.9 MB, free: 12.68 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006076/0.0474, allocations: 0.5632 MB / 351.5 MB, free: 12.09 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.328e-05/0.04741, allocations: 8 kB / 351.5 MB, free: 12.08 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003808/0.04779, allocations: 461 kB / 352 MB, free: 11.6 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004995/0.04829, allocations: 154.6 kB / 352.1 MB, free: 11.46 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001899/0.05019, allocations: 1.225 MB / 353.3 MB, free: 10.2 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000167/0.05036, allocations: 198 kB / 353.5 MB, free: 9.98 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001793/0.05054, allocations: 68.81 kB / 353.6 MB, free: 9.91 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002079/0.05075, allocations: 153.3 kB / 353.8 MB, free: 9.758 MB / 330.7 MB Notification: Performance of SimCode: time 1.262e-06/0.05075, allocations: 0 / 353.8 MB, free: 9.758 MB / 330.7 MB Notification: Performance of Templates: time 0.01386/0.06461, allocations: 10.06 MB / 363.8 MB, free: 15.86 MB / 346.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 -s gbode -gbm=radauIIA3 -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.1395560330711305]