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.0009826/0.0009826, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001116/0.001116, allocations: 166.3 kB / 25 MB, free: 8.707 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 0.9991/0.9991, allocations: 177.1 MB / 205.3 MB, free: 5.641 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.2249/0.2249, allocations: 29.41 MB / 291.2 MB, free: 2.492 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 1.823e-06/1.823e-06, allocations: 0 / 369.6 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.728e-05/2.91e-05, allocations: 6.312 kB / 369.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed): time 0.01913/0.01916, allocations: 6.485 MB / 376.1 MB, free: 4.801 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005837/0.025, allocations: 2.625 MB / 378.7 MB, free: 2.168 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007765/0.02577, allocations: 35.75 kB / 378.8 MB, free: 2.133 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004517/0.03029, allocations: 329.9 kB / 379.1 MB, free: 1.809 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002334/0.03263, allocations: 0.6021 MB / 379.7 MB, free: 1.203 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001001/0.03363, allocations: 315.2 kB / 380 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001628/0.03525, allocations: 1.227 MB / 381.2 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001251/0.03651, allocations: 0.787 MB / 382 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009324/0.03744, allocations: 0.6859 MB / 382.7 MB, free: 14.19 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000785/0.03822, allocations: 0.5026 MB / 383.2 MB, free: 13.69 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001332/0.03836, allocations: 88 kB / 383.3 MB, free: 13.6 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005793/0.03894, allocations: 351.4 kB / 383.6 MB, free: 13.26 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003624/0.0393, allocations: 363.1 kB / 384 MB, free: 12.9 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000289/0.03959, allocations: 315.3 kB / 384.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001164/0.04075, allocations: 0.9345 MB / 385.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.04075, allocations: 0 / 385.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.04076, allocations: 0 / 385.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.256e-05/0.04077, allocations: 0 / 385.2 MB, free: 11.66 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.001877/0.04265, allocations: 1.196 MB / 386.4 MB, free: 10.42 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.04269, allocations: 15.98 kB / 386.4 MB, free: 10.4 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005309/0.04322, allocations: 204.3 kB / 386.6 MB, free: 10.2 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007392/0.04396, allocations: 0.6481 MB / 387.3 MB, free: 9.527 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.517e-05/0.04404, allocations: 106 kB / 387.4 MB, free: 9.41 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.906e-05/0.04412, allocations: 72.12 kB / 387.5 MB, free: 9.34 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007784/0.0449, allocations: 0.6472 MB / 388.1 MB, free: 8.637 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.259e-05/0.04492, allocations: 15.88 kB / 388.1 MB, free: 8.621 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.717e-05/0.04497, allocations: 27.98 kB / 388.1 MB, free: 8.594 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.249e-05/0.04504, allocations: 57.28 kB / 388.2 MB, free: 8.535 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005533/0.04559, allocations: 339.5 kB / 388.5 MB, free: 8.203 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.002941/0.04854, allocations: 3.589 MB / 392.1 MB, free: 4.438 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004039/0.04894, allocations: 309.3 kB / 392.4 MB, free: 4.098 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004889/0.04943, allocations: 133.2 kB / 392.6 MB, free: 3.957 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.942e-05/0.04946, allocations: 11.94 kB / 392.6 MB, free: 3.945 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.04949, allocations: 41.39 kB / 392.6 MB, free: 3.895 MB / 362.7 MB Notification: Performance of pre-optimization done (n=37): time 1.693e-06/0.04949, allocations: 0 / 392.6 MB, free: 3.895 MB / 362.7 MB Notification: Performance of matching and sorting (n=55): time 0.004929/0.05442, allocations: 2.401 MB / 395 MB, free: 1.414 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.035e-05/0.05448, allocations: 111.3 kB / 395.1 MB, free: 1.281 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004882/0.05497, allocations: 490.4 kB / 395.6 MB, free: 0.7812 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.819e-05/0.05503, allocations: 37.7 kB / 395.6 MB, free: 0.7383 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002266/0.05526, allocations: 474.6 kB / 396.1 MB, free: 272 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000137/0.0554, allocations: 198.3 kB / 396.3 MB, free: 72 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001665/0.05556, allocations: 140.2 kB / 396.4 MB, free: 15.93 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.05574, allocations: 0.5469 MB / 397 MB, free: 15.37 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002395/0.05598, allocations: 117.9 kB / 397.1 MB, free: 15.25 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003662/0.05634, allocations: 452.9 kB / 397.5 MB, free: 14.67 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006441/0.05699, allocations: 0.6047 MB / 398.1 MB, free: 13.93 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.05699, allocations: 4 kB / 398.1 MB, free: 13.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001828/0.05882, allocations: 0.9014 MB / 399 MB, free: 13 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/0.05885, allocations: 8 kB / 399 MB, free: 12.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/0.05886, allocations: 8 kB / 399.1 MB, free: 12.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001376/0.06024, allocations: 485.9 kB / 399.5 MB, free: 12.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000257/0.06049, allocations: 115.8 kB / 399.6 MB, free: 12.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006183/0.06668, allocations: 8.332 MB / 408 MB, free: 3.555 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004082/0.06708, allocations: 36.02 kB / 408 MB, free: 3.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.085e-05/0.06712, allocations: 32 kB / 408 MB, free: 3.488 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.0002588/0.06738, allocations: 200.3 kB / 408.2 MB, free: 3.281 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/0.06749, allocations: 71.62 kB / 408.3 MB, free: 3.211 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001503/0.069, allocations: 0.759 MB / 409.1 MB, free: 2.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/0.069, allocations: 11.94 kB / 409.1 MB, free: 2.418 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.06901, allocations: 4 kB / 409.1 MB, free: 2.414 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/0.06902, allocations: 7.984 kB / 409.1 MB, free: 2.406 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002285/0.0713, allocations: 1.467 MB / 410.6 MB, free: 0.8711 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.07131, allocations: 4 kB / 410.6 MB, free: 0.8672 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001819/0.07149, allocations: 64.05 kB / 410.6 MB, free: 0.8047 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001177/0.07267, allocations: 473.7 kB / 411.1 MB, free: 336 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.072e-05/0.0727, allocations: 8 kB / 411.1 MB, free: 328 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005341/0.07804, allocations: 8.286 MB / 419.4 MB, free: 7.531 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.07804, allocations: 7.938 kB / 419.4 MB, free: 7.523 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001839/0.07988, allocations: 1.179 MB / 420.6 MB, free: 6.297 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001953/0.08008, allocations: 111.6 kB / 420.7 MB, free: 6.188 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.338e-05/0.08013, allocations: 19.98 kB / 420.7 MB, free: 6.168 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002041/0.08034, allocations: 15.98 kB / 420.7 MB, free: 6.152 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000172/0.08051, allocations: 64.33 kB / 420.8 MB, free: 6.09 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.46e-05/0.08053, allocations: 12 kB / 420.8 MB, free: 6.078 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002766/0.08081, allocations: 307 kB / 421.1 MB, free: 5.777 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.08081, allocations: 0 / 421.1 MB, free: 5.777 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008827/0.08169, allocations: 247.9 kB / 421.3 MB, free: 5.535 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.0003196/0.08201, allocations: 137.9 kB / 421.5 MB, free: 5.395 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001476/0.08349, allocations: 1.284 MB / 422.7 MB, free: 4.039 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.08349, allocations: 4 kB / 422.7 MB, free: 4.035 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009447/0.08444, allocations: 1.084 MB / 423.8 MB, free: 2.875 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005784/0.08502, allocations: 135.5 kB / 424 MB, free: 2.746 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002569/0.08758, allocations: 1.468 MB / 425.4 MB, free: 1.227 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002297/0.08781, allocations: 243.5 kB / 425.7 MB, free: 0.9688 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002407/0.08806, allocations: 97.17 kB / 425.8 MB, free: 0.8711 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.6e-05/0.08814, allocations: 48.48 kB / 425.8 MB, free: 0.8242 MB / 394.7 MB Notification: Performance of SimCode: time 1.352e-06/0.08814, allocations: 0 / 425.8 MB, free: 0.8242 MB / 394.7 MB Notification: Performance of Templates: time 0.0172/0.1053, allocations: 14.03 MB / 439.8 MB, free: 2.93 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.534989337902516]