Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.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.0009764/0.0009764, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.0009916/0.0009916, allocations: 163.9 kB / 25.61 MB, free: 8.582 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.9473/0.9473, allocations: 177.1 MB / 206.1 MB, free: 4.477 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.1388/0.1388, allocations: 29.43 MB / 292 MB, free: 2.629 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.AC1ph_DC.Drives.DCmotor_ser,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|power.p|tabLoad.vVehicle",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|power.p|tabLoad.vVehicle",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 370.9 MB, free: 32.32 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.197e-05/2.356e-05, allocations: 2.312 kB / 370.9 MB, free: 32.31 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser): time 0.007103/0.007126, allocations: 4.917 MB / 375.8 MB, free: 27.38 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003054/0.01018, allocations: 2.083 MB / 377.9 MB, free: 25.29 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000321/0.0105, allocations: 19.81 kB / 377.9 MB, free: 25.27 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004897/0.01099, allocations: 138.9 kB / 378 MB, free: 25.13 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008228/0.01181, allocations: 413.3 kB / 378.4 MB, free: 24.72 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004055/0.01222, allocations: 219.5 kB / 378.7 MB, free: 24.51 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006786/0.0129, allocations: 0.7354 MB / 379.4 MB, free: 23.77 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003088/0.01321, allocations: 340 kB / 379.7 MB, free: 23.43 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004287/0.01364, allocations: 448.1 kB / 380.2 MB, free: 23 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002662/0.0139, allocations: 251.2 kB / 380.4 MB, free: 22.75 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.657e-05/0.01395, allocations: 48 kB / 380.5 MB, free: 22.7 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001777/0.01413, allocations: 135.8 kB / 380.6 MB, free: 22.57 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.185e-05/0.01422, allocations: 159.5 kB / 380.7 MB, free: 22.41 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001259/0.01434, allocations: 183.6 kB / 380.9 MB, free: 22.23 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004634/0.01481, allocations: 490.2 kB / 381.4 MB, free: 21.75 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.01481, allocations: 0 / 381.4 MB, free: 21.75 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.011e-06/0.01481, allocations: 0 / 381.4 MB, free: 21.75 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.01482, allocations: 0 / 381.4 MB, free: 21.75 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0008549/0.01567, allocations: 0.8939 MB / 382.3 MB, free: 20.82 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.01571, allocations: 19.95 kB / 382.3 MB, free: 20.8 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.504e-05/0.0158, allocations: 92.56 kB / 382.4 MB, free: 20.71 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004085/0.01621, allocations: 430.8 kB / 382.8 MB, free: 20.26 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/0.01623, allocations: 29.12 kB / 382.9 MB, free: 20.23 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.331e-05/0.01627, allocations: 44 kB / 382.9 MB, free: 20.19 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000271/0.01654, allocations: 377.9 kB / 383.3 MB, free: 19.76 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.01656, allocations: 3.938 kB / 383.3 MB, free: 19.75 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.313e-05/0.01658, allocations: 19.94 kB / 383.3 MB, free: 19.73 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.01659, allocations: 8 kB / 383.3 MB, free: 19.73 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001309/0.01672, allocations: 124.3 kB / 383.4 MB, free: 19.61 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001088/0.01781, allocations: 2.041 MB / 385.5 MB, free: 17.46 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002256/0.01803, allocations: 192.9 kB / 385.6 MB, free: 17.24 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.671e-05/0.01808, allocations: 55.25 kB / 385.7 MB, free: 17.18 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/0.0181, allocations: 4 kB / 385.7 MB, free: 17.17 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001397/0.01824, allocations: 160.1 kB / 385.9 MB, free: 16.99 MB / 314.7 MB Notification: Performance of pre-optimization done (n=24): time 1.372e-06/0.01825, allocations: 0 / 385.9 MB, free: 16.99 MB / 314.7 MB Notification: Performance of matching and sorting (n=26): time 0.0007303/0.01898, allocations: 0.4976 MB / 386.4 MB, free: 16.45 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/0.01901, allocations: 132.5 kB / 386.5 MB, free: 16.29 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001958/0.0192, allocations: 418.3 kB / 386.9 MB, free: 15.87 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.01922, allocations: 29.7 kB / 386.9 MB, free: 15.84 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.01932, allocations: 330.7 kB / 387.2 MB, free: 15.5 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.239e-05/0.01936, allocations: 95.22 kB / 387.3 MB, free: 15.41 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.242e-05/0.01943, allocations: 79.56 kB / 387.4 MB, free: 15.32 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.282e-05/0.01949, allocations: 0.5312 MB / 388 MB, free: 14.78 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.087e-05/0.01953, allocations: 27.97 kB / 388 MB, free: 14.75 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.132e-05/0.01962, allocations: 251.5 kB / 388.2 MB, free: 14.42 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001563/0.01978, allocations: 268.2 kB / 388.5 MB, free: 14.09 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.01978, allocations: 4 kB / 388.5 MB, free: 14.08 MB / 314.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0003493/0.02013, allocations: 333 kB / 388.8 MB, free: 13.75 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.02014, allocations: 8 kB / 388.8 MB, free: 13.74 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.02015, allocations: 4.531 kB / 388.8 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002453/0.02039, allocations: 95.58 kB / 388.9 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.02051, allocations: 59.92 kB / 389 MB, free: 13.58 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001033/0.02154, allocations: 2.26 MB / 391.2 MB, free: 11.21 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001223/0.02166, allocations: 23.89 kB / 391.3 MB, free: 11.19 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.02168, allocations: 16 kB / 391.3 MB, free: 11.17 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 8.729e-05/0.02177, allocations: 172.5 kB / 391.4 MB, free: 10.99 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.221e-05/0.02181, allocations: 59.62 kB / 391.5 MB, free: 10.93 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000243/0.02205, allocations: 211.3 kB / 391.7 MB, free: 10.72 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.02206, allocations: 7.984 kB / 391.7 MB, free: 10.71 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.02206, allocations: 4 kB / 391.7 MB, free: 10.71 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.02206, allocations: 0 / 391.7 MB, free: 10.71 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004239/0.02249, allocations: 0.5645 MB / 392.3 MB, free: 10.11 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.02249, allocations: 4 kB / 392.3 MB, free: 10.1 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001218/0.02261, allocations: 35.98 kB / 392.3 MB, free: 10.07 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001039/0.02272, allocations: 51.62 kB / 392.4 MB, free: 10.01 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.02273, allocations: 7.984 kB / 392.4 MB, free: 10 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005385/0.02327, allocations: 1.799 MB / 394.2 MB, free: 8.09 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.02327, allocations: 3.938 kB / 394.2 MB, free: 8.086 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003169/0.02359, allocations: 428.4 kB / 394.6 MB, free: 7.641 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.223e-05/0.02365, allocations: 67.62 kB / 394.7 MB, free: 7.574 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.808e-05/0.02368, allocations: 7.984 kB / 394.7 MB, free: 7.566 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.587e-05/0.02377, allocations: 12 kB / 394.7 MB, free: 7.555 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.582e-05/0.02382, allocations: 27.89 kB / 394.7 MB, free: 7.527 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.02383, allocations: 8 kB / 394.7 MB, free: 7.52 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001019/0.02393, allocations: 259 kB / 395 MB, free: 7.27 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02393, allocations: 0 / 395 MB, free: 7.27 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003302/0.02426, allocations: 123.9 kB / 395.1 MB, free: 7.148 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dcm_ser.rotor.phi,dcm_ser.rotor.w,dcm_ser.motor.i,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 (24): * Single equations (assignments): 22 * 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 {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008763/0.02514, allocations: 455.9 kB / 395.5 MB, free: 6.883 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004214/0.02556, allocations: 386.5 kB / 395.9 MB, free: 6.484 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.02556, allocations: 0 / 395.9 MB, free: 6.484 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001612/0.02572, allocations: 269.2 kB / 396.2 MB, free: 6.199 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003702/0.02609, allocations: 120.7 kB / 396.3 MB, free: 6.09 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/0.02738, allocations: 0.9625 MB / 397.3 MB, free: 5.086 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.358e-05/0.02744, allocations: 133.2 kB / 397.4 MB, free: 4.934 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001274/0.02757, allocations: 55.23 kB / 397.5 MB, free: 4.883 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001511/0.02772, allocations: 170.1 kB / 397.6 MB, free: 4.715 MB / 314.7 MB Notification: Performance of SimCode: time 7.12e-07/0.02772, allocations: 0 / 397.6 MB, free: 4.715 MB / 314.7 MB Notification: Performance of Templates: time 0.008529/0.03625, allocations: 7.089 MB / 404.7 MB, free: 13.75 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.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.3195350891910493]