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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Test.InductiveLoadTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001382/0.001383, allocations: 112.5 kB / 17.68 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00128/0.001281, allocations: 190.9 kB / 18.62 MB, free: 4.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.679/1.679, allocations: 222.9 MB / 242.3 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2188/0.2188, allocations: 38.04 MB / 330.5 MB, free: 8.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001419, allocations: 63.19 kB / 400.3 MB, free: 33.33 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.1854, allocations: 58.06 MB / 458.3 MB, free: 7.305 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.00783/0.1933, allocations: 3.959 MB / 462.3 MB, free: 3.324 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003232/0.1966, allocations: 1.823 MB / 464.1 MB, free: 1.492 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002387/0.1969, allocations: 4 kB / 464.1 MB, free: 1.488 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001412/0.1984, allocations: 366.6 kB / 464.5 MB, free: 1.129 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00121/0.1996, allocations: 406.5 kB / 464.9 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000532/0.2001, allocations: 135.6 kB / 465 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007031/0.2008, allocations: 0.4908 MB / 465.5 MB, free: 108 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005462/0.2014, allocations: 199.1 kB / 465.7 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000385/0.2018, allocations: 215.1 kB / 465.9 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004015/0.2022, allocations: 235.2 kB / 466.1 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.14e-05/0.2023, allocations: 20 kB / 466.1 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009893/0.2033, allocations: 446.9 kB / 466.6 MB, free: 15.01 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001965/0.2035, allocations: 155.6 kB / 466.7 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002121/0.2037, allocations: 155.3 kB / 466.9 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007731/0.2045, allocations: 498.6 kB / 467.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.999e-06/0.2045, allocations: 4 kB / 467.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.657e-06/0.2045, allocations: 3.938 kB / 467.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.528e-06/0.2045, allocations: 0 / 467.4 MB, free: 14.21 MB / 350.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.001092/0.2056, allocations: 0.5965 MB / 468 MB, free: 13.56 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.693e-05/0.2057, allocations: 8.031 kB / 468 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001487/0.2072, allocations: 132.4 kB / 468.1 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000689/0.2079, allocations: 295.7 kB / 468.4 MB, free: 13.1 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.064e-05/0.2079, allocations: 20.94 kB / 468.4 MB, free: 13.08 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.723e-05/0.208, allocations: 28.36 kB / 468.4 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008067/0.2088, allocations: 443.9 kB / 468.9 MB, free: 12.6 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.448e-05/0.2089, allocations: 4 kB / 468.9 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.164e-05/0.2089, allocations: 8 kB / 468.9 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.475e-05/0.209, allocations: 28.48 kB / 468.9 MB, free: 12.56 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007205/0.2097, allocations: 429.9 kB / 469.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00284/0.2126, allocations: 1.706 MB / 471 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004942/0.2131, allocations: 286.1 kB / 471.3 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002437/0.2133, allocations: 133.7 kB / 471.4 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.92e-05/0.2134, allocations: 8 kB / 471.5 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.803e-05/0.2134, allocations: 38.55 kB / 471.5 MB, free: 9.793 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 2.545e-06/0.2134, allocations: 0 / 471.5 MB, free: 9.793 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.002148/0.2156, allocations: 0.7956 MB / 472.3 MB, free: 8.973 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/0.2157, allocations: 81.11 kB / 472.4 MB, free: 8.875 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002775/0.216, allocations: 207.1 kB / 472.6 MB, free: 8.664 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.54e-05/0.2161, allocations: 29.7 kB / 472.6 MB, free: 8.629 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000183/0.2162, allocations: 187.9 kB / 472.8 MB, free: 8.441 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.362e-05/0.2163, allocations: 78.84 kB / 472.9 MB, free: 8.363 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001255/0.2165, allocations: 57.89 kB / 472.9 MB, free: 8.297 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002323/0.2167, allocations: 334.8 kB / 473.2 MB, free: 7.961 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001997/0.2169, allocations: 100.5 kB / 473.3 MB, free: 7.863 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003216/0.2172, allocations: 213 kB / 473.6 MB, free: 7.613 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005152/0.2178, allocations: 343.7 kB / 473.9 MB, free: 7.234 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.2178, allocations: 0 / 473.9 MB, free: 7.234 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0008334/0.2186, allocations: 428.7 kB / 474.3 MB, free: 6.809 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.89e-05/0.2187, allocations: 7.984 kB / 474.3 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/0.2187, allocations: 8.062 kB / 474.3 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004816/0.2192, allocations: 92.72 kB / 474.4 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002362/0.2194, allocations: 51.91 kB / 474.5 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002763/0.2222, allocations: 2.006 MB / 476.5 MB, free: 4.508 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001807/0.2224, allocations: 15.98 kB / 476.5 MB, free: 4.492 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.375e-05/0.2224, allocations: 12 kB / 476.5 MB, free: 4.48 MB / 350.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.0002705/0.2227, allocations: 169.8 kB / 476.7 MB, free: 4.305 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.425e-05/0.2228, allocations: 31.59 kB / 476.7 MB, free: 4.273 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008536/0.2236, allocations: 388.9 kB / 477.1 MB, free: 3.883 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.906e-06/0.2237, allocations: 4 kB / 477.1 MB, free: 3.879 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.2237, allocations: 0 / 477.1 MB, free: 3.879 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.2237, allocations: 0 / 477.1 MB, free: 3.879 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001778/0.2255, allocations: 0.918 MB / 478 MB, free: 2.883 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.221e-06/0.2255, allocations: 4 kB / 478 MB, free: 2.879 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001564/0.2256, allocations: 43.92 kB / 478 MB, free: 2.836 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002831/0.2259, allocations: 72.84 kB / 478.1 MB, free: 2.762 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.358e-05/0.226, allocations: 4 kB / 478.1 MB, free: 2.758 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002477/0.2285, allocations: 1.904 MB / 480 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.2285, allocations: 0 / 480 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008343/0.2293, allocations: 469.9 kB / 480.5 MB, free: 236 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001232/0.2294, allocations: 100.8 kB / 480.6 MB, free: 116 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.732e-05/0.2295, allocations: 0 / 480.6 MB, free: 116 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000151/0.2296, allocations: 11.98 kB / 480.6 MB, free: 104 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.458e-05/0.2297, allocations: 31.84 kB / 480.6 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-05/0.2297, allocations: 8 kB / 480.6 MB, free: 64 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002116/0.23, allocations: 148.6 kB / 480.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.23, allocations: 0 / 480.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000619/0.2306, allocations: 80 kB / 480.9 MB, free: 15.84 MB / 366.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 0.0001952/0.2308, allocations: 107.2 kB / 481 MB, free: 15.73 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009788/0.2318, allocations: 422.4 kB / 481.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.2318, allocations: 4 kB / 481.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005336/0.2323, allocations: 291.2 kB / 481.7 MB, free: 15 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004833/0.2328, allocations: 45.59 kB / 481.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001359/0.2342, allocations: 0.593 MB / 482.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005726/0.2348, allocations: 0.7987 MB / 483.1 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001558/0.235, allocations: 57.84 kB / 483.1 MB, free: 13.44 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.079e-05/0.2351, allocations: 23.42 kB / 483.2 MB, free: 13.41 MB / 366.1 MB Notification: Performance of SimCode: time 6.42e-07/0.2351, allocations: 0 / 483.2 MB, free: 13.41 MB / 366.1 MB Notification: Performance of Templates: time 0.008346/0.2434, allocations: 2.964 MB / 486.1 MB, free: 10.46 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.makefile (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 cvode -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe 2>&1) 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) Reference file matches