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.001599/0.001599, allocations: 115.6 kB / 20.43 MB, free: 1.309 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.003131/0.003131, allocations: 212.9 kB / 23.74 MB, free: 4.535 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.5/1.5, allocations: 230.6 MB / 257.5 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.2055/0.2055, allocations: 38.53 MB / 352.5 MB, free: 12.5 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: "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_d,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_d",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_d,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_d",fmuType="me",version="2.0",platforms={"static"}) [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.003252/0.003252, allocations: 67.89 kB / 492.6 MB, free: 4.832 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3452/0.3484, allocations: 62.47 MB / 0.542 GB, free: 416 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.01013/0.3586, allocations: 7.74 MB / 0.5496 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006645/0.3652, allocations: 4.25 MB / 0.5537 GB, free: 6.898 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000579/0.3658, allocations: 20.34 kB / 0.5537 GB, free: 6.891 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00292/0.3687, allocations: 1.067 MB / 0.5548 GB, free: 6.07 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002815/0.3715, allocations: 1.115 MB / 0.5559 GB, free: 5.199 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009169/0.3724, allocations: 308.5 kB / 0.5562 GB, free: 4.965 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002063/0.3745, allocations: 1.365 MB / 0.5575 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008366/0.3753, allocations: 406.9 kB / 0.5579 GB, free: 3.961 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001319/0.3767, allocations: 0.577 MB / 0.5585 GB, free: 3.574 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001219/0.3779, allocations: 0.65 MB / 0.5591 GB, free: 2.922 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.362e-05/0.378, allocations: 36 kB / 0.5591 GB, free: 2.887 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00191/0.3799, allocations: 1.025 MB / 0.5601 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003649/0.3802, allocations: 283.1 kB / 0.5604 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003337/0.3806, allocations: 250.8 kB / 0.5606 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001482/0.3821, allocations: 0.8058 MB / 0.5614 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3821, allocations: 0 / 0.5614 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.3821, allocations: 4 kB / 0.5614 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.3821, allocations: 0 / 0.5614 GB, free: 0.5234 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.00178/0.3839, allocations: 0.7492 MB / 0.5622 GB, free: 15.75 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.531e-05/0.3839, allocations: 15.98 kB / 0.5622 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001652/0.3841, allocations: 78.7 kB / 0.5622 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002873/0.3869, allocations: 140.5 kB / 0.5624 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008648/0.3878, allocations: 272.8 kB / 0.5626 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.609e-05/0.3879, allocations: 29.36 kB / 0.5627 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.687e-05/0.3879, allocations: 44.36 kB / 0.5627 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001315/0.3893, allocations: 0.5828 MB / 0.5633 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.589e-05/0.3893, allocations: 7.938 kB / 0.5633 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.164e-05/0.3893, allocations: 19.98 kB / 0.5633 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.58e-05/0.3894, allocations: 36.62 kB / 0.5633 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009761/0.3904, allocations: 390.1 kB / 0.5637 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004203/0.3946, allocations: 2.544 MB / 0.5662 GB, free: 11.38 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001106/0.3957, allocations: 407.8 kB / 0.5666 GB, free: 10.95 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004931/0.3962, allocations: 194.6 kB / 0.5668 GB, free: 10.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.91e-05/0.3962, allocations: 8 kB / 0.5668 GB, free: 10.75 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.392e-05/0.3963, allocations: 42.5 kB / 0.5668 GB, free: 10.7 MB / 414.1 MB Notification: Performance of pre-optimization done (n=33): time 3.136e-06/0.3963, allocations: 0 / 0.5668 GB, free: 10.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=33): time 0.002817/0.3991, allocations: 0.6779 MB / 0.5675 GB, free: 10.01 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/0.3992, allocations: 110.8 kB / 0.5676 GB, free: 9.875 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005798/0.3998, allocations: 320.8 kB / 0.5679 GB, free: 9.555 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.947e-05/0.3998, allocations: 33.7 kB / 0.5679 GB, free: 9.516 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002615/0.4001, allocations: 252.4 kB / 0.5682 GB, free: 9.266 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001758/0.4003, allocations: 126.9 kB / 0.5683 GB, free: 9.141 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001923/0.4005, allocations: 86.08 kB / 0.5684 GB, free: 9.051 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002217/0.4007, allocations: 346.8 kB / 0.5687 GB, free: 8.703 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000334/0.401, allocations: 124.8 kB / 0.5688 GB, free: 8.582 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005227/0.4016, allocations: 283.4 kB / 0.5691 GB, free: 8.234 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00096/0.4025, allocations: 456.1 kB / 0.5695 GB, free: 7.723 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.4025, allocations: 0 / 0.5695 GB, free: 7.723 MB / 414.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00149/0.404, allocations: 0.5624 MB / 0.5701 GB, free: 7.152 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.404, allocations: 6.969 kB / 0.5701 GB, free: 7.148 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.404, allocations: 8 kB / 0.5701 GB, free: 7.141 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004877/0.4045, allocations: 124.2 kB / 0.5702 GB, free: 7.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004027/0.4049, allocations: 79.84 kB / 0.5703 GB, free: 6.941 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004496/0.4094, allocations: 2.44 MB / 0.5727 GB, free: 4.371 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004305/0.4099, allocations: 51.62 kB / 0.5727 GB, free: 4.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.173e-05/0.4099, allocations: 19.98 kB / 0.5727 GB, free: 4.301 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.0004028/0.4103, allocations: 198.7 kB / 0.5729 GB, free: 4.098 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001495/0.4105, allocations: 35.77 kB / 0.573 GB, free: 4.062 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001579/0.4106, allocations: 56.02 kB / 0.573 GB, free: 4.008 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.836e-06/0.4106, allocations: 4 kB / 0.573 GB, free: 4.004 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.27e-05/0.4106, allocations: 3.938 kB / 0.573 GB, free: 4 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.936e-06/0.4107, allocations: 4 kB / 0.573 GB, free: 3.996 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002142/0.4128, allocations: 0.9138 MB / 0.5739 GB, free: 3.023 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.4128, allocations: 0 / 0.5739 GB, free: 3.023 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000216/0.413, allocations: 43.97 kB / 0.574 GB, free: 2.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003885/0.4134, allocations: 108.9 kB / 0.5741 GB, free: 2.871 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.842e-05/0.4134, allocations: 4 kB / 0.5741 GB, free: 2.867 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003286/0.4167, allocations: 2.452 MB / 0.5765 GB, free: 296 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.4167, allocations: 0 / 0.5765 GB, free: 296 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000865/0.4176, allocations: 0.6268 MB / 0.5771 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.185e-05/0.4177, allocations: 47.81 kB / 0.5771 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.972e-05/0.4177, allocations: 11.94 kB / 0.5771 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001831/0.4179, allocations: 11.94 kB / 0.5771 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.273e-05/0.418, allocations: 27.95 kB / 0.5772 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-05/0.418, allocations: 12 kB / 0.5772 GB, free: 15.52 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000241/0.4182, allocations: 219 kB / 0.5774 GB, free: 15.3 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4182, allocations: 0 / 0.5774 GB, free: 15.3 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006872/0.4189, allocations: 159.8 kB / 0.5775 GB, free: 15.15 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.001188/0.4201, allocations: 1.152 MB / 0.5787 GB, free: 13.96 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009305/0.421, allocations: 0.5152 MB / 0.5792 GB, free: 13.43 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.346e-05/0.421, allocations: 4 kB / 0.5792 GB, free: 13.43 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004804/0.4215, allocations: 326.6 kB / 0.5795 GB, free: 13.09 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005323/0.4221, allocations: 61.78 kB / 0.5795 GB, free: 13.04 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005382/0.4274, allocations: 3.994 MB / 0.5834 GB, free: 8.809 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006239/0.4281, allocations: 0.8863 MB / 0.5843 GB, free: 7.895 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001882/0.4283, allocations: 70.89 kB / 0.5844 GB, free: 7.828 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001669/0.4284, allocations: 111.4 kB / 0.5845 GB, free: 7.719 MB / 430.1 MB Notification: Performance of SimCode: time 1.062e-06/0.4284, allocations: 0 / 0.5845 GB, free: 7.719 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04072/0.4691, allocations: 8.079 MB / 0.5924 GB, free: 15.76 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.09, allocations: 7.922 kB / 0.5924 GB, free: 15.75 MB / 446.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_d_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_d.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe 2>&1) [Timeout 52.5] 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: 15.030486843083054]