Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.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.001469/0.001469, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001652/0.001652, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.394/1.394, allocations: 230.6 MB / 258.3 MB, free: 7.965 MB / 206.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.1702/0.1702, allocations: 38.52 MB / 353.2 MB, free: 12.51 MB / 286.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.Network.NetworkLoop_d,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|impedance3.i.1.|impedance3.p.1.|impedance3.v.1.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_d,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|impedance3.i.1.|impedance3.p.1.|impedance3.v.1.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d") [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.002056/0.002056, allocations: 64.14 kB / 493.8 MB, free: 4.324 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2744/0.2765, allocations: 62.47 MB / 0.5432 GB, free: 0.582 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.009392/0.2858, allocations: 7.749 MB / 0.5508 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005871/0.2917, allocations: 4.249 MB / 0.555 GB, free: 7.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004003/0.2921, allocations: 17.03 kB / 0.555 GB, free: 7.066 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002554/0.2947, allocations: 1.075 MB / 0.556 GB, free: 6.242 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002441/0.2971, allocations: 1.115 MB / 0.5571 GB, free: 5.371 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008129/0.2979, allocations: 304.9 kB / 0.5574 GB, free: 5.141 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001779/0.2997, allocations: 1.369 MB / 0.5587 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000708/0.3004, allocations: 401.7 kB / 0.5591 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001069/0.3015, allocations: 0.5757 MB / 0.5597 GB, free: 3.551 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009592/0.3024, allocations: 0.6422 MB / 0.5603 GB, free: 2.906 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.235e-05/0.3025, allocations: 36 kB / 0.5603 GB, free: 2.871 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001791/0.3043, allocations: 1.025 MB / 0.5613 GB, free: 1.844 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003229/0.3046, allocations: 291.1 kB / 0.5616 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003087/0.3049, allocations: 242.9 kB / 0.5619 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001313/0.3062, allocations: 0.8213 MB / 0.5627 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.3062, allocations: 0 / 0.5627 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3062, allocations: 0 / 0.5627 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.3063, allocations: 0 / 0.5627 GB, free: 0.4961 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001166/0.3074, allocations: 0.7507 MB / 0.5634 GB, free: 15.71 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.3075, allocations: 11.98 kB / 0.5634 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00145/0.3089, allocations: 136.5 kB / 0.5635 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006174/0.3095, allocations: 272.8 kB / 0.5638 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.694e-05/0.3096, allocations: 29.36 kB / 0.5638 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.755e-05/0.3096, allocations: 44.36 kB / 0.5639 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000832/0.3105, allocations: 0.5894 MB / 0.5644 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.3105, allocations: 3.938 kB / 0.5644 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.494e-05/0.3105, allocations: 19.98 kB / 0.5645 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.326e-05/0.3106, allocations: 36.62 kB / 0.5645 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005699/0.3111, allocations: 386.1 kB / 0.5649 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002706/0.3139, allocations: 2.544 MB / 0.5673 GB, free: 11.45 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006714/0.3145, allocations: 410.7 kB / 0.5677 GB, free: 11.02 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002696/0.3148, allocations: 190.6 kB / 0.5679 GB, free: 10.82 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.907e-05/0.3148, allocations: 8 kB / 0.5679 GB, free: 10.82 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/0.3148, allocations: 34.56 kB / 0.568 GB, free: 10.77 MB / 414.1 MB Notification: Performance of pre-optimization done (n=33): time 2.254e-06/0.3148, allocations: 0 / 0.568 GB, free: 10.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=33): time 0.001703/0.3165, allocations: 0.6896 MB / 0.5686 GB, free: 10.07 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.579e-05/0.3166, allocations: 114.7 kB / 0.5687 GB, free: 9.938 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003543/0.317, allocations: 316.8 kB / 0.569 GB, free: 9.621 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.849e-05/0.317, allocations: 33.7 kB / 0.5691 GB, free: 9.582 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000198/0.3172, allocations: 256.3 kB / 0.5693 GB, free: 9.328 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/0.3173, allocations: 122.9 kB / 0.5694 GB, free: 9.207 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001295/0.3175, allocations: 82.09 kB / 0.5695 GB, free: 9.121 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.3176, allocations: 342.8 kB / 0.5698 GB, free: 8.777 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002124/0.3178, allocations: 132.7 kB / 0.57 GB, free: 8.648 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003349/0.3182, allocations: 279.5 kB / 0.5702 GB, free: 8.305 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000593/0.3188, allocations: 456.1 kB / 0.5707 GB, free: 7.793 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/0.3188, allocations: 4 kB / 0.5707 GB, free: 7.789 MB / 414.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009092/0.3197, allocations: 0.5585 MB / 0.5712 GB, free: 7.223 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.3197, allocations: 12.03 kB / 0.5712 GB, free: 7.211 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.3197, allocations: 8 kB / 0.5712 GB, free: 7.203 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003447/0.3201, allocations: 120.8 kB / 0.5714 GB, free: 7.082 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002433/0.3203, allocations: 75.84 kB / 0.5714 GB, free: 7.008 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002801/0.3231, allocations: 2.452 MB / 0.5738 GB, free: 4.426 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002715/0.3234, allocations: 47.62 kB / 0.5739 GB, free: 4.379 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-05/0.3234, allocations: 20 kB / 0.5739 GB, free: 4.359 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (41): * 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: 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,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002493/0.3237, allocations: 200.6 kB / 0.5741 GB, free: 4.156 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.339e-05/0.3237, allocations: 39.77 kB / 0.5741 GB, free: 4.117 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001008/0.3238, allocations: 52.02 kB / 0.5742 GB, free: 4.066 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.276e-06/0.3239, allocations: 7.984 kB / 0.5742 GB, free: 4.059 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.3239, allocations: 4 kB / 0.5742 GB, free: 4.055 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.3239, allocations: 3.938 kB / 0.5742 GB, free: 4.051 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001365/0.3252, allocations: 0.91 MB / 0.5751 GB, free: 3.082 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.3252, allocations: 0 / 0.5751 GB, free: 3.082 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00014/0.3254, allocations: 35.98 kB / 0.5751 GB, free: 3.047 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002452/0.3256, allocations: 108.9 kB / 0.5752 GB, free: 2.938 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.799e-05/0.3256, allocations: 4 kB / 0.5752 GB, free: 2.934 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002739/0.3284, allocations: 2.46 MB / 0.5776 GB, free: 356 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.3284, allocations: 3.984 kB / 0.5776 GB, free: 352 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008085/0.3292, allocations: 0.6265 MB / 0.5782 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.542e-05/0.3293, allocations: 35.7 kB / 0.5783 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.835e-05/0.3293, allocations: 15.94 kB / 0.5783 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001814/0.3295, allocations: 11.98 kB / 0.5783 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.14e-05/0.3296, allocations: 27.95 kB / 0.5783 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.927e-05/0.3296, allocations: 8 kB / 0.5783 GB, free: 15.59 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002386/0.3298, allocations: 219.1 kB / 0.5785 GB, free: 15.38 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3298, allocations: 0 / 0.5785 GB, free: 15.38 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006367/0.3305, allocations: 159.8 kB / 0.5787 GB, free: 15.22 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (20): * Single equations (assignments): 18 * 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,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001344/0.3306, allocations: 112.2 kB / 0.5788 GB, free: 15.1 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008984/0.3315, allocations: 0.5019 MB / 0.5793 GB, free: 14.59 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3315, allocations: 0 / 0.5793 GB, free: 14.59 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000468/0.332, allocations: 331.7 kB / 0.5796 GB, free: 14.25 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005292/0.3325, allocations: 61.81 kB / 0.5797 GB, free: 14.19 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001453/0.3339, allocations: 0.8934 MB / 0.5805 GB, free: 13.25 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005794/0.3345, allocations: 0.8746 MB / 0.5814 GB, free: 12.35 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.73e-05/0.3346, allocations: 23.44 kB / 0.5814 GB, free: 12.33 MB / 430.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3346, allocations: 0 / 0.5814 GB, free: 12.33 MB / 430.1 MB Notification: Performance of Templates: time 0.009581/0.3442, allocations: 6.174 MB / 0.5874 GB, free: 6.145 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop_d.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.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: 7.503760682884604]