Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.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.001332/0.001332, allocations: 73.88 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.001416/0.001416, allocations: 160.1 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.538/1.538, 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.1801/0.1801, allocations: 29.43 MB / 290.7 MB, free: 3.273 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.Generic.Test.InductiveLoadTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|load.i.1.|load.i.2.|load.p.1.|load.p.2.|load.v.1.|load.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest") translateModel(PowerSystems.Examples.Generic.Test.InductiveLoadTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|load.i.1.|load.i.2.|load.p.1.|load.p.2.|load.v.1.|load.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest") [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.00245/0.00245, allocations: 67.84 kB / 431.2 MB, free: 3.227 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3848/0.3872, allocations: 62.44 MB / 493.6 MB, free: 37.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.005007/0.3922, allocations: 3.89 MB / 497.5 MB, free: 35.13 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002427/0.3947, allocations: 1.735 MB / 499.3 MB, free: 33.99 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001547/0.3948, allocations: 10.34 kB / 499.3 MB, free: 33.98 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001053/0.3959, allocations: 360.7 kB / 499.6 MB, free: 33.78 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007404/0.3966, allocations: 412.3 kB / 0.4883 GB, free: 33.57 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003041/0.3969, allocations: 133.3 kB / 0.4884 GB, free: 33.5 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004565/0.3974, allocations: 494.5 kB / 0.4889 GB, free: 33.3 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003367/0.3977, allocations: 171.7 kB / 0.4891 GB, free: 33.22 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002999/0.398, allocations: 226.5 kB / 0.4893 GB, free: 33.12 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003271/0.3983, allocations: 242.4 kB / 0.4895 GB, free: 33.04 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.664e-05/0.3984, allocations: 18.69 kB / 0.4895 GB, free: 33.04 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006637/0.399, allocations: 374.1 kB / 0.4899 GB, free: 32.91 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001521/0.3992, allocations: 157.6 kB / 0.49 GB, free: 32.86 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001357/0.3993, allocations: 130.2 kB / 0.4902 GB, free: 32.79 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005648/0.3999, allocations: 0.4974 MB / 0.4906 GB, free: 32.61 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.3999, allocations: 0 / 0.4906 GB, free: 32.61 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3999, allocations: 0 / 0.4906 GB, free: 32.61 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.145e-06/0.3999, allocations: 0 / 0.4906 GB, free: 32.61 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.0007993/0.4007, allocations: 0.5287 MB / 0.4912 GB, free: 32.19 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.4007, allocations: 13.55 kB / 0.4912 GB, free: 32.19 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00113/0.4019, allocations: 135.2 kB / 0.4913 GB, free: 32.16 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003765/0.4022, allocations: 237.5 kB / 0.4915 GB, free: 31.98 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.4023, allocations: 18 kB / 0.4915 GB, free: 31.97 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.687e-05/0.4023, allocations: 28.69 kB / 0.4916 GB, free: 31.96 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006032/0.4029, allocations: 450.7 kB / 0.492 GB, free: 31.74 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/0.4029, allocations: 0 / 0.492 GB, free: 31.74 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.436e-05/0.403, allocations: 11.19 kB / 0.492 GB, free: 31.73 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.818e-05/0.403, allocations: 22.47 kB / 0.492 GB, free: 31.73 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005432/0.4036, allocations: 427.6 kB / 0.4924 GB, free: 31.6 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001755/0.4053, allocations: 1.435 MB / 0.4938 GB, free: 30.59 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003136/0.4056, allocations: 195.1 kB / 0.494 GB, free: 30.49 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001534/0.4058, allocations: 125.5 kB / 0.4941 GB, free: 30.43 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.839e-05/0.4058, allocations: 3.031 kB / 0.4942 GB, free: 30.43 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.4058, allocations: 37.14 kB / 0.4942 GB, free: 30.39 MB / 446.1 MB Notification: Performance of pre-optimization done (n=22): time 1.673e-06/0.4058, allocations: 3.938 kB / 0.4942 GB, free: 30.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=23): time 0.001606/0.4074, allocations: 0.7112 MB / 0.4949 GB, free: 30.09 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/0.4075, allocations: 83.59 kB / 0.495 GB, free: 30 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001648/0.4077, allocations: 207.8 kB / 0.4952 GB, free: 29.86 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.4077, allocations: 36.55 kB / 0.4952 GB, free: 29.82 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.4078, allocations: 186.9 kB / 0.4954 GB, free: 29.66 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.594e-05/0.4078, allocations: 83 kB / 0.4955 GB, free: 29.6 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.074e-05/0.4079, allocations: 65.17 kB / 0.4955 GB, free: 29.55 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.845e-05/0.408, allocations: 328.6 kB / 0.4958 GB, free: 29.23 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001476/0.4082, allocations: 106.5 kB / 0.4959 GB, free: 29.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002198/0.4084, allocations: 210 kB / 0.4961 GB, free: 29.04 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004222/0.4088, allocations: 343.1 kB / 0.4965 GB, free: 28.82 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.4088, allocations: 2.938 kB / 0.4965 GB, free: 28.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006929/0.4095, allocations: 426.7 kB / 0.4969 GB, free: 28.64 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/0.4095, allocations: 8.906 kB / 0.4969 GB, free: 28.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.4095, allocations: 3.031 kB / 0.4969 GB, free: 28.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003639/0.4099, allocations: 93.28 kB / 0.497 GB, free: 28.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001982/0.4101, allocations: 57.52 kB / 0.497 GB, free: 28.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001508/0.4116, allocations: 1.861 MB / 0.4988 GB, free: 27.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001518/0.4118, allocations: 17.98 kB / 0.4989 GB, free: 27.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.364e-05/0.4118, allocations: 13.03 kB / 0.4989 GB, free: 27.04 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (29): * Single equations (assignments): 28 * 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): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001511/0.4119, allocations: 172.8 kB / 0.499 GB, free: 26.9 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.99e-05/0.412, allocations: 27.89 kB / 0.4991 GB, free: 26.88 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006105/0.4126, allocations: 373.5 kB / 0.4994 GB, free: 26.72 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.4126, allocations: 3.219 kB / 0.4994 GB, free: 26.72 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.4126, allocations: 10.94 kB / 0.4994 GB, free: 26.71 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.4126, allocations: 0 / 0.4994 GB, free: 26.71 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001125/0.4137, allocations: 0.7584 MB / 0.5002 GB, free: 26.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/0.4137, allocations: 3 kB / 0.5002 GB, free: 26.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000135/0.4139, allocations: 35.16 kB / 0.5002 GB, free: 26.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002309/0.4141, allocations: 73.67 kB / 0.5003 GB, free: 26.25 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.4141, allocations: 4 kB / 0.5003 GB, free: 26.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001327/0.4154, allocations: 1.774 MB / 0.502 GB, free: 24.72 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.4154, allocations: 7.406 kB / 0.502 GB, free: 24.72 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005397/0.416, allocations: 463.4 kB / 0.5025 GB, free: 24.45 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.208e-05/0.416, allocations: 22.2 kB / 0.5025 GB, free: 24.43 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.485e-05/0.416, allocations: 3.25 kB / 0.5025 GB, free: 24.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.4162, allocations: 10.69 kB / 0.5025 GB, free: 24.43 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.541e-05/0.4162, allocations: 31.73 kB / 0.5025 GB, free: 24.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.699e-05/0.4162, allocations: 6.5 kB / 0.5025 GB, free: 24.41 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.417e-05/0.4163, allocations: 147.2 kB / 0.5027 GB, free: 24.32 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4163, allocations: 0 / 0.5027 GB, free: 24.32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004627/0.4168, allocations: 81.25 kB / 0.5028 GB, free: 24.31 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (22): * Single equations (assignments): 20 * 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 {(2,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.192e-05/0.4169, allocations: 104.8 kB / 0.5029 GB, free: 24.22 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006051/0.4175, allocations: 418.9 kB / 0.5033 GB, free: 24.01 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.4175, allocations: 0 / 0.5033 GB, free: 24.01 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003536/0.4178, allocations: 273.8 kB / 0.5035 GB, free: 23.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003723/0.4182, allocations: 46.45 kB / 0.5036 GB, free: 23.82 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008795/0.4191, allocations: 0.6249 MB / 0.5042 GB, free: 23.47 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001463/0.4192, allocations: 197.9 kB / 0.5044 GB, free: 23.38 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001109/0.4193, allocations: 51.27 kB / 0.5044 GB, free: 23.37 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.213e-05/0.4194, allocations: 27.14 kB / 0.5044 GB, free: 23.36 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4194, allocations: 0 / 0.5044 GB, free: 23.36 MB / 446.1 MB Notification: Performance of Templates: time 0.006229/0.4256, allocations: 2.985 MB / 0.5073 GB, free: 23.01 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.InductiveLoadTest.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.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.1931008929386735]