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.000964/0.000964, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.0009879/0.0009879, allocations: 168.6 kB / 24.99 MB, free: 8.875 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.9706/0.9706, allocations: 177.1 MB / 205.3 MB, free: 5.645 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.249/0.249, allocations: 29.42 MB / 291.2 MB, free: 2.5 MB / 266.7 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.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.633e-06/1.633e-06, allocations: 0 / 369.6 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.56e-05/2.723e-05, allocations: 2.312 kB / 369.6 MB, free: 11.33 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser): time 0.005638/0.005665, allocations: 5.345 MB / 375 MB, free: 5.953 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003/0.008665, allocations: 2.079 MB / 377 MB, free: 3.867 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003468/0.009012, allocations: 19.88 kB / 377.1 MB, free: 3.848 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005317/0.009544, allocations: 146.8 kB / 377.2 MB, free: 3.703 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009362/0.01048, allocations: 417.3 kB / 377.6 MB, free: 3.293 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000463/0.01094, allocations: 219.4 kB / 377.8 MB, free: 3.078 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008914/0.01183, allocations: 0.7276 MB / 378.6 MB, free: 2.348 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004419/0.01228, allocations: 355.9 kB / 378.9 MB, free: 2 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005801/0.01286, allocations: 430.9 kB / 379.3 MB, free: 1.578 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000375/0.01323, allocations: 251.2 kB / 379.6 MB, free: 1.332 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.561e-05/0.01329, allocations: 48 kB / 379.6 MB, free: 1.285 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002595/0.01355, allocations: 143.8 kB / 379.8 MB, free: 1.145 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001283/0.01368, allocations: 155.5 kB / 379.9 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001677/0.01384, allocations: 183.5 kB / 380.1 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006677/0.01451, allocations: 490.3 kB / 380.6 MB, free: 340 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.01451, allocations: 0 / 380.6 MB, free: 340 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.01452, allocations: 4 kB / 380.6 MB, free: 336 kB / 346.7 MB Notification: Performance of Transformations before backend: time 9.879e-06/0.01453, allocations: 0 / 380.6 MB, free: 336 kB / 346.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.001128/0.01565, allocations: 0.9017 MB / 381.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.01569, allocations: 15.98 kB / 381.5 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000119/0.01581, allocations: 88.56 kB / 381.6 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005672/0.01638, allocations: 446.8 kB / 382 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.435e-05/0.01641, allocations: 33.12 kB / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.926e-05/0.01647, allocations: 43.97 kB / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000473/0.01695, allocations: 397.9 kB / 382.5 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/0.01696, allocations: 3.953 kB / 382.5 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.784e-05/0.01699, allocations: 16 kB / 382.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.017, allocations: 8 kB / 382.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002119/0.01721, allocations: 155.7 kB / 382.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001538/0.01875, allocations: 2.03 MB / 384.7 MB, free: 11.99 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003154/0.01907, allocations: 200.1 kB / 384.9 MB, free: 11.76 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.737e-05/0.01914, allocations: 67.09 kB / 384.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.628e-05/0.01917, allocations: 4 kB / 384.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001863/0.01936, allocations: 156.3 kB / 385.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 1.773e-06/0.01936, allocations: 0 / 385.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.001106/0.02047, allocations: 0.7386 MB / 385.8 MB, free: 10.72 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.577e-05/0.02052, allocations: 132.5 kB / 386 MB, free: 10.56 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003084/0.02083, allocations: 422.5 kB / 386.4 MB, free: 10.13 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.02085, allocations: 33.95 kB / 386.4 MB, free: 10.09 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001422/0.02099, allocations: 327 kB / 386.7 MB, free: 9.766 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.362e-05/0.02105, allocations: 95.17 kB / 386.8 MB, free: 9.672 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.622e-05/0.02112, allocations: 75.31 kB / 386.9 MB, free: 9.59 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.02126, allocations: 0.5235 MB / 387.4 MB, free: 9.055 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003423/0.0216, allocations: 39.97 kB / 387.5 MB, free: 9.016 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001592/0.02176, allocations: 255.6 kB / 387.7 MB, free: 8.68 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002363/0.022, allocations: 294 kB / 388 MB, free: 8.316 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.022, allocations: 4 kB / 388 MB, free: 8.312 MB / 362.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.003607/0.02561, allocations: 356.8 kB / 388.4 MB, free: 7.953 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.02563, allocations: 8 kB / 388.4 MB, free: 7.945 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.02564, allocations: 4 kB / 388.4 MB, free: 7.941 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003337/0.02598, allocations: 99.7 kB / 388.5 MB, free: 7.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/0.02612, allocations: 71.84 kB / 388.5 MB, free: 7.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001982/0.0281, allocations: 2.274 MB / 390.8 MB, free: 5.383 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002373/0.02834, allocations: 19.98 kB / 390.8 MB, free: 5.363 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.154e-05/0.02836, allocations: 16 kB / 390.8 MB, free: 5.348 MB / 362.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 0.0001597/0.02852, allocations: 184.4 kB / 391 MB, free: 5.156 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.791e-05/0.02858, allocations: 59.66 kB / 391.1 MB, free: 5.098 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004069/0.02898, allocations: 229 kB / 391.3 MB, free: 4.855 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.02899, allocations: 4 kB / 391.3 MB, free: 4.852 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.02899, allocations: 3.984 kB / 391.3 MB, free: 4.848 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.02899, allocations: 0 / 391.3 MB, free: 4.848 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000622/0.02962, allocations: 0.6418 MB / 392 MB, free: 4.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.654e-06/0.02962, allocations: 0 / 392 MB, free: 4.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001372/0.02976, allocations: 51.91 kB / 392 MB, free: 4.109 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001338/0.02989, allocations: 43.58 kB / 392 MB, free: 4.062 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.02991, allocations: 8 kB / 392.1 MB, free: 4.055 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009846/0.03089, allocations: 1.83 MB / 393.9 MB, free: 2.102 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.03089, allocations: 4.031 kB / 393.9 MB, free: 2.098 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004096/0.0313, allocations: 451.7 kB / 394.3 MB, free: 1.621 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.396e-05/0.03138, allocations: 55.69 kB / 394.4 MB, free: 1.566 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.801e-05/0.0314, allocations: 8 kB / 394.4 MB, free: 1.559 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.03151, allocations: 11.94 kB / 394.4 MB, free: 1.547 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.177e-05/0.03156, allocations: 19.95 kB / 394.4 MB, free: 1.527 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/0.03157, allocations: 12 kB / 394.4 MB, free: 1.516 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001807/0.03175, allocations: 271.1 kB / 394.7 MB, free: 1.254 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03175, allocations: 4 kB / 394.7 MB, free: 1.25 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004301/0.03218, allocations: 127.9 kB / 394.8 MB, free: 1.125 MB / 362.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.0009839/0.03317, allocations: 457.4 kB / 395.3 MB, free: 0.8359 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005377/0.0337, allocations: 402.7 kB / 395.7 MB, free: 432 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.03371, allocations: 0 / 395.7 MB, free: 432 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002106/0.03392, allocations: 278.2 kB / 395.9 MB, free: 132 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004251/0.03434, allocations: 109.9 kB / 396 MB, free: 24 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001844/0.03619, allocations: 0.9662 MB / 397 MB, free: 15.02 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.755e-05/0.03626, allocations: 133.2 kB / 397.1 MB, free: 14.86 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001284/0.03639, allocations: 59.23 kB / 397.2 MB, free: 14.8 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.056e-05/0.03645, allocations: 36.48 kB / 397.2 MB, free: 14.77 MB / 378.7 MB Notification: Performance of SimCode: time 1.092e-06/0.03645, allocations: 4 kB / 397.2 MB, free: 14.76 MB / 378.7 MB Notification: Performance of Templates: time 0.008564/0.04502, allocations: 6.462 MB / 403.7 MB, free: 8.41 MB / 378.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.298185048159212]