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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001528/0.001528, allocations: 108.2 kB / 19.04 MB, free: 3.25 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001553/0.001553, allocations: 200.4 kB / 22.22 MB, free: 64 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 225.6 MB / 250.8 MB, free: 13.32 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1844/0.1844, allocations: 38.52 MB / 344.5 MB, free: 2.559 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001929/0.001929, allocations: 71.88 kB / 482.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3884/0.3904, allocations: 61.24 MB / 0.5306 GB, free: 5.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed): time 0.007763/0.3981, allocations: 6.503 MB / 0.5369 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004826/0.4029, allocations: 2.685 MB / 0.5395 GB, free: 14.78 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007397/0.4037, allocations: 25.44 kB / 0.5396 GB, free: 14.77 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001319/0.405, allocations: 349.5 kB / 0.5399 GB, free: 14.5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001887/0.4069, allocations: 0.5877 MB / 0.5405 GB, free: 14.05 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008558/0.4077, allocations: 283.9 kB / 0.5407 GB, free: 13.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001777/0.4095, allocations: 1.211 MB / 0.5419 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001058/0.4106, allocations: 0.7057 MB / 0.5426 GB, free: 12.63 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000992/0.4116, allocations: 491.2 kB / 0.5431 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000902/0.4125, allocations: 0.5771 MB / 0.5437 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000132/0.4126, allocations: 85.53 kB / 0.5437 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008611/0.4135, allocations: 343.4 kB / 0.5441 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004223/0.4139, allocations: 342 kB / 0.5444 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005481/0.4144, allocations: 457.4 kB / 0.5448 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001756/0.4162, allocations: 1.374 MB / 0.5462 GB, free: 10.35 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.4162, allocations: 1 kB / 0.5462 GB, free: 10.35 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.4162, allocations: 0 / 0.5462 GB, free: 10.35 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.26e-05/0.4162, allocations: 0 / 0.5462 GB, free: 10.35 MB / 398.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.002579/0.4188, allocations: 1.174 MB / 0.5473 GB, free: 9.438 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.4188, allocations: 9.938 kB / 0.5473 GB, free: 9.438 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006813/0.4195, allocations: 139.8 kB / 0.5475 GB, free: 9.371 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001386/0.4209, allocations: 0.6902 MB / 0.5481 GB, free: 8.812 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001235/0.421, allocations: 88.69 kB / 0.5482 GB, free: 8.75 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001308/0.4212, allocations: 63.22 kB / 0.5483 GB, free: 8.73 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001834/0.423, allocations: 0.9587 MB / 0.5492 GB, free: 8.109 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.14e-05/0.423, allocations: 1.062 kB / 0.5492 GB, free: 8.109 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.365e-05/0.4231, allocations: 27 kB / 0.5492 GB, free: 8.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001105/0.4232, allocations: 54.34 kB / 0.5493 GB, free: 8.078 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001408/0.4246, allocations: 0.7789 MB / 0.5501 GB, free: 7.688 MB / 398.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.005617/0.4302, allocations: 3.848 MB / 0.5538 GB, free: 4.438 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000826/0.4311, allocations: 0.501 MB / 0.5543 GB, free: 3.891 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004211/0.4315, allocations: 222.5 kB / 0.5545 GB, free: 3.664 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.595e-05/0.4315, allocations: 7.984 kB / 0.5545 GB, free: 3.656 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/0.4316, allocations: 42.55 kB / 0.5546 GB, free: 3.605 MB / 398.1 MB Notification: Performance of pre-optimization done (n=37): time 1.943e-06/0.4316, allocations: 4 kB / 0.5546 GB, free: 3.602 MB / 398.1 MB Notification: Performance of matching and sorting (n=55): time 0.01131/0.4429, allocations: 3.749 MB / 0.5582 GB, free: 15.69 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.528e-05/0.443, allocations: 111.2 kB / 0.5583 GB, free: 15.56 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007887/0.4437, allocations: 0.5378 MB / 0.5589 GB, free: 15.02 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.774e-05/0.4438, allocations: 33.7 kB / 0.5589 GB, free: 14.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000334/0.4441, allocations: 404.1 kB / 0.5593 GB, free: 14.57 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001999/0.4443, allocations: 202.3 kB / 0.5595 GB, free: 14.38 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002207/0.4446, allocations: 130.6 kB / 0.5596 GB, free: 14.24 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001832/0.4447, allocations: 366.8 kB / 0.5599 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004766/0.4452, allocations: 281.8 kB / 0.5602 GB, free: 13.6 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006423/0.4459, allocations: 0.5033 MB / 0.5607 GB, free: 12.99 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001194/0.447, allocations: 0.8559 MB / 0.5615 GB, free: 12.03 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.4471, allocations: 0 / 0.5615 GB, free: 12.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003388/0.4504, allocations: 1.449 MB / 0.563 GB, free: 10.53 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.641e-05/0.4505, allocations: 8.25 kB / 0.563 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.912e-05/0.4505, allocations: 20.05 kB / 0.563 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001565/0.452, allocations: 443 kB / 0.5634 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004595/0.4525, allocations: 119.8 kB / 0.5635 GB, free: 9.938 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01121/0.4637, allocations: 9.12 MB / 0.5724 GB, free: 244 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007345/0.4645, allocations: 31.98 kB / 0.5725 GB, free: 212 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-05/0.4645, allocations: 32.06 kB / 0.5725 GB, free: 180 kB / 414.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%), (2,9,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0005231/0.465, allocations: 313.4 kB / 0.5728 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001371/0.4652, allocations: 63.58 kB / 0.5728 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00317/0.4683, allocations: 1.29 MB / 0.5741 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/0.4684, allocations: 8 kB / 0.5741 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.4684, allocations: 4 kB / 0.5741 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.4684, allocations: 4.094 kB / 0.5741 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004682/0.4731, allocations: 2.233 MB / 0.5763 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.4731, allocations: 0 / 0.5763 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003391/0.4734, allocations: 67.88 kB / 0.5764 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001363/0.4748, allocations: 439.2 kB / 0.5768 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.672e-05/0.4748, allocations: 12 kB / 0.5768 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01126/0.4861, allocations: 8.885 MB / 0.5855 GB, free: 2.129 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.4861, allocations: 0 / 0.5855 GB, free: 2.129 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003717/0.4898, allocations: 1.829 MB / 0.5873 GB, free: 228 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004304/0.4902, allocations: 204.6 kB / 0.5875 GB, free: 4 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001761/0.4904, allocations: 12.08 kB / 0.5875 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004729/0.4909, allocations: 19.98 kB / 0.5875 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002398/0.4911, allocations: 64.42 kB / 0.5875 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.892e-05/0.4912, allocations: 19.94 kB / 0.5876 GB, free: 15.89 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005662/0.4917, allocations: 370.8 kB / 0.5879 GB, free: 15.53 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4917, allocations: 0 / 0.5879 GB, free: 15.53 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001303/0.493, allocations: 247.9 kB / 0.5882 GB, free: 15.29 MB / 446.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 {(2,9,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003889/0.4934, allocations: 143 kB / 0.5883 GB, free: 15.14 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002423/0.4958, allocations: 1.307 MB / 0.5896 GB, free: 13.77 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.721e-05/0.4959, allocations: 4.062 kB / 0.5896 GB, free: 13.77 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001497/0.4973, allocations: 0.9431 MB / 0.5905 GB, free: 12.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001068/0.4984, allocations: 175.8 kB / 0.5907 GB, free: 12.61 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003173/0.5016, allocations: 1.718 MB / 0.5923 GB, free: 10.84 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007991/0.5024, allocations: 1.052 MB / 0.5934 GB, free: 9.766 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000362/0.5027, allocations: 105.7 kB / 0.5935 GB, free: 9.66 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001184/0.5029, allocations: 47.42 kB / 0.5935 GB, free: 9.613 MB / 446.1 MB Notification: Performance of SimCode: time 5.91e-07/0.5029, allocations: 0 / 0.5935 GB, free: 9.613 MB / 446.1 MB Notification: Performance of Templates: time 0.02928/0.5321, allocations: 15.56 MB / 0.6087 GB, free: 10.16 MB / 462.1 MB " [Timeout remaining time 659] 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.596513783559203]