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.0008571/0.0008571, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0008649/0.0008649, allocations: 170 kB / 23.95 MB, free: 0.6055 MB / 18.57 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 0.9059/0.9059, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.2606/0.2606, allocations: 29.41 MB / 290.1 MB, free: 2.441 MB / 266.7 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.Test.InductiveLoadTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_InductiveLoadTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.InductiveLoadTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_InductiveLoadTest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.032e-06/1.032e-06, allocations: 0 / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.482e-05/1.585e-05, allocations: 10.22 kB / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.003701/0.003717, allocations: 3.855 MB / 434.1 MB, free: 9.711 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001829/0.005547, allocations: 1.733 MB / 435.8 MB, free: 7.969 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001869/0.005733, allocations: 7.938 kB / 435.8 MB, free: 7.961 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007042/0.006438, allocations: 358.5 kB / 436.2 MB, free: 7.609 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009425/0.00738, allocations: 413.9 kB / 436.6 MB, free: 7.203 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000361/0.007741, allocations: 147.5 kB / 436.7 MB, free: 7.059 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005875/0.008329, allocations: 498.4 kB / 437.2 MB, free: 6.57 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003478/0.008676, allocations: 167.4 kB / 437.4 MB, free: 6.406 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004867/0.009163, allocations: 303 kB / 437.6 MB, free: 6.109 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003654/0.009529, allocations: 223.3 kB / 437.9 MB, free: 5.891 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.182e-05/0.00956, allocations: 20 kB / 437.9 MB, free: 5.871 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006897/0.01025, allocations: 390.7 kB / 438.3 MB, free: 5.488 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00014/0.01039, allocations: 167.5 kB / 438.4 MB, free: 5.324 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.492e-05/0.01048, allocations: 107.8 kB / 438.5 MB, free: 5.219 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005104/0.011, allocations: 0.5142 MB / 439.1 MB, free: 4.703 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.011, allocations: 0 / 439.1 MB, free: 4.703 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.92e-07/0.011, allocations: 4 kB / 439.1 MB, free: 4.699 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.011, allocations: 0 / 439.1 MB, free: 4.699 MB / 410.7 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.0005598/0.01156, allocations: 0.5205 MB / 439.6 MB, free: 4.148 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.0116, allocations: 15.98 kB / 439.6 MB, free: 4.133 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.952e-05/0.01165, allocations: 66.7 kB / 439.7 MB, free: 4.059 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006026/0.01225, allocations: 144.5 kB / 439.8 MB, free: 3.918 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005453/0.0128, allocations: 245.2 kB / 440 MB, free: 3.652 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.01281, allocations: 13.03 kB / 440.1 MB, free: 3.637 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.598e-05/0.01285, allocations: 24.38 kB / 440.1 MB, free: 3.613 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004431/0.01329, allocations: 444.6 kB / 440.5 MB, free: 3.152 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.0133, allocations: 4.188 kB / 440.5 MB, free: 3.148 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.088e-05/0.01332, allocations: 12.12 kB / 440.5 MB, free: 3.137 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.627e-05/0.01335, allocations: 24.64 kB / 440.5 MB, free: 3.113 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004099/0.01376, allocations: 422.3 kB / 441 MB, free: 2.703 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001339/0.0151, allocations: 1.489 MB / 442.4 MB, free: 1.121 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002442/0.01534, allocations: 193 kB / 442.6 MB, free: 0.9141 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/0.01546, allocations: 117.7 kB / 442.8 MB, free: 0.793 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.01548, allocations: 4 kB / 442.8 MB, free: 0.7891 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.01551, allocations: 42.55 kB / 442.8 MB, free: 0.7383 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 1.192e-06/0.01551, allocations: 0 / 442.8 MB, free: 0.7383 MB / 410.7 MB Notification: Performance of matching and sorting (n=23): time 0.001086/0.01659, allocations: 0.7149 MB / 443.5 MB, free: 16 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1835/0.2001, allocations: 80.77 kB / 443.6 MB, free: 54.56 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001919/0.2003, allocations: 210.6 kB / 443.8 MB, free: 54.46 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.154e-05/0.2003, allocations: 28.39 kB / 443.8 MB, free: 54.43 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.725e-05/0.2004, allocations: 190.4 kB / 444 MB, free: 54.34 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.279e-05/0.2005, allocations: 81.31 kB / 444.1 MB, free: 54.32 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.271e-05/0.2005, allocations: 56.44 kB / 444.1 MB, free: 54.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.851e-05/0.2006, allocations: 332.5 kB / 444.5 MB, free: 53.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001078/0.2007, allocations: 108 kB / 444.6 MB, free: 53.98 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001215/0.2008, allocations: 205.7 kB / 444.8 MB, free: 53.87 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002462/0.201, allocations: 347.8 kB / 445.1 MB, free: 53.75 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.201, allocations: 0 / 445.1 MB, free: 53.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004355/0.2015, allocations: 436.7 kB / 445.5 MB, free: 53.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.2015, allocations: 6.406 kB / 445.5 MB, free: 53.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.2015, allocations: 3.219 kB / 445.6 MB, free: 53.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002402/0.2017, allocations: 81.67 kB / 445.6 MB, free: 53.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.2019, allocations: 61.12 kB / 445.7 MB, free: 53.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001041/0.2029, allocations: 1.88 MB / 447.6 MB, free: 51.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/0.203, allocations: 15.22 kB / 447.6 MB, free: 51.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.828e-05/0.203, allocations: 16.83 kB / 447.6 MB, free: 51.98 MB / 410.7 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.0001061/0.2032, allocations: 177.1 kB / 447.8 MB, free: 51.84 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.66e-05/0.2032, allocations: 21.67 kB / 447.8 MB, free: 51.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003816/0.2036, allocations: 376.7 kB / 448.2 MB, free: 51.67 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.2036, allocations: 3.281 kB / 448.2 MB, free: 51.67 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.2036, allocations: 0 / 448.2 MB, free: 51.67 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.2036, allocations: 10.86 kB / 448.2 MB, free: 51.67 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007029/0.2043, allocations: 0.8071 MB / 449 MB, free: 51.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.2043, allocations: 0 / 449 MB, free: 51.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.905e-05/0.2043, allocations: 46.25 kB / 449 MB, free: 51.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001257/0.2045, allocations: 72.58 kB / 449.1 MB, free: 51.18 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.2045, allocations: 7.25 kB / 449.1 MB, free: 51.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007506/0.2052, allocations: 1.792 MB / 450.9 MB, free: 49.62 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2052, allocations: 2.438 kB / 450.9 MB, free: 49.62 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003118/0.2055, allocations: 461.2 kB / 451.4 MB, free: 49.36 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.923e-05/0.2056, allocations: 27.44 kB / 451.4 MB, free: 49.34 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.2056, allocations: 3.938 kB / 451.4 MB, free: 49.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.115e-05/0.2057, allocations: 13.8 kB / 451.4 MB, free: 49.33 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.767e-05/0.2057, allocations: 17.88 kB / 451.4 MB, free: 49.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.2057, allocations: 10.11 kB / 451.4 MB, free: 49.33 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.003e-05/0.2058, allocations: 155.3 kB / 451.6 MB, free: 49.23 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2058, allocations: 0 / 451.6 MB, free: 49.23 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002928/0.206, allocations: 82.72 kB / 451.7 MB, free: 49.22 MB / 410.7 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 0.0004216/0.2065, allocations: 0.9937 MB / 452.7 MB, free: 48.41 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003961/0.2069, allocations: 411.3 kB / 453.1 MB, free: 48.21 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2069, allocations: 3.203 kB / 453.1 MB, free: 48.21 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001852/0.2071, allocations: 269.2 kB / 453.3 MB, free: 48.06 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002645/0.2073, allocations: 48.12 kB / 453.4 MB, free: 48.04 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001937/0.2093, allocations: 3.005 MB / 456.4 MB, free: 46.02 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000103/0.2094, allocations: 200.2 kB / 456.6 MB, free: 45.92 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.589e-05/0.2094, allocations: 44.44 kB / 456.6 MB, free: 45.92 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.48e-05/0.2095, allocations: 95.39 kB / 456.7 MB, free: 45.86 MB / 410.7 MB Notification: Performance of SimCode: time 8.82e-07/0.2095, allocations: 0 / 456.7 MB, free: 45.86 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01679/0.2263, allocations: 6.539 MB / 463.2 MB, free: 44.61 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.818/7.045, allocations: 6.469 kB / 463.2 MB, free: 44.61 MB / 410.7 MB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Generic_Test_InductiveLoadTest_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Test_InductiveLoadTest.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.InductiveLoadTest.mat","/var/lib/jenkins/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: 9.031963223591447]