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.0015/0.0015, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001901/0.001901, allocations: 208.4 kB / 23.72 MB, free: 4.391 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.615/1.615, allocations: 230.6 MB / 257.5 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.1861/0.1861, allocations: 38.55 MB / 352.5 MB, free: 12.39 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.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: 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.002098/0.002098, allocations: 59.91 kB / 493 MB, free: 4.195 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3629/0.365, allocations: 62.47 MB / 0.5424 GB, free: 416 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser): time 0.008909/0.3739, allocations: 5.035 MB / 0.5473 GB, free: 12.6 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004245/0.3781, allocations: 1.99 MB / 0.5493 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005356/0.3786, allocations: 26.94 kB / 0.5493 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008534/0.3795, allocations: 148.5 kB / 0.5495 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001577/0.3811, allocations: 400.9 kB / 0.5498 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000711/0.3818, allocations: 222.6 kB / 0.55 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001287/0.3831, allocations: 0.7096 MB / 0.5507 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005769/0.3836, allocations: 330.9 kB / 0.5511 GB, free: 9.812 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006703/0.3843, allocations: 308.4 kB / 0.5514 GB, free: 9.637 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005055/0.3848, allocations: 282.4 kB / 0.5516 GB, free: 9.465 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.181e-05/0.3849, allocations: 47.88 kB / 0.5517 GB, free: 9.465 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003504/0.3853, allocations: 142.8 kB / 0.5518 GB, free: 9.418 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001857/0.3855, allocations: 161.4 kB / 0.552 GB, free: 9.297 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002771/0.3857, allocations: 214 kB / 0.5522 GB, free: 9.168 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009904/0.3867, allocations: 0.7063 MB / 0.5529 GB, free: 8.676 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3867, allocations: 0 / 0.5529 GB, free: 8.676 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.348e-06/0.3867, allocations: 3.984 kB / 0.5529 GB, free: 8.672 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.073e-05/0.3867, allocations: 0 / 0.5529 GB, free: 8.672 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.00184/0.3886, allocations: 0.8139 MB / 0.5536 GB, free: 8.02 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.067e-05/0.3886, allocations: 13.23 kB / 0.5537 GB, free: 8.016 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001516/0.3888, allocations: 56.05 kB / 0.5537 GB, free: 7.988 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009205/0.3897, allocations: 421.1 kB / 0.5541 GB, free: 7.652 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.57e-05/0.3897, allocations: 32.34 kB / 0.5541 GB, free: 7.637 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.849e-05/0.3898, allocations: 40.11 kB / 0.5542 GB, free: 7.621 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007555/0.3906, allocations: 486.4 kB / 0.5546 GB, free: 7.262 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.451e-05/0.3906, allocations: 9.156 kB / 0.5547 GB, free: 7.254 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.761e-05/0.3907, allocations: 20.45 kB / 0.5547 GB, free: 7.238 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.313e-05/0.3907, allocations: 8.938 kB / 0.5547 GB, free: 7.238 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004949/0.3912, allocations: 270.8 kB / 0.5549 GB, free: 7.105 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00228/0.3935, allocations: 1.647 MB / 0.5566 GB, free: 5.535 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005501/0.394, allocations: 239.2 kB / 0.5568 GB, free: 5.277 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001443/0.3941, allocations: 82.67 kB / 0.5569 GB, free: 5.188 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.4e-05/0.3942, allocations: 4.375 kB / 0.5569 GB, free: 5.184 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003012/0.3945, allocations: 176.6 kB / 0.557 GB, free: 4.992 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 1.924e-06/0.3945, allocations: 0 / 0.557 GB, free: 4.992 MB / 398.1 MB Notification: Performance of matching and sorting (n=26): time 0.001818/0.3963, allocations: 0.8536 MB / 0.5579 GB, free: 4.102 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.889e-05/0.3964, allocations: 136.5 kB / 0.558 GB, free: 3.938 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004932/0.3969, allocations: 401.5 kB / 0.5584 GB, free: 3.539 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.98e-05/0.3969, allocations: 29.7 kB / 0.5584 GB, free: 3.504 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002143/0.3971, allocations: 272.3 kB / 0.5587 GB, free: 3.234 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.626e-05/0.3972, allocations: 95.17 kB / 0.5588 GB, free: 3.141 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001225/0.3974, allocations: 77.64 kB / 0.5588 GB, free: 3.059 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002152/0.3976, allocations: 351 kB / 0.5592 GB, free: 2.707 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001668/0.3977, allocations: 83.95 kB / 0.5592 GB, free: 2.625 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000294/0.398, allocations: 237.9 kB / 0.5595 GB, free: 2.328 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004511/0.3985, allocations: 315.1 kB / 0.5598 GB, free: 1.965 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.3985, allocations: 4 kB / 0.5598 GB, free: 1.961 MB / 398.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0009007/0.3994, allocations: 429.5 kB / 0.5602 GB, free: 1.531 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.3994, allocations: 8 kB / 0.5602 GB, free: 1.523 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.3994, allocations: 4.531 kB / 0.5602 GB, free: 1.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004366/0.3999, allocations: 104.7 kB / 0.5603 GB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002455/0.4001, allocations: 67.84 kB / 0.5604 GB, free: 1.348 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002568/0.4027, allocations: 1.871 MB / 0.5622 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002825/0.403, allocations: 16 kB / 0.5622 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.238e-05/0.403, allocations: 20.06 kB / 0.5622 GB, free: 15.34 MB / 414.1 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.0002792/0.4033, allocations: 209.5 kB / 0.5624 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.062e-05/0.4033, allocations: 39.72 kB / 0.5625 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000651/0.404, allocations: 298 kB / 0.5627 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.404, allocations: 7.984 kB / 0.5628 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/0.404, allocations: 7.938 kB / 0.5628 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.404, allocations: 0 / 0.5628 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00111/0.4051, allocations: 0.6518 MB / 0.5634 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/0.4051, allocations: 4 kB / 0.5634 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002386/0.4054, allocations: 39.98 kB / 0.5634 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002148/0.4056, allocations: 56.73 kB / 0.5635 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.407e-05/0.4056, allocations: 8 kB / 0.5635 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001438/0.407, allocations: 1.405 MB / 0.5649 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.407, allocations: 7.875 kB / 0.5649 GB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008157/0.4079, allocations: 0.4918 MB / 0.5654 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001419/0.408, allocations: 59.72 kB / 0.5654 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.196e-05/0.4081, allocations: 7.984 kB / 0.5654 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000221/0.4083, allocations: 12 kB / 0.5654 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.1e-05/0.4083, allocations: 23.95 kB / 0.5655 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.202e-05/0.4084, allocations: 8 kB / 0.5655 GB, free: 11.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003319/0.4087, allocations: 279.2 kB / 0.5657 GB, free: 11.54 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4087, allocations: 0 / 0.5657 GB, free: 11.54 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005906/0.4093, allocations: 119.9 kB / 0.5658 GB, free: 11.43 MB / 414.1 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.001739/0.411, allocations: 0.495 MB / 0.5663 GB, free: 11.12 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009516/0.412, allocations: 387.2 kB / 0.5667 GB, free: 10.73 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.412, allocations: 192 / 0.5667 GB, free: 10.73 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004139/0.4124, allocations: 246.4 kB / 0.5669 GB, free: 10.47 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006659/0.4131, allocations: 104.8 kB / 0.567 GB, free: 10.38 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002195/0.4153, allocations: 1.112 MB / 0.5681 GB, free: 9.23 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003988/0.4157, allocations: 251.9 kB / 0.5684 GB, free: 8.957 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002336/0.4159, allocations: 67.22 kB / 0.5684 GB, free: 8.891 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.04e-05/0.416, allocations: 35.42 kB / 0.5685 GB, free: 8.855 MB / 414.1 MB Notification: Performance of SimCode: time 3.3e-07/0.416, allocations: 0 / 0.5685 GB, free: 8.855 MB / 414.1 MB Notification: Performance of Templates: time 0.01421/0.4302, allocations: 6.943 MB / 0.5752 GB, free: 2.023 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.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.766289686784148]