Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav.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.0009711/0.0009711, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.00114/0.00114, allocations: 171.9 kB / 24.92 MB, free: 8.723 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 1.043/1.043, allocations: 177.1 MB / 205.3 MB, free: 5.105 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.2389/0.2389, allocations: 29.42 MB / 291.2 MB, free: 2.352 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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.ASMav,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1200,variableFilter="Time|asm.motor.slip|power.p.[0-9,]+.|tabLoad.vVehicle",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav") translateModel(PowerSystems.Examples.AC3ph.Drives.ASMav,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1200,variableFilter="Time|asm.motor.slip|power.p.[0-9,]+.|tabLoad.vVehicle",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 316.9 MB, free: 15.97 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.073e-05/2.238e-05, allocations: 4 kB / 316.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav): time 0.006666/0.006688, allocations: 6.697 MB / 323.6 MB, free: 9.234 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006779/0.01347, allocations: 5.124 MB / 328.7 MB, free: 4.094 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006301/0.0141, allocations: 39.69 kB / 328.7 MB, free: 4.055 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008412/0.02251, allocations: 6.42 MB / 335.1 MB, free: 13.62 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001538/0.02405, allocations: 0.5787 MB / 335.7 MB, free: 13.04 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001155/0.0252, allocations: 0.5103 MB / 336.2 MB, free: 12.52 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002338/0.02754, allocations: 2.42 MB / 338.6 MB, free: 10.09 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008931/0.02843, allocations: 0.9098 MB / 339.6 MB, free: 9.168 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009708/0.0294, allocations: 0.8618 MB / 340.4 MB, free: 8.305 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006876/0.03009, allocations: 0.6506 MB / 341.1 MB, free: 7.652 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001135/0.03021, allocations: 100 kB / 341.2 MB, free: 7.555 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005404/0.03075, allocations: 307.5 kB / 341.5 MB, free: 7.254 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000332/0.03108, allocations: 0.5182 MB / 342 MB, free: 6.734 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006197/0.0317, allocations: 407.1 kB / 342.4 MB, free: 6.336 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001153/0.03285, allocations: 1.106 MB / 343.5 MB, free: 5.227 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.03286, allocations: 0 / 343.5 MB, free: 5.227 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.03286, allocations: 0 / 343.5 MB, free: 5.227 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.062e-05/0.03287, allocations: 0 / 343.5 MB, free: 5.227 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 220 * Number of variables: 220 Notification: Performance of Generate backend data structure: time 0.001582/0.03445, allocations: 1.323 MB / 344.8 MB, free: 3.871 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.03449, allocations: 11.98 kB / 344.8 MB, free: 3.859 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005428/0.03503, allocations: 204.7 kB / 345 MB, free: 3.66 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009019/0.03593, allocations: 0.706 MB / 345.7 MB, free: 2.926 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.858e-05/0.03597, allocations: 58 kB / 345.8 MB, free: 2.867 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/0.03608, allocations: 91.94 kB / 345.9 MB, free: 2.777 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007523/0.03683, allocations: 0.7785 MB / 346.7 MB, free: 1.922 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.198e-05/0.03685, allocations: 4 kB / 346.7 MB, free: 1.918 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.712e-05/0.03691, allocations: 35.98 kB / 346.7 MB, free: 1.883 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001256/0.03704, allocations: 89.88 kB / 346.8 MB, free: 1.793 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004595/0.0375, allocations: 340.4 kB / 347.1 MB, free: 1.461 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003656/0.04115, allocations: 3.637 MB / 350.7 MB, free: 13.65 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003957/0.04155, allocations: 332.3 kB / 351.1 MB, free: 13.31 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001733/0.04172, allocations: 123.2 kB / 351.2 MB, free: 13.18 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.92e-05/0.04177, allocations: 16.5 kB / 351.2 MB, free: 13.17 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002963/0.04207, allocations: 267.6 kB / 351.5 MB, free: 12.88 MB / 330.7 MB Notification: Performance of pre-optimization done (n=62): time 3.176e-06/0.04207, allocations: 0 / 351.5 MB, free: 12.88 MB / 330.7 MB Notification: Performance of matching and sorting (n=65): time 0.001817/0.04389, allocations: 1.12 MB / 352.6 MB, free: 11.72 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.05e-05/0.04394, allocations: 111.5 kB / 352.7 MB, free: 11.59 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004558/0.04439, allocations: 0.6261 MB / 353.3 MB, free: 10.95 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.16e-05/0.04443, allocations: 41.7 kB / 353.4 MB, free: 10.9 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002063/0.04464, allocations: 441.1 kB / 353.8 MB, free: 10.46 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001328/0.04477, allocations: 253.8 kB / 354 MB, free: 10.21 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001657/0.04494, allocations: 178.5 kB / 354.2 MB, free: 10.03 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.04507, allocations: 406.6 kB / 354.6 MB, free: 9.621 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.04522, allocations: 104.8 kB / 354.7 MB, free: 9.52 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002698/0.04549, allocations: 419.3 kB / 355.1 MB, free: 8.977 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004628/0.04595, allocations: 0.5857 MB / 355.7 MB, free: 8.27 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.04595, allocations: 7.984 kB / 355.7 MB, free: 8.262 MB / 330.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.001322/0.04728, allocations: 0.7916 MB / 356.5 MB, free: 7.453 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.0473, allocations: 12 kB / 356.5 MB, free: 7.441 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.04731, allocations: 8 kB / 356.5 MB, free: 7.434 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008489/0.04816, allocations: 407.7 kB / 356.9 MB, free: 7.027 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003253/0.04848, allocations: 159.7 kB / 357.1 MB, free: 6.871 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004031/0.05251, allocations: 4.156 MB / 361.2 MB, free: 2.516 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003866/0.0529, allocations: 28 kB / 361.3 MB, free: 2.488 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.98e-05/0.05295, allocations: 39.98 kB / 361.3 MB, free: 2.449 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 2 (system.initime,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 87 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,23)} Notification: Performance of prepare postOptimizeDAE: time 0.0002777/0.05323, allocations: 164.4 kB / 361.5 MB, free: 2.277 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.542e-05/0.05332, allocations: 67.94 kB / 361.5 MB, free: 2.211 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007085/0.05403, allocations: 0.493 MB / 362 MB, free: 1.695 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.05404, allocations: 4 kB / 362 MB, free: 1.691 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.05404, allocations: 4 kB / 362 MB, free: 1.688 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.367e-06/0.05405, allocations: 3.984 kB / 362 MB, free: 1.684 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001506/0.05556, allocations: 1.055 MB / 363.1 MB, free: 0.5781 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.05556, allocations: 0 / 363.1 MB, free: 0.5781 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003518/0.05592, allocations: 115.9 kB / 363.2 MB, free: 476 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002689/0.05618, allocations: 127 kB / 363.3 MB, free: 336 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.914e-05/0.05622, allocations: 15.98 kB / 363.3 MB, free: 320 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002405/0.05863, allocations: 3.778 MB / 367.1 MB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.05863, allocations: 3.938 kB / 367.1 MB, free: 12.24 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008257/0.05946, allocations: 0.737 MB / 367.9 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001791/0.05964, allocations: 111.4 kB / 368 MB, free: 11.35 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.381e-05/0.0597, allocations: 19.92 kB / 368 MB, free: 11.33 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001783/0.05988, allocations: 19.94 kB / 368 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/0.05999, allocations: 52.41 kB / 368.1 MB, free: 11.26 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.109e-05/0.06002, allocations: 15.98 kB / 368.1 MB, free: 11.25 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002403/0.06026, allocations: 264.5 kB / 368.3 MB, free: 10.99 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.06026, allocations: 0 / 368.3 MB, free: 10.99 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008333/0.06109, allocations: 287.9 kB / 368.6 MB, free: 10.71 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 13 (power.pav[1],power.pav[2],power.pav[3],asm.rotor.phi,asm.rotor.w,asm.motor.i[3],asm.motor.psi_s[1],asm.motor.psi_s[2],asm.motor.psi_rd[1],asm.motor.psi_rd[2],asm.motor.psi_rq[1],asm.motor.psi_rq[2],tabLoad.s) * Number of discrete variables: 2 ($whenCondition1,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001356/0.06245, allocations: 0.5892 MB / 369.2 MB, free: 10.42 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001179/0.06363, allocations: 0.8666 MB / 370.1 MB, free: 9.531 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.666e-05/0.06365, allocations: 8.938 kB / 370.1 MB, free: 9.52 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005152/0.06416, allocations: 0.6013 MB / 370.7 MB, free: 8.875 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008615/0.06502, allocations: 212.8 kB / 370.9 MB, free: 8.672 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002464/0.06749, allocations: 1.915 MB / 372.8 MB, free: 6.711 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000218/0.06771, allocations: 276.7 kB / 373.1 MB, free: 6.418 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002883/0.06799, allocations: 127 kB / 373.2 MB, free: 6.289 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002977/0.06829, allocations: 209.2 kB / 373.4 MB, free: 6.086 MB / 346.7 MB Notification: Performance of SimCode: time 9.71e-07/0.06829, allocations: 0 / 373.4 MB, free: 6.086 MB / 346.7 MB Notification: Performance of Templates: time 0.01872/0.08701, allocations: 14.95 MB / 388.4 MB, free: 7.355 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Drives.ASMav.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.5148141719400883]