Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.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.001921/0.001921, allocations: 74.27 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.002396/0.002396, 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.591/1.591, allocations: 177.2 MB / 204.9 MB, free: 8.992 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.1846/0.1846, allocations: 29.42 MB / 290.7 MB, free: 3.27 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.DCcharSpeed,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|efficiency.eta|machine.motor.tau_el|machine.motor.w_el",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|efficiency.eta|machine.motor.tau_el|machine.motor.w_el",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed") [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.002286/0.002286, allocations: 67.91 kB / 431.2 MB, free: 3.211 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.407/0.4093, allocations: 62.44 MB / 493.6 MB, free: 37.76 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed): time 0.00588/0.4152, allocations: 4.698 MB / 498.3 MB, free: 34.62 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002165/0.4173, allocations: 1.396 MB / 499.7 MB, free: 33.68 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002322/0.4176, allocations: 24.41 kB / 499.7 MB, free: 33.67 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003587/0.4179, allocations: 103.7 kB / 499.9 MB, free: 33.61 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006068/0.4185, allocations: 274.9 kB / 0.4884 GB, free: 33.45 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003051/0.4188, allocations: 131.9 kB / 0.4885 GB, free: 33.38 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006116/0.4194, allocations: 0.5934 MB / 0.4891 GB, free: 33.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003544/0.4198, allocations: 286.4 kB / 0.4894 GB, free: 32.96 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003222/0.4201, allocations: 257.2 kB / 0.4896 GB, free: 32.84 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003258/0.4204, allocations: 219.7 kB / 0.4898 GB, free: 32.76 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.46e-05/0.4205, allocations: 37.47 kB / 0.4899 GB, free: 32.76 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.817e-05/0.4206, allocations: 41.34 kB / 0.4899 GB, free: 32.76 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000121/0.4207, allocations: 124.1 kB / 0.49 GB, free: 32.69 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001739/0.4209, allocations: 182.6 kB / 0.4902 GB, free: 32.6 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004501/0.4213, allocations: 0.5065 MB / 0.4907 GB, free: 32.39 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.4213, allocations: 3.469 kB / 0.4907 GB, free: 32.39 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4213, allocations: 0 / 0.4907 GB, free: 32.39 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.4213, allocations: 0 / 0.4907 GB, free: 32.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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.00119/0.4225, allocations: 0.6451 MB / 0.4913 GB, free: 31.92 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.4226, allocations: 13.27 kB / 0.4913 GB, free: 31.91 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.51e-05/0.4227, allocations: 51.41 kB / 0.4914 GB, free: 31.89 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005616/0.4232, allocations: 351.9 kB / 0.4917 GB, free: 31.64 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.779e-05/0.4233, allocations: 86.88 kB / 0.4918 GB, free: 31.56 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.842e-05/0.4234, allocations: 35.41 kB / 0.4918 GB, free: 31.55 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007124/0.4241, allocations: 441.3 kB / 0.4923 GB, free: 31.3 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.688e-05/0.4241, allocations: 0 / 0.4923 GB, free: 31.3 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.445e-05/0.4242, allocations: 17.62 kB / 0.4923 GB, free: 31.29 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.439e-05/0.4242, allocations: 9.438 kB / 0.4923 GB, free: 31.29 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004942/0.4247, allocations: 270.1 kB / 0.4925 GB, free: 31.2 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001809/0.4265, allocations: 1.628 MB / 0.4941 GB, free: 29.87 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003144/0.4268, allocations: 169.6 kB / 0.4943 GB, free: 29.76 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001259/0.4269, allocations: 69.3 kB / 0.4944 GB, free: 29.71 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.634e-05/0.427, allocations: 7.031 kB / 0.4944 GB, free: 29.71 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.448e-05/0.427, allocations: 33.53 kB / 0.4944 GB, free: 29.67 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.583e-06/0.427, allocations: 0 / 0.4944 GB, free: 29.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=19): time 0.001194/0.4282, allocations: 0.641 MB / 0.495 GB, free: 29.25 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/0.4282, allocations: 114 kB / 0.4951 GB, free: 29.11 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002403/0.4285, allocations: 296 kB / 0.4954 GB, free: 28.95 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.4285, allocations: 33.64 kB / 0.4954 GB, free: 28.91 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.4286, allocations: 252.2 kB / 0.4957 GB, free: 28.7 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.5e-05/0.4286, allocations: 71.31 kB / 0.4958 GB, free: 28.64 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.837e-05/0.4287, allocations: 70.03 kB / 0.4958 GB, free: 28.6 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.407e-05/0.4288, allocations: 335.9 kB / 0.4961 GB, free: 28.27 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.4289, allocations: 79.06 kB / 0.4962 GB, free: 28.25 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001976/0.4291, allocations: 203.8 kB / 0.4964 GB, free: 28.06 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003352/0.4295, allocations: 294.2 kB / 0.4967 GB, free: 27.82 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.4295, allocations: 0 / 0.4967 GB, free: 27.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004492/0.4299, allocations: 327 kB / 0.497 GB, free: 27.67 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.4299, allocations: 5.875 kB / 0.497 GB, free: 27.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.208e-06/0.4299, allocations: 10.19 kB / 0.497 GB, free: 27.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.285e-05/0.43, allocations: 6.031 kB / 0.497 GB, free: 27.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002737/0.4302, allocations: 77.77 kB / 0.4971 GB, free: 27.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.4302, allocations: 7.375 kB / 0.4971 GB, free: 27.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001682/0.4304, allocations: 20.86 kB / 0.4971 GB, free: 27.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.309e-05/0.4304, allocations: 15.53 kB / 0.4971 GB, free: 27.64 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (40): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001471/0.4306, allocations: 184 kB / 0.4973 GB, free: 27.48 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.182e-05/0.4306, allocations: 28.38 kB / 0.4973 GB, free: 27.47 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003527/0.431, allocations: 204 kB / 0.4975 GB, free: 27.36 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.431, allocations: 0 / 0.4975 GB, free: 27.36 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.431, allocations: 3.188 kB / 0.4975 GB, free: 27.36 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.431, allocations: 0 / 0.4975 GB, free: 27.36 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007372/0.4317, allocations: 0.5102 MB / 0.498 GB, free: 27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.4317, allocations: 3.219 kB / 0.498 GB, free: 27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002233/0.432, allocations: 43.03 kB / 0.4981 GB, free: 27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.432, allocations: 0 / 0.4981 GB, free: 27 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.798e-05/0.432, allocations: 7.281 kB / 0.4981 GB, free: 27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.432, allocations: 7.156 kB / 0.4981 GB, free: 26.99 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.432, allocations: 0 / 0.4981 GB, free: 26.99 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005082/0.4325, allocations: 446.8 kB / 0.4985 GB, free: 26.68 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.929e-05/0.4325, allocations: 29.31 kB / 0.4986 GB, free: 26.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.494e-05/0.4326, allocations: 3.219 kB / 0.4986 GB, free: 26.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000173/0.4328, allocations: 7.25 kB / 0.4986 GB, free: 26.66 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.419e-05/0.4328, allocations: 21.31 kB / 0.4986 GB, free: 26.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.4328, allocations: 10.77 kB / 0.4986 GB, free: 26.65 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000156/0.433, allocations: 195.5 kB / 0.4988 GB, free: 26.54 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.433, allocations: 0 / 0.4988 GB, free: 26.54 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004179/0.4334, allocations: 71.62 kB / 0.4989 GB, free: 26.53 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (efficiency.pav,efficiency.qav,machine.rotor.phi,machine.rotor.w) * 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 0.0001114/0.4335, allocations: 98.91 kB / 0.4989 GB, free: 26.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003819/0.4339, allocations: 204.4 kB / 0.4991 GB, free: 26.36 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4339, allocations: 0 / 0.4991 GB, free: 26.36 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001457/0.434, allocations: 70.11 kB / 0.4992 GB, free: 26.34 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006226/0.4347, allocations: 88.08 kB / 0.4993 GB, free: 26.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001435/0.4361, allocations: 0.8826 MB / 0.5002 GB, free: 25.72 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001842/0.4363, allocations: 215.8 kB / 0.5004 GB, free: 25.62 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001609/0.4365, allocations: 43.72 kB / 0.5004 GB, free: 25.61 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.349e-05/0.4365, allocations: 28.69 kB / 0.5004 GB, free: 25.59 MB / 446.1 MB Notification: Performance of SimCode: time 6.61e-07/0.4365, allocations: 7.156 kB / 0.5004 GB, free: 25.59 MB / 446.1 MB Notification: Performance of Templates: time 0.007042/0.4436, allocations: 2.976 MB / 0.5033 GB, free: 25.19 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.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.344743464025669]