Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.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.001818/0.001818, allocations: 69.41 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.002193/0.002193, allocations: 160.4 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.587/1.587, allocations: 177.2 MB / 204.9 MB, free: 9.008 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.1773/0.1773, allocations: 29.42 MB / 290.7 MB, free: 3.277 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.Source,tolerance=1e-06,outputFormat="mat",numberOfIntervals=740,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Source,tolerance=1e-06,outputFormat="mat",numberOfIntervals=740,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source") [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.002013/0.002013, allocations: 63.89 kB / 431.2 MB, free: 3.219 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3885/0.3905, allocations: 62.44 MB / 493.6 MB, free: 37.76 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Source): time 0.007129/0.3976, allocations: 3.87 MB / 497.5 MB, free: 35.13 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002065/0.3997, allocations: 0.8597 MB / 498.4 MB, free: 34.55 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003899/0.4001, allocations: 14.31 kB / 498.4 MB, free: 34.55 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002857/0.4003, allocations: 40.38 kB / 498.4 MB, free: 34.52 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008206/0.4012, allocations: 171.6 kB / 498.6 MB, free: 34.42 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003156/0.4015, allocations: 83.81 kB / 498.7 MB, free: 34.38 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005573/0.402, allocations: 373.9 kB / 499 MB, free: 34.21 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002132/0.4023, allocations: 61.23 kB / 499.1 MB, free: 34.18 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000464/0.4027, allocations: 185.4 kB / 499.3 MB, free: 34.1 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00041/0.4031, allocations: 158.4 kB / 499.4 MB, free: 34.05 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.947e-05/0.4032, allocations: 19.97 kB / 499.5 MB, free: 34.04 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.647e-05/0.4033, allocations: 16.06 kB / 499.5 MB, free: 34.04 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001286/0.4034, allocations: 81.16 kB / 499.5 MB, free: 34.01 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000193/0.4036, allocations: 111.4 kB / 499.7 MB, free: 33.95 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003405/0.4039, allocations: 260.6 kB / 499.9 MB, free: 33.85 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.4039, allocations: 3.938 kB / 499.9 MB, free: 33.84 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4039, allocations: 0 / 499.9 MB, free: 33.84 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.4039, allocations: 0 / 499.9 MB, free: 33.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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001105/0.405, allocations: 0.4908 MB / 0.4887 GB, free: 33.46 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.4051, allocations: 13.3 kB / 0.4887 GB, free: 33.45 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001005/0.4052, allocations: 31.75 kB / 0.4887 GB, free: 33.44 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000569/0.4058, allocations: 261.6 kB / 0.489 GB, free: 33.23 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.943e-05/0.4058, allocations: 22.28 kB / 0.489 GB, free: 33.22 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.942e-05/0.4058, allocations: 20.44 kB / 0.489 GB, free: 33.22 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004602/0.4063, allocations: 266.8 kB / 0.4893 GB, free: 33.05 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.4063, allocations: 3 kB / 0.4893 GB, free: 33.05 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.836e-05/0.4063, allocations: 4 kB / 0.4893 GB, free: 33.05 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.324e-05/0.4064, allocations: 6.156 kB / 0.4893 GB, free: 33.05 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000324/0.4067, allocations: 164.6 kB / 0.4894 GB, free: 33 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001301/0.408, allocations: 1.067 MB / 0.4905 GB, free: 32.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001611/0.4081, allocations: 76.83 kB / 0.4906 GB, free: 32 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.606e-05/0.4082, allocations: 37.36 kB / 0.4906 GB, free: 31.97 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.4082, allocations: 0 / 0.4906 GB, free: 31.97 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.4083, allocations: 33.56 kB / 0.4906 GB, free: 31.93 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.4083, allocations: 0 / 0.4906 GB, free: 31.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007992/0.4091, allocations: 341.3 kB / 0.4909 GB, free: 31.66 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.954e-05/0.4091, allocations: 80.14 kB / 0.491 GB, free: 31.57 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002569/0.4094, allocations: 245.4 kB / 0.4913 GB, free: 31.41 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.167e-05/0.4094, allocations: 25.7 kB / 0.4913 GB, free: 31.38 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/0.4095, allocations: 193.2 kB / 0.4915 GB, free: 31.21 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.788e-05/0.4095, allocations: 30.36 kB / 0.4915 GB, free: 31.19 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.76e-05/0.4096, allocations: 44.2 kB / 0.4915 GB, free: 31.16 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.123e-05/0.4097, allocations: 336.1 kB / 0.4919 GB, free: 30.84 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.159e-05/0.4097, allocations: 23.67 kB / 0.4919 GB, free: 30.83 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001087/0.4098, allocations: 131.2 kB / 0.492 GB, free: 30.69 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002085/0.4101, allocations: 164.5 kB / 0.4922 GB, free: 30.53 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.4101, allocations: 0 / 0.4922 GB, free: 30.53 MB / 446.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003538/0.4104, allocations: 180.1 kB / 0.4923 GB, free: 30.43 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.4104, allocations: 6.562 kB / 0.4923 GB, free: 30.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.4104, allocations: 3.25 kB / 0.4923 GB, free: 30.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.443e-05/0.4105, allocations: 14.22 kB / 0.4924 GB, free: 30.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002043/0.4107, allocations: 42.09 kB / 0.4924 GB, free: 30.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.4107, allocations: 5.875 kB / 0.4924 GB, free: 30.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001508/0.4108, allocations: 6.719 kB / 0.4924 GB, free: 30.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.4108, allocations: 12.81 kB / 0.4924 GB, free: 30.41 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 (22): * Single equations (assignments): 22 * 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.0001412/0.411, allocations: 144.5 kB / 0.4926 GB, free: 30.28 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.609e-05/0.411, allocations: 20.86 kB / 0.4926 GB, free: 30.27 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002041/0.4113, allocations: 105.1 kB / 0.4927 GB, free: 30.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.401e-06/0.4113, allocations: 7.062 kB / 0.4927 GB, free: 30.19 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.4113, allocations: 0 / 0.4927 GB, free: 30.19 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.4113, allocations: 3.422 kB / 0.4927 GB, free: 30.19 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004314/0.4117, allocations: 352 kB / 0.493 GB, free: 29.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.4117, allocations: 0 / 0.493 GB, free: 29.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001125/0.4118, allocations: 15.81 kB / 0.493 GB, free: 29.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.4118, allocations: 3.938 kB / 0.493 GB, free: 29.89 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.4118, allocations: 3.125 kB / 0.493 GB, free: 29.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.4118, allocations: 0 / 0.493 GB, free: 29.89 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.4118, allocations: 7.406 kB / 0.4931 GB, free: 29.89 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002744/0.4121, allocations: 228.2 kB / 0.4933 GB, free: 29.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.482e-05/0.4121, allocations: 18.28 kB / 0.4933 GB, free: 29.69 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.045e-05/0.4122, allocations: 7 kB / 0.4933 GB, free: 29.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.4123, allocations: 7.422 kB / 0.4933 GB, free: 29.68 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.174e-05/0.4123, allocations: 6.938 kB / 0.4933 GB, free: 29.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/0.4123, allocations: 6.938 kB / 0.4933 GB, free: 29.68 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001541/0.4125, allocations: 162 kB / 0.4935 GB, free: 29.58 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4125, allocations: 0 / 0.4935 GB, free: 29.58 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004847/0.413, allocations: 38.22 kB / 0.4935 GB, free: 29.58 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (ind.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 (9): * Single equations (assignments): 8 * 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 9.507e-05/0.4131, allocations: 105.8 kB / 0.4936 GB, free: 29.48 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002282/0.4133, allocations: 86.94 kB / 0.4937 GB, free: 29.45 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.4133, allocations: 0 / 0.4937 GB, free: 29.45 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.989e-05/0.4134, allocations: 23.91 kB / 0.4937 GB, free: 29.45 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006638/0.414, allocations: 61.84 kB / 0.4938 GB, free: 29.42 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/0.4151, allocations: 0.5027 MB / 0.4943 GB, free: 29.08 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00017/0.4153, allocations: 148.5 kB / 0.4944 GB, free: 29 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001204/0.4154, allocations: 33.78 kB / 0.4944 GB, free: 28.98 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.261e-05/0.4154, allocations: 17.69 kB / 0.4945 GB, free: 28.97 MB / 446.1 MB Notification: Performance of SimCode: time 5e-07/0.4154, allocations: 0 / 0.4945 GB, free: 28.97 MB / 446.1 MB Notification: Performance of Templates: time 0.006735/0.4222, allocations: 1.781 MB / 0.4962 GB, free: 28.72 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Source.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.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.125069048022851]