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.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.001618/0.001618, allocations: 113 kB / 19.04 MB, free: 3.254 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.001912/0.001912, allocations: 197.9 kB / 22.22 MB, free: 72 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.396/1.396, allocations: 225.6 MB / 250.8 MB, free: 13.35 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.179/0.179, allocations: 38.53 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.AC3ph.Drives.ASMav,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1200,variableFilter="Time|asm.motor.slip|power.p.1.|power.p.2.|power.p.3.|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.1.|power.p.2.|power.p.3.|tabLoad.vVehicle",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 63.89 kB / 482.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3589/0.3609, allocations: 61.25 MB / 0.5306 GB, free: 5.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav): time 0.007693/0.3686, allocations: 7.287 MB / 0.5377 GB, free: 312 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009501/0.3781, allocations: 5.124 MB / 0.5427 GB, free: 12.26 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008135/0.3789, allocations: 27.66 kB / 0.5427 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01237/0.3912, allocations: 6.024 MB / 0.5486 GB, free: 9.004 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001981/0.3932, allocations: 0.5183 MB / 0.5491 GB, free: 8.578 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001829/0.3951, allocations: 0.5023 MB / 0.5496 GB, free: 8.191 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004133/0.3992, allocations: 2.313 MB / 0.5519 GB, free: 6.789 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001282/0.4005, allocations: 0.7595 MB / 0.5526 GB, free: 6.016 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001217/0.4017, allocations: 0.615 MB / 0.5532 GB, free: 5.398 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001188/0.4029, allocations: 0.7747 MB / 0.554 GB, free: 4.621 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001489/0.403, allocations: 100 kB / 0.5541 GB, free: 4.523 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005927/0.4036, allocations: 267.7 kB / 0.5543 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005097/0.4041, allocations: 0.4986 MB / 0.5548 GB, free: 3.762 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006667/0.4048, allocations: 0.5754 MB / 0.5554 GB, free: 3.184 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001915/0.4067, allocations: 1.557 MB / 0.5569 GB, free: 1.621 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.4067, allocations: 0 / 0.5569 GB, free: 1.621 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4067, allocations: 0 / 0.5569 GB, free: 1.621 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.308e-05/0.4067, allocations: 0 / 0.5569 GB, free: 1.621 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: 220 * Number of variables: 220 Notification: Performance of Generate backend data structure: time 0.003042/0.4098, allocations: 1.482 MB / 0.5583 GB, free: 84 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.4098, allocations: 8.031 kB / 0.5583 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000619/0.4104, allocations: 156.1 kB / 0.5585 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001771/0.4122, allocations: 0.9178 MB / 0.5594 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.657e-05/0.4123, allocations: 65.98 kB / 0.5594 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001791/0.4125, allocations: 83.98 kB / 0.5595 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002056/0.4145, allocations: 1.227 MB / 0.5607 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.964e-05/0.4146, allocations: 15.89 kB / 0.5607 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.396e-05/0.4147, allocations: 35.97 kB / 0.5608 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002297/0.4149, allocations: 93.95 kB / 0.5609 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00169/0.4166, allocations: 1.003 MB / 0.5618 GB, free: 12.38 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00708/0.4237, allocations: 4.902 MB / 0.5666 GB, free: 7.258 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/0.4247, allocations: 0.6138 MB / 0.5672 GB, free: 6.605 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005966/0.4253, allocations: 339.2 kB / 0.5676 GB, free: 6.266 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.149e-05/0.4253, allocations: 4.562 kB / 0.5676 GB, free: 6.262 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007263/0.4261, allocations: 449.8 kB / 0.568 GB, free: 5.809 MB / 414.1 MB Notification: Performance of pre-optimization done (n=62): time 2.234e-06/0.4261, allocations: 0 / 0.568 GB, free: 5.809 MB / 414.1 MB Notification: Performance of matching and sorting (n=65): time 0.00503/0.4311, allocations: 2.745 MB / 0.5707 GB, free: 2.926 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.91e-05/0.4312, allocations: 115.3 kB / 0.5708 GB, free: 2.789 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/0.4322, allocations: 0.7468 MB / 0.5715 GB, free: 2.031 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.738e-05/0.4323, allocations: 37.7 kB / 0.5715 GB, free: 1.988 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004421/0.4327, allocations: 0.5116 MB / 0.572 GB, free: 1.469 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002302/0.433, allocations: 245.9 kB / 0.5723 GB, free: 1.227 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003182/0.4333, allocations: 182.5 kB / 0.5725 GB, free: 1.043 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002293/0.4335, allocations: 398.7 kB / 0.5728 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006182/0.4341, allocations: 377.8 kB / 0.5732 GB, free: 284 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009049/0.435, allocations: 0.6538 MB / 0.5738 GB, free: 15.5 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001546/0.4366, allocations: 1.057 MB / 0.5749 GB, free: 14.32 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.4366, allocations: 0 / 0.5749 GB, free: 14.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003216/0.4398, allocations: 1.619 MB / 0.5764 GB, free: 12.66 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.4398, allocations: 8 kB / 0.5765 GB, free: 12.66 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.9e-05/0.4398, allocations: 12 kB / 0.5765 GB, free: 12.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001618/0.4414, allocations: 489.7 kB / 0.5769 GB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006468/0.4421, allocations: 167.7 kB / 0.5771 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01062/0.4527, allocations: 7.101 MB / 0.584 GB, free: 4.617 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007381/0.4535, allocations: 51.92 kB / 0.5841 GB, free: 4.566 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.016e-05/0.4535, allocations: 47.98 kB / 0.5841 GB, free: 4.52 MB / 430.1 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.0005657/0.4541, allocations: 349.5 kB / 0.5845 GB, free: 4.168 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001382/0.4542, allocations: 87.44 kB / 0.5845 GB, free: 4.082 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002022/0.4563, allocations: 1.11 MB / 0.5856 GB, free: 2.91 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/0.4563, allocations: 8 kB / 0.5856 GB, free: 2.902 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.4563, allocations: 0 / 0.5856 GB, free: 2.902 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.4563, allocations: 3.984 kB / 0.5856 GB, free: 2.898 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003698/0.46, allocations: 2.115 MB / 0.5877 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.46, allocations: 4 kB / 0.5877 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007577/0.4608, allocations: 123.8 kB / 0.5878 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005545/0.4613, allocations: 158.5 kB / 0.588 GB, free: 384 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.18e-05/0.4614, allocations: 23.98 kB / 0.588 GB, free: 360 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004758/0.4661, allocations: 4.805 MB / 0.5927 GB, free: 11.12 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.4661, allocations: 0 / 0.5927 GB, free: 11.12 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002555/0.4687, allocations: 1.531 MB / 0.5942 GB, free: 9.523 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004067/0.4691, allocations: 216.5 kB / 0.5944 GB, free: 9.293 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001144/0.4692, allocations: 19.94 kB / 0.5944 GB, free: 9.273 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004454/0.4697, allocations: 39.97 kB / 0.5944 GB, free: 9.234 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001513/0.4698, allocations: 52.42 kB / 0.5945 GB, free: 9.184 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.783e-05/0.4699, allocations: 23.98 kB / 0.5945 GB, free: 9.16 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007175/0.4706, allocations: 0.5068 MB / 0.595 GB, free: 8.66 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4706, allocations: 0 / 0.595 GB, free: 8.66 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001037/0.4716, allocations: 267.9 kB / 0.5953 GB, free: 8.398 MB / 446.1 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.001527/0.4731, allocations: 433.9 kB / 0.5957 GB, free: 8.113 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002611/0.4758, allocations: 1.283 MB / 0.5969 GB, free: 6.805 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.4758, allocations: 0 / 0.5969 GB, free: 6.805 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001346/0.4771, allocations: 0.7658 MB / 0.5977 GB, free: 6.004 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/0.4781, allocations: 203.1 kB / 0.5979 GB, free: 5.801 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004608/0.4827, allocations: 2.72 MB / 0.6005 GB, free: 3.035 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008766/0.4836, allocations: 1.151 MB / 0.6017 GB, free: 1.859 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006401/0.4843, allocations: 231.3 kB / 0.6019 GB, free: 1.629 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001933/0.4845, allocations: 71.36 kB / 0.6019 GB, free: 1.559 MB / 446.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4845, allocations: 0 / 0.6019 GB, free: 1.559 MB / 446.1 MB Notification: Performance of Templates: time 0.02771/0.5122, allocations: 15.32 MB / 0.6169 GB, free: 2.359 MB / 462.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Drives.ASMav.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav.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.5649557169526815]