Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.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.0018/0.0018, allocations: 74.33 kB / 21.24 MB, free: 0.5469 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.001802/0.001802, allocations: 159.4 kB / 24.5 MB, free: 3.723 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.662/1.662, allocations: 177.2 MB / 204.9 MB, free: 9.027 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.1766/0.1766, allocations: 29.43 MB / 290.7 MB, free: 3.289 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.Elementary.Machines,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|motor.i|motor.v|motor.w_el|power.p",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Machines,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|motor.i|motor.v|motor.w_el|power.p",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines") [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.002031/0.002031, allocations: 63.91 kB / 431.2 MB, free: 3.219 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.393/0.395, allocations: 62.44 MB / 493.6 MB, free: 37.78 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Machines): time 0.004898/0.3999, allocations: 4.444 MB / 498.1 MB, free: 34.8 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001736/0.4017, allocations: 1.389 MB / 499.5 MB, free: 33.88 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001934/0.4019, allocations: 21.31 kB / 499.5 MB, free: 33.86 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003783/0.4023, allocations: 112.5 kB / 499.6 MB, free: 33.8 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005478/0.4028, allocations: 284.6 kB / 499.9 MB, free: 33.64 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000225/0.403, allocations: 113.5 kB / 500 MB, free: 33.58 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000553/0.4036, allocations: 0.5056 MB / 0.4888 GB, free: 33.34 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001841/0.4038, allocations: 103.1 kB / 0.4889 GB, free: 33.3 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002294/0.404, allocations: 217.8 kB / 0.4891 GB, free: 33.2 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002664/0.4043, allocations: 198.9 kB / 0.4893 GB, free: 33.13 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.152e-05/0.4043, allocations: 25.62 kB / 0.4893 GB, free: 33.13 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.655e-05/0.4044, allocations: 28.56 kB / 0.4893 GB, free: 33.13 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.345e-05/0.4045, allocations: 104.4 kB / 0.4894 GB, free: 33.08 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001362/0.4046, allocations: 146.4 kB / 0.4895 GB, free: 33 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003476/0.4049, allocations: 388.9 kB / 0.4899 GB, free: 32.84 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.4049, allocations: 4 kB / 0.4899 GB, free: 32.84 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.4049, allocations: 3 kB / 0.4899 GB, free: 32.84 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.124e-06/0.4049, allocations: 0 / 0.4899 GB, free: 32.84 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0009058/0.4059, allocations: 0.5967 MB / 0.4905 GB, free: 32.38 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.4059, allocations: 13.7 kB / 0.4905 GB, free: 32.38 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.095e-05/0.406, allocations: 47.53 kB / 0.4906 GB, free: 32.36 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000528/0.4065, allocations: 336.9 kB / 0.4909 GB, free: 32.13 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/0.4065, allocations: 21.84 kB / 0.4909 GB, free: 32.12 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.645e-05/0.4066, allocations: 30.62 kB / 0.4909 GB, free: 32.11 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004204/0.407, allocations: 335.3 kB / 0.4913 GB, free: 31.89 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.407, allocations: 0 / 0.4913 GB, free: 31.89 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.589e-05/0.407, allocations: 14.47 kB / 0.4913 GB, free: 31.89 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.407, allocations: 6.312 kB / 0.4913 GB, free: 31.89 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002723/0.4073, allocations: 202.5 kB / 0.4915 GB, free: 31.82 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001121/0.4084, allocations: 1.351 MB / 0.4928 GB, free: 30.66 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003523/0.4088, allocations: 185.1 kB / 0.493 GB, free: 30.53 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.4e-05/0.4089, allocations: 74.84 kB / 0.493 GB, free: 30.48 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.64e-05/0.4089, allocations: 7.234 kB / 0.493 GB, free: 30.47 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/0.4089, allocations: 41.11 kB / 0.4931 GB, free: 30.43 MB / 446.1 MB Notification: Performance of pre-optimization done (n=17): time 1.453e-06/0.4089, allocations: 0 / 0.4931 GB, free: 30.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.0009323/0.4099, allocations: 0.6159 MB / 0.4937 GB, free: 30 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.582e-05/0.4099, allocations: 139.7 kB / 0.4938 GB, free: 29.83 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002147/0.4101, allocations: 286 kB / 0.4941 GB, free: 29.67 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.4101, allocations: 32.77 kB / 0.4941 GB, free: 29.63 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.726e-05/0.4102, allocations: 219.8 kB / 0.4943 GB, free: 29.45 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.854e-05/0.4103, allocations: 71.75 kB / 0.4944 GB, free: 29.39 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.062e-05/0.4103, allocations: 47.7 kB / 0.4944 GB, free: 29.36 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.476e-05/0.4104, allocations: 343.3 kB / 0.4948 GB, free: 29.04 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.129e-05/0.4105, allocations: 50.19 kB / 0.4948 GB, free: 29.02 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.4106, allocations: 150.7 kB / 0.495 GB, free: 28.88 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002355/0.4108, allocations: 226.5 kB / 0.4952 GB, free: 28.69 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.4108, allocations: 2.75 kB / 0.4952 GB, free: 28.69 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003121/0.4111, allocations: 254.1 kB / 0.4954 GB, free: 28.56 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.4111, allocations: 10.19 kB / 0.4954 GB, free: 28.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.4112, allocations: 6.516 kB / 0.4954 GB, free: 28.56 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.4112, allocations: 10.34 kB / 0.4955 GB, free: 28.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003434/0.4115, allocations: 75.39 kB / 0.4955 GB, free: 28.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005859/0.4121, allocations: 1.247 MB / 0.4967 GB, free: 27.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001366/0.4122, allocations: 15.08 kB / 0.4968 GB, free: 27.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.727e-05/0.4123, allocations: 12.94 kB / 0.4968 GB, free: 27.26 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001266/0.4124, allocations: 165.1 kB / 0.4969 GB, free: 27.12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.662e-05/0.4125, allocations: 32.09 kB / 0.497 GB, free: 27.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002631/0.4127, allocations: 186.1 kB / 0.4971 GB, free: 27 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.4127, allocations: 2.938 kB / 0.4971 GB, free: 27 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.4127, allocations: 0 / 0.4971 GB, free: 27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.4127, allocations: 2.938 kB / 0.4971 GB, free: 27 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005703/0.4133, allocations: 469.8 kB / 0.4976 GB, free: 26.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.4133, allocations: 0 / 0.4976 GB, free: 26.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002131/0.4135, allocations: 44.8 kB / 0.4976 GB, free: 26.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.4135, allocations: 0 / 0.4976 GB, free: 26.66 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.4135, allocations: 11 kB / 0.4976 GB, free: 26.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.4135, allocations: 3 kB / 0.4976 GB, free: 26.66 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.4135, allocations: 0 / 0.4976 GB, free: 26.66 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003387/0.4139, allocations: 496.9 kB / 0.4981 GB, free: 26.28 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.739e-05/0.4139, allocations: 24.91 kB / 0.4981 GB, free: 26.27 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.96e-05/0.4139, allocations: 6.781 kB / 0.4981 GB, free: 26.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001925/0.4141, allocations: 11.12 kB / 0.4982 GB, free: 26.25 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.787e-05/0.4142, allocations: 17.11 kB / 0.4982 GB, free: 26.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.4142, allocations: 2.938 kB / 0.4982 GB, free: 26.25 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001297/0.4143, allocations: 200.3 kB / 0.4984 GB, free: 26.14 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4143, allocations: 0 / 0.4984 GB, free: 26.14 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004234/0.4147, allocations: 64.56 kB / 0.4984 GB, free: 26.12 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (rotor.phi,rotor.w,motor.i) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.368e-05/0.4148, allocations: 99.3 kB / 0.4985 GB, free: 26.03 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003113/0.4151, allocations: 164.4 kB / 0.4987 GB, free: 25.98 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.4151, allocations: 0 / 0.4987 GB, free: 25.98 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.152e-05/0.4152, allocations: 69.86 kB / 0.4988 GB, free: 25.95 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000664/0.4159, allocations: 80.23 kB / 0.4988 GB, free: 25.93 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001236/0.4171, allocations: 0.8154 MB / 0.4996 GB, free: 25.41 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001566/0.4173, allocations: 200 kB / 0.4998 GB, free: 25.31 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00014/0.4174, allocations: 55.41 kB / 0.4999 GB, free: 25.29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.911e-05/0.4175, allocations: 29.03 kB / 0.4999 GB, free: 25.28 MB / 446.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4175, allocations: 0 / 0.4999 GB, free: 25.28 MB / 446.1 MB Notification: Performance of Templates: time 0.006177/0.4237, allocations: 2.887 MB / 0.5027 GB, free: 24.89 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Machines.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.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.3164796330966055]