Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.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.001559/0.001559, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.001799/0.001799, allocations: 209.6 kB / 23.73 MB, free: 4.41 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.542/1.542, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.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.1964/0.1964, allocations: 38.55 MB / 352.5 MB, free: 12.32 MB / 286.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.AC3ph.Drives.ASMcharacteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|asm.motor.airgap.tau|asm.motor.slip|bdCond.heat.ports.1..Q_flow|bdCond.heat.ports.2..Q_flow|speed.flange.tau",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic") translateModel(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|asm.motor.airgap.tau|asm.motor.slip|bdCond.heat.ports.1..Q_flow|bdCond.heat.ports.2..Q_flow|speed.flange.tau",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic") [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002433/0.002433, allocations: 63.89 kB / 493 MB, free: 4.207 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4211/0.4236, allocations: 62.47 MB / 0.5424 GB, free: 420 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic): time 0.008957/0.4325, allocations: 5.06 MB / 0.5474 GB, free: 12.56 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007822/0.4404, allocations: 3.635 MB / 0.5509 GB, free: 9.809 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006454/0.441, allocations: 22.28 kB / 0.5509 GB, free: 9.797 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01228/0.4533, allocations: 5.324 MB / 0.5561 GB, free: 6.164 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001328/0.4546, allocations: 338.4 kB / 0.5565 GB, free: 5.832 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007117/0.4553, allocations: 211.7 kB / 0.5567 GB, free: 5.625 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002676/0.458, allocations: 1.629 MB / 0.5583 GB, free: 3.992 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000924/0.4589, allocations: 0.53 MB / 0.5588 GB, free: 3.449 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000646/0.4596, allocations: 366.7 kB / 0.5591 GB, free: 3.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006902/0.4603, allocations: 426.3 kB / 0.5595 GB, free: 2.672 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.274e-05/0.4604, allocations: 56 kB / 0.5596 GB, free: 2.617 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002931/0.4606, allocations: 67.98 kB / 0.5597 GB, free: 2.551 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002995/0.4609, allocations: 259.3 kB / 0.5599 GB, free: 2.297 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003215/0.4613, allocations: 258.8 kB / 0.5601 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0011/0.4624, allocations: 0.8212 MB / 0.5609 GB, free: 1.219 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.4624, allocations: 0 / 0.5609 GB, free: 1.219 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.098e-06/0.4624, allocations: 4 kB / 0.561 GB, free: 1.215 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.208e-06/0.4624, allocations: 0 / 0.561 GB, free: 1.215 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001803/0.4642, allocations: 0.8162 MB / 0.5617 GB, free: 380 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.4642, allocations: 12.03 kB / 0.5618 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003006/0.4645, allocations: 68.52 kB / 0.5618 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001207/0.4657, allocations: 0.4916 MB / 0.5623 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.891e-05/0.4658, allocations: 36.98 kB / 0.5623 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.072e-05/0.4659, allocations: 44 kB / 0.5624 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001262/0.4671, allocations: 0.6335 MB / 0.563 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.803e-05/0.4672, allocations: 4 kB / 0.563 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.21e-05/0.4672, allocations: 27.92 kB / 0.563 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000139/0.4673, allocations: 48.97 kB / 0.5631 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008012/0.4681, allocations: 467.6 kB / 0.5635 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003758/0.4719, allocations: 2.228 MB / 0.5657 GB, free: 12.14 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006047/0.4725, allocations: 260.2 kB / 0.5659 GB, free: 11.88 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002268/0.4727, allocations: 129.7 kB / 0.5661 GB, free: 11.74 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.816e-05/0.4728, allocations: 4 kB / 0.5661 GB, free: 11.74 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.434e-05/0.4728, allocations: 34.56 kB / 0.5661 GB, free: 11.7 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 2.505e-06/0.4728, allocations: 0 / 0.5661 GB, free: 11.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=32): time 0.003154/0.476, allocations: 1.259 MB / 0.5673 GB, free: 10.39 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.946e-05/0.476, allocations: 85.11 kB / 0.5674 GB, free: 10.29 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005152/0.4766, allocations: 381.5 kB / 0.5678 GB, free: 9.91 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.319e-05/0.4766, allocations: 29.7 kB / 0.5678 GB, free: 9.875 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002799/0.4769, allocations: 312.2 kB / 0.5681 GB, free: 9.562 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001287/0.477, allocations: 119 kB / 0.5682 GB, free: 9.445 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002426/0.4772, allocations: 82.08 kB / 0.5683 GB, free: 9.359 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001971/0.4774, allocations: 358.7 kB / 0.5686 GB, free: 9 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002471/0.4777, allocations: 128.8 kB / 0.5688 GB, free: 8.875 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003899/0.4781, allocations: 278.3 kB / 0.569 GB, free: 8.535 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007858/0.4789, allocations: 453.9 kB / 0.5695 GB, free: 8.027 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.4789, allocations: 0 / 0.5695 GB, free: 8.027 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001411/0.4803, allocations: 0.5993 MB / 0.57 GB, free: 7.418 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.4803, allocations: 8 kB / 0.5701 GB, free: 7.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/0.4803, allocations: 4 kB / 0.5701 GB, free: 7.406 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005909/0.4809, allocations: 153.7 kB / 0.5702 GB, free: 7.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003177/0.4812, allocations: 83.89 kB / 0.5703 GB, free: 7.168 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004444/0.4857, allocations: 3.4 MB / 0.5736 GB, free: 3.562 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003402/0.486, allocations: 11.98 kB / 0.5736 GB, free: 3.551 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.798e-05/0.4861, allocations: 20 kB / 0.5736 GB, free: 3.531 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (42): * Single equations (assignments): 40 * 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): 2 systems {(2,6,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004412/0.4865, allocations: 241.7 kB / 0.5739 GB, free: 3.285 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/0.4866, allocations: 43.75 kB / 0.5739 GB, free: 3.242 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001064/0.4877, allocations: 0.4959 MB / 0.5744 GB, free: 2.734 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.4877, allocations: 4 kB / 0.5744 GB, free: 2.73 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0008453/0.4885, allocations: 414.2 kB / 0.5748 GB, free: 2.309 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.4885, allocations: 4 kB / 0.5748 GB, free: 2.305 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001794/0.4903, allocations: 0.8567 MB / 0.5756 GB, free: 1.398 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.4903, allocations: 0 / 0.5756 GB, free: 1.398 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002085/0.4905, allocations: 40.11 kB / 0.5757 GB, free: 1.359 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002889/0.4908, allocations: 88.78 kB / 0.5758 GB, free: 1.27 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.092e-05/0.4909, allocations: 11.98 kB / 0.5758 GB, free: 1.258 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002519/0.4934, allocations: 1.878 MB / 0.5776 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.4934, allocations: 0 / 0.5776 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001085/0.4945, allocations: 0.6476 MB / 0.5782 GB, free: 14.6 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001798/0.4947, allocations: 59.73 kB / 0.5783 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.007e-05/0.4947, allocations: 11.92 kB / 0.5783 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001935/0.4949, allocations: 8 kB / 0.5783 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.261e-05/0.495, allocations: 32.02 kB / 0.5783 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.338e-05/0.495, allocations: 8 kB / 0.5783 GB, free: 14.48 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004299/0.4954, allocations: 275.1 kB / 0.5786 GB, free: 14.21 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4954, allocations: 0 / 0.5786 GB, free: 14.21 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006426/0.4961, allocations: 120 kB / 0.5787 GB, free: 14.1 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (asm.rotor.phi,asm.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 (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000165/0.4962, allocations: 103.1 kB / 0.5788 GB, free: 13.99 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001226/0.4975, allocations: 0.5951 MB / 0.5794 GB, free: 13.37 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.4975, allocations: 0 / 0.5794 GB, free: 13.37 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005682/0.498, allocations: 299.3 kB / 0.5797 GB, free: 13.06 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006714/0.4987, allocations: 101.4 kB / 0.5798 GB, free: 12.96 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002577/0.5013, allocations: 1.132 MB / 0.5809 GB, free: 11.79 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004812/0.5018, allocations: 323.6 kB / 0.5812 GB, free: 11.45 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002578/0.502, allocations: 75.41 kB / 0.5813 GB, free: 11.37 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.131e-05/0.5021, allocations: 35.42 kB / 0.5813 GB, free: 11.34 MB / 430.1 MB Notification: Performance of SimCode: time 4.91e-07/0.5021, allocations: 0 / 0.5813 GB, free: 11.34 MB / 430.1 MB Notification: Performance of Templates: time 0.01369/0.5158, allocations: 5.901 MB / 0.5871 GB, free: 5.535 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.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.566826684400439]