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.001842/0.001842, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002349/0.002349, allocations: 209 kB / 24.48 MB, free: 3.938 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.456/1.456, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.2415/0.2415, allocations: 38.56 MB / 353.2 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.002143/0.002143, allocations: 67.89 kB / 493.7 MB, free: 4.207 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/0.2952, allocations: 62.48 MB / 0.5432 GB, free: 428 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic): time 0.00755/0.3027, allocations: 5.052 MB / 0.5481 GB, free: 12.58 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007047/0.3098, allocations: 3.643 MB / 0.5517 GB, free: 9.812 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005569/0.3103, allocations: 22.34 kB / 0.5517 GB, free: 9.801 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.012/0.3223, allocations: 5.317 MB / 0.5569 GB, free: 6.156 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001107/0.3234, allocations: 334.5 kB / 0.5572 GB, free: 5.828 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000644/0.3241, allocations: 219.6 kB / 0.5574 GB, free: 5.613 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002777/0.3269, allocations: 1.629 MB / 0.559 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008538/0.3277, allocations: 0.5184 MB / 0.5595 GB, free: 3.449 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000579/0.3283, allocations: 386.6 kB / 0.5599 GB, free: 3.07 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006509/0.3289, allocations: 422.3 kB / 0.5603 GB, free: 2.656 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.144e-05/0.329, allocations: 56 kB / 0.5603 GB, free: 2.602 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002015/0.3292, allocations: 67.98 kB / 0.5604 GB, free: 2.535 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002809/0.3295, allocations: 255.3 kB / 0.5606 GB, free: 2.285 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003302/0.3298, allocations: 258.9 kB / 0.5609 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001011/0.3309, allocations: 0.825 MB / 0.5617 GB, free: 1.203 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.3309, allocations: 0 / 0.5617 GB, free: 1.203 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3309, allocations: 0 / 0.5617 GB, free: 1.203 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.055e-05/0.3309, allocations: 0 / 0.5617 GB, free: 1.203 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.001673/0.3325, allocations: 0.8182 MB / 0.5625 GB, free: 364 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.3326, allocations: 8.031 kB / 0.5625 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003096/0.3329, allocations: 72.52 kB / 0.5626 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001147/0.334, allocations: 0.4955 MB / 0.563 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.247e-05/0.3341, allocations: 37 kB / 0.5631 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.004e-05/0.3342, allocations: 43.98 kB / 0.5631 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001042/0.3352, allocations: 0.6297 MB / 0.5637 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.546e-05/0.3352, allocations: 3.938 kB / 0.5637 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.199e-05/0.3353, allocations: 23.98 kB / 0.5638 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001341/0.3354, allocations: 48.97 kB / 0.5638 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008202/0.3362, allocations: 459.6 kB / 0.5643 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003358/0.3396, allocations: 2.236 MB / 0.5664 GB, free: 12.13 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005047/0.3401, allocations: 264.8 kB / 0.5667 GB, free: 11.86 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002224/0.3403, allocations: 125.7 kB / 0.5668 GB, free: 11.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.636e-05/0.3404, allocations: 8 kB / 0.5668 GB, free: 11.72 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.258e-05/0.3404, allocations: 38.56 kB / 0.5669 GB, free: 11.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 2.465e-06/0.3404, allocations: 0 / 0.5669 GB, free: 11.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=32): time 0.002963/0.3434, allocations: 1.251 MB / 0.5681 GB, free: 10.38 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.79e-05/0.3435, allocations: 89.05 kB / 0.5682 GB, free: 10.28 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004502/0.3439, allocations: 381.5 kB / 0.5685 GB, free: 9.895 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.456e-05/0.3439, allocations: 33.7 kB / 0.5686 GB, free: 9.855 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002482/0.3442, allocations: 304.1 kB / 0.5688 GB, free: 9.551 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/0.3443, allocations: 119 kB / 0.569 GB, free: 9.434 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001374/0.3444, allocations: 82.08 kB / 0.569 GB, free: 9.348 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001917/0.3446, allocations: 354.8 kB / 0.5694 GB, free: 8.992 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002446/0.3449, allocations: 132.8 kB / 0.5695 GB, free: 8.863 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000354/0.3452, allocations: 274.3 kB / 0.5698 GB, free: 8.527 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006744/0.3459, allocations: 457.9 kB / 0.5702 GB, free: 8.016 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3459, allocations: 0 / 0.5702 GB, free: 8.016 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001141/0.3471, allocations: 0.5927 MB / 0.5708 GB, free: 7.41 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.3471, allocations: 15.94 kB / 0.5708 GB, free: 7.395 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.3471, allocations: 4 kB / 0.5708 GB, free: 7.391 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004797/0.3476, allocations: 145.5 kB / 0.5709 GB, free: 7.242 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003126/0.3479, allocations: 79.83 kB / 0.571 GB, free: 7.164 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003819/0.3517, allocations: 3.4 MB / 0.5743 GB, free: 3.559 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003043/0.352, allocations: 19.92 kB / 0.5744 GB, free: 3.539 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.679e-05/0.352, allocations: 28 kB / 0.5744 GB, free: 3.512 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.0003514/0.3524, allocations: 239.1 kB / 0.5746 GB, free: 3.27 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.831e-05/0.3525, allocations: 43.72 kB / 0.5746 GB, free: 3.227 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001076/0.3535, allocations: 499.8 kB / 0.5751 GB, free: 2.727 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.3536, allocations: 8 kB / 0.5751 GB, free: 2.719 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0007542/0.3543, allocations: 410.1 kB / 0.5755 GB, free: 2.301 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.3543, allocations: 0 / 0.5755 GB, free: 2.301 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001559/0.3559, allocations: 0.8568 MB / 0.5764 GB, free: 1.395 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.3559, allocations: 0 / 0.5764 GB, free: 1.395 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002146/0.3561, allocations: 39.92 kB / 0.5764 GB, free: 1.355 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000293/0.3564, allocations: 92.77 kB / 0.5765 GB, free: 1.262 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.9e-05/0.3564, allocations: 11.98 kB / 0.5765 GB, free: 1.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002323/0.3588, allocations: 1.874 MB / 0.5783 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.3588, allocations: 3.938 kB / 0.5783 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001086/0.3598, allocations: 0.6474 MB / 0.579 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001895/0.36, allocations: 63.73 kB / 0.579 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.169e-05/0.3601, allocations: 11.98 kB / 0.579 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001971/0.3603, allocations: 11.94 kB / 0.579 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.678e-05/0.3603, allocations: 27.89 kB / 0.5791 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.754e-05/0.3604, allocations: 8 kB / 0.5791 GB, free: 14.47 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003811/0.3607, allocations: 275.1 kB / 0.5793 GB, free: 14.2 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3607, allocations: 0 / 0.5793 GB, free: 14.2 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006245/0.3614, allocations: 116 kB / 0.5795 GB, free: 14.09 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.0001414/0.3615, allocations: 107.2 kB / 0.5796 GB, free: 13.98 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001075/0.3626, allocations: 0.5918 MB / 0.5801 GB, free: 13.36 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.3626, allocations: 4.188 kB / 0.5801 GB, free: 13.36 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005111/0.3631, allocations: 298.5 kB / 0.5804 GB, free: 13.05 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006394/0.3637, allocations: 103.8 kB / 0.5805 GB, free: 12.96 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002204/0.3659, allocations: 1.187 MB / 0.5817 GB, free: 11.73 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003867/0.3663, allocations: 323.7 kB / 0.582 GB, free: 11.38 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.3664, allocations: 31.44 kB / 0.582 GB, free: 11.35 MB / 430.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3664, allocations: 0 / 0.582 GB, free: 11.35 MB / 430.1 MB Notification: Performance of Templates: time 0.01542/0.3819, allocations: 9.982 MB / 0.5918 GB, free: 1.367 MB / 430.1 MB " [Timeout remaining time 660] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.mat","/var/lib/jenkins1/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: 8.708999395836145]