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.001657/0.001657, allocations: 74.42 kB / 21.24 MB, free: 0.5547 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.001991/0.001991, allocations: 159.7 kB / 24.5 MB, free: 3.715 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.535/1.535, allocations: 177.2 MB / 204.9 MB, free: 9 MB / 190.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.1735/0.1735, allocations: 29.43 MB / 290.7 MB, free: 3.285 MB / 270.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.002213/0.002213, allocations: 63.84 kB / 431.2 MB, free: 3.219 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3549/0.3571, allocations: 62.45 MB / 493.6 MB, free: 37.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser): time 0.005591/0.3627, allocations: 5.046 MB / 498.7 MB, free: 34.43 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002578/0.3653, allocations: 1.99 MB / 0.4889 GB, free: 33.11 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002346/0.3655, allocations: 21.5 kB / 0.489 GB, free: 33.1 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004916/0.366, allocations: 149.4 kB / 0.4891 GB, free: 33.02 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008371/0.3668, allocations: 398.9 kB / 0.4895 GB, free: 32.79 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000448/0.3673, allocations: 221 kB / 0.4897 GB, free: 32.66 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000741/0.368, allocations: 0.7108 MB / 0.4904 GB, free: 32.32 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003904/0.3684, allocations: 320.2 kB / 0.4907 GB, free: 32.18 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004021/0.3688, allocations: 319.4 kB / 0.491 GB, free: 32.03 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003443/0.3692, allocations: 280.6 kB / 0.4913 GB, free: 31.92 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.739e-05/0.3692, allocations: 54.53 kB / 0.4913 GB, free: 31.91 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002265/0.3695, allocations: 137.9 kB / 0.4914 GB, free: 31.88 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001377/0.3696, allocations: 157.1 kB / 0.4916 GB, free: 31.8 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001961/0.3698, allocations: 216.2 kB / 0.4918 GB, free: 31.68 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000661/0.3705, allocations: 0.7103 MB / 0.4925 GB, free: 31.39 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3705, allocations: 0 / 0.4925 GB, free: 31.39 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3705, allocations: 0 / 0.4925 GB, free: 31.39 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.656e-06/0.3705, allocations: 0 / 0.4925 GB, free: 31.39 MB / 446.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.001395/0.3719, allocations: 0.8047 MB / 0.4933 GB, free: 30.83 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.3719, allocations: 13.02 kB / 0.4933 GB, free: 30.82 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001074/0.372, allocations: 59.5 kB / 0.4934 GB, free: 30.79 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000674/0.3727, allocations: 429.8 kB / 0.4938 GB, free: 30.5 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.009e-05/0.3727, allocations: 28.47 kB / 0.4938 GB, free: 30.49 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.33e-05/0.3728, allocations: 44.11 kB / 0.4938 GB, free: 30.47 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005691/0.3734, allocations: 484.8 kB / 0.4943 GB, free: 30.19 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.072e-05/0.3734, allocations: 3.219 kB / 0.4943 GB, free: 30.19 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.688e-05/0.3734, allocations: 15.09 kB / 0.4943 GB, free: 30.18 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.454e-05/0.3734, allocations: 8.781 kB / 0.4943 GB, free: 30.18 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000386/0.3738, allocations: 278.9 kB / 0.4946 GB, free: 30.07 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001561/0.3754, allocations: 1.638 MB / 0.4962 GB, free: 28.77 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004303/0.3758, allocations: 246.9 kB / 0.4964 GB, free: 28.63 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/0.3759, allocations: 83.23 kB / 0.4965 GB, free: 28.58 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.266e-05/0.3759, allocations: 6.828 kB / 0.4965 GB, free: 28.58 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000219/0.3762, allocations: 176.1 kB / 0.4967 GB, free: 28.47 MB / 446.1 MB Notification: Performance of pre-optimization done (n=24): time 2.304e-06/0.3762, allocations: 3.984 kB / 0.4967 GB, free: 28.47 MB / 446.1 MB Notification: Performance of matching and sorting (n=26): time 0.00142/0.3776, allocations: 0.8575 MB / 0.4975 GB, free: 27.93 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/0.3776, allocations: 131.7 kB / 0.4976 GB, free: 27.77 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003401/0.378, allocations: 395.8 kB / 0.498 GB, free: 27.57 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.378, allocations: 29.7 kB / 0.498 GB, free: 27.54 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001378/0.3781, allocations: 276 kB / 0.4983 GB, free: 27.32 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.161e-05/0.3782, allocations: 98.25 kB / 0.4984 GB, free: 27.24 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.51e-05/0.3783, allocations: 69.41 kB / 0.4985 GB, free: 27.2 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.974e-05/0.3783, allocations: 352.7 kB / 0.4988 GB, free: 26.87 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/0.3785, allocations: 86.83 kB / 0.4989 GB, free: 26.84 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001941/0.3787, allocations: 243 kB / 0.4991 GB, free: 26.61 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003394/0.379, allocations: 314.1 kB / 0.4994 GB, free: 26.37 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.379, allocations: 0 / 0.4994 GB, free: 26.37 MB / 446.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006949/0.3797, allocations: 436.7 kB / 0.4998 GB, free: 26.17 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.3797, allocations: 6.094 kB / 0.4998 GB, free: 26.17 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.3797, allocations: 6.5 kB / 0.4998 GB, free: 26.17 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003853/0.3801, allocations: 97.11 kB / 0.4999 GB, free: 26.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000209/0.3803, allocations: 69.61 kB / 0.5 GB, free: 26.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002033/0.3824, allocations: 1.877 MB / 0.5018 GB, free: 24.53 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002377/0.3826, allocations: 16.53 kB / 0.5019 GB, free: 24.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.695e-05/0.3826, allocations: 20.41 kB / 0.5019 GB, free: 24.52 MB / 446.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.0001755/0.3828, allocations: 196.8 kB / 0.5021 GB, free: 24.36 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.323e-05/0.3828, allocations: 42.5 kB / 0.5021 GB, free: 24.34 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005209/0.3834, allocations: 292.4 kB / 0.5024 GB, free: 24.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.3834, allocations: 3.188 kB / 0.5024 GB, free: 24.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.3834, allocations: 7.125 kB / 0.5024 GB, free: 24.19 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/0.3834, allocations: 0 / 0.5024 GB, free: 24.19 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008243/0.3842, allocations: 0.6539 MB / 0.503 GB, free: 23.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.3842, allocations: 8 kB / 0.503 GB, free: 23.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002185/0.3844, allocations: 41.64 kB / 0.5031 GB, free: 23.78 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000184/0.3846, allocations: 49.17 kB / 0.5031 GB, free: 23.76 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.186e-05/0.3846, allocations: 7 kB / 0.5031 GB, free: 23.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009474/0.3856, allocations: 1.415 MB / 0.5045 GB, free: 22.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.3856, allocations: 3.938 kB / 0.5045 GB, free: 22.43 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006568/0.3862, allocations: 0.4891 MB / 0.505 GB, free: 22.13 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000109/0.3863, allocations: 63.22 kB / 0.5051 GB, free: 22.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.523e-05/0.3864, allocations: 7.344 kB / 0.5051 GB, free: 22.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002171/0.3866, allocations: 13.94 kB / 0.5051 GB, free: 22.09 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.881e-05/0.3867, allocations: 28.27 kB / 0.5051 GB, free: 22.08 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.926e-05/0.3867, allocations: 6.375 kB / 0.5051 GB, free: 22.08 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002654/0.387, allocations: 270.9 kB / 0.5054 GB, free: 21.94 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.387, allocations: 7.125 kB / 0.5054 GB, free: 21.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005811/0.3875, allocations: 120.8 kB / 0.5055 GB, free: 21.91 MB / 446.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.001666/0.3892, allocations: 486.3 kB / 0.506 GB, free: 21.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008801/0.3901, allocations: 403.2 kB / 0.5063 GB, free: 21.48 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.3901, allocations: 1.062 kB / 0.5063 GB, free: 21.48 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003283/0.3904, allocations: 237.1 kB / 0.5066 GB, free: 21.34 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000607/0.391, allocations: 121.7 kB / 0.5067 GB, free: 21.29 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001713/0.3927, allocations: 1.095 MB / 0.5078 GB, free: 20.62 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002478/0.393, allocations: 257.9 kB / 0.508 GB, free: 20.51 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002358/0.3932, allocations: 70.59 kB / 0.5081 GB, free: 20.48 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.185e-05/0.3933, allocations: 34.34 kB / 0.5081 GB, free: 20.47 MB / 446.1 MB Notification: Performance of SimCode: time 7.32e-07/0.3933, allocations: 0 / 0.5081 GB, free: 20.47 MB / 446.1 MB Notification: Performance of Templates: time 0.01217/0.4055, allocations: 6.364 MB / 0.5143 GB, free: 19.71 MB / 446.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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.mat","/var/lib/jenkins1/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.619226553011686]