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.001283/0.001283, allocations: 82.36 kB / 20.68 MB, free: 1.027 MB / 14.72 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.001393/0.001393, allocations: 167.9 kB / 23.96 MB, free: 4.148 MB / 14.72 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.409/1.409, allocations: 177.1 MB / 204.3 MB, free: 9.168 MB / 190.1 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.1716/0.1716, allocations: 29.44 MB / 290.1 MB, free: 3.273 MB / 270.1 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 1.643e-06/1.643e-06, allocations: 0 / 430.7 MB, free: 1.938 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.159e-05/3.323e-05, allocations: 5.656 kB / 430.7 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed): time 0.00957/0.009603, allocations: 6.069 MB / 436.8 MB, free: 11.83 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005129/0.01473, allocations: 2.512 MB / 439.3 MB, free: 9.309 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006655/0.0154, allocations: 39.69 kB / 439.3 MB, free: 9.27 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00152/0.01692, allocations: 336.7 kB / 439.7 MB, free: 8.941 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001802/0.01872, allocations: 0.6137 MB / 440.3 MB, free: 8.324 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009231/0.01964, allocations: 303.3 kB / 440.6 MB, free: 8.027 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001945/0.02159, allocations: 1.238 MB / 441.8 MB, free: 6.785 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001334/0.02292, allocations: 0.7595 MB / 442.6 MB, free: 6.023 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001457/0.02438, allocations: 0.6741 MB / 443.2 MB, free: 5.348 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009949/0.02537, allocations: 0.4986 MB / 443.7 MB, free: 4.848 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002217/0.02559, allocations: 84 kB / 443.8 MB, free: 4.766 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007848/0.02638, allocations: 347.5 kB / 444.2 MB, free: 4.426 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004167/0.0268, allocations: 363 kB / 444.5 MB, free: 4.07 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000486/0.02728, allocations: 307.3 kB / 444.8 MB, free: 3.77 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001753/0.02903, allocations: 1.395 MB / 446.2 MB, free: 2.371 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.02904, allocations: 0 / 446.2 MB, free: 2.371 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.02904, allocations: 0 / 446.2 MB, free: 2.371 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.279e-05/0.02908, allocations: 0 / 446.2 MB, free: 2.371 MB / 366.1 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.00249/0.03157, allocations: 1.092 MB / 447.3 MB, free: 1.242 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.03162, allocations: 15.92 kB / 447.3 MB, free: 1.227 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007215/0.03234, allocations: 148.3 kB / 447.5 MB, free: 1.082 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001195/0.03354, allocations: 0.6259 MB / 448.1 MB, free: 440 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001355/0.03367, allocations: 113.9 kB / 448.2 MB, free: 312 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001199/0.03379, allocations: 76.08 kB / 448.3 MB, free: 236 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.196/0.2298, allocations: 0.9485 MB / 449.2 MB, free: 30.01 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.79e-05/0.2299, allocations: 2.5 kB / 449.2 MB, free: 30.01 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.921e-05/0.23, allocations: 27.56 kB / 449.2 MB, free: 29.99 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000113/0.2301, allocations: 57.48 kB / 449.3 MB, free: 29.98 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001405/0.2315, allocations: 0.7848 MB / 450.1 MB, free: 29.71 MB / 366.1 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.004584/0.2361, allocations: 3.282 MB / 453.4 MB, free: 27.52 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007911/0.2369, allocations: 419.2 kB / 453.8 MB, free: 27.32 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004125/0.2373, allocations: 235.1 kB / 454 MB, free: 27.21 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.416e-05/0.2373, allocations: 5.25 kB / 454 MB, free: 27.21 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.2373, allocations: 39.62 kB / 454.1 MB, free: 27.17 MB / 366.1 MB Notification: Performance of pre-optimization done (n=37): time 1.933e-06/0.2373, allocations: 0 / 454.1 MB, free: 27.17 MB / 366.1 MB Notification: Performance of matching and sorting (n=55): time 0.01027/0.2476, allocations: 3.389 MB / 457.4 MB, free: 25.75 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.2476, allocations: 109.1 kB / 457.6 MB, free: 25.62 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005754/0.2482, allocations: 484.1 kB / 458 MB, free: 25.39 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.215e-05/0.2483, allocations: 36.83 kB / 458.1 MB, free: 25.36 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001936/0.2484, allocations: 404.5 kB / 458.5 MB, free: 25.07 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001254/0.2486, allocations: 204 kB / 458.7 MB, free: 24.91 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001902/0.2488, allocations: 131.1 kB / 458.8 MB, free: 24.84 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.572e-05/0.2488, allocations: 368.2 kB / 459.1 MB, free: 24.51 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004545/0.2493, allocations: 281.2 kB / 459.4 MB, free: 24.4 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005178/0.2498, allocations: 0.5027 MB / 459.9 MB, free: 24.01 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001014/0.2508, allocations: 0.8535 MB / 460.8 MB, free: 23.44 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.702e-06/0.2508, allocations: 2.25 kB / 460.8 MB, free: 23.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003282/0.2541, allocations: 1.303 MB / 462.1 MB, free: 22.9 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.2541, allocations: 9.5 kB / 462.1 MB, free: 22.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/0.2542, allocations: 8.453 kB / 462.1 MB, free: 22.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001708/0.2559, allocations: 463.2 kB / 462.5 MB, free: 22.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004569/0.2563, allocations: 123.6 kB / 462.7 MB, free: 22.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00993/0.2663, allocations: 8.64 MB / 471.3 MB, free: 16.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006879/0.2669, allocations: 26.62 kB / 471.3 MB, free: 16.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.96e-05/0.267, allocations: 39.56 kB / 471.4 MB, free: 16.17 MB / 366.1 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.0005594/0.2676, allocations: 307.5 kB / 471.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001718/0.2678, allocations: 57.25 kB / 471.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00312/0.2709, allocations: 1.154 MB / 472.9 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.428e-06/0.2709, allocations: 12.2 kB / 472.9 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/0.2709, allocations: 3.656 kB / 472.9 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.2709, allocations: 4.828 kB / 472.9 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004129/0.275, allocations: 1.883 MB / 474.8 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.2751, allocations: 1.344 kB / 474.8 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003307/0.2754, allocations: 64.58 kB / 474.8 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001436/0.2768, allocations: 457.4 kB / 475.3 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.664e-05/0.2769, allocations: 12.09 kB / 475.3 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007892/0.2848, allocations: 8.367 MB / 483.7 MB, free: 7.172 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.2848, allocations: 5.906 kB / 483.7 MB, free: 7.168 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00316/0.2879, allocations: 1.689 MB / 485.4 MB, free: 5.875 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002674/0.2882, allocations: 119.6 kB / 485.5 MB, free: 5.758 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.104e-05/0.2883, allocations: 12 kB / 485.5 MB, free: 5.746 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003958/0.2887, allocations: 19.98 kB / 485.5 MB, free: 5.727 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001652/0.2888, allocations: 68.25 kB / 485.6 MB, free: 5.656 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.601e-05/0.2889, allocations: 16 kB / 485.6 MB, free: 5.641 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000301/0.2892, allocations: 319.2 kB / 485.9 MB, free: 5.328 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2892, allocations: 4 kB / 485.9 MB, free: 5.324 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009778/0.2902, allocations: 255.9 kB / 486.2 MB, free: 5.074 MB / 366.1 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.0002745/0.2904, allocations: 137.6 kB / 486.3 MB, free: 4.938 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00207/0.2925, allocations: 1.32 MB / 487.6 MB, free: 3.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.2925, allocations: 4 kB / 487.6 MB, free: 3.566 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001376/0.2939, allocations: 0.9661 MB / 488.6 MB, free: 2.551 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008527/0.2947, allocations: 148.1 kB / 488.7 MB, free: 2.414 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002375/0.2971, allocations: 1.61 MB / 490.3 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004166/0.2975, allocations: 460.7 kB / 490.8 MB, free: 300 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002791/0.2978, allocations: 101.2 kB / 490.9 MB, free: 200 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.761e-05/0.2979, allocations: 44.48 kB / 490.9 MB, free: 156 kB / 366.1 MB Notification: Performance of SimCode: time 7.01e-07/0.2979, allocations: 0 / 490.9 MB, free: 156 kB / 366.1 MB Notification: Performance of Templates: time 0.02476/0.3227, allocations: 13.71 MB / 0.4928 GB, free: 2.602 MB / 382.1 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.0765013955533504]