Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.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.001428/0.001428, allocations: 82.5 kB / 20.68 MB, free: 1.035 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.001509/0.001509, allocations: 167.5 kB / 23.95 MB, free: 4.172 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.39/1.39, allocations: 177.2 MB / 204.3 MB, free: 9.184 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.1733/0.1733, allocations: 29.42 MB / 290.1 MB, free: 3.301 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.AC1ph_DC.Transformation.OnePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter2.i|meter2.p|meter2.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase") translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter2.i|meter2.p|meter2.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 430.7 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.509e-05/2.636e-05, allocations: 2.281 kB / 430.7 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.00708/0.007106, allocations: 5.281 MB / 436 MB, free: 12.65 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002415/0.009521, allocations: 1.27 MB / 437.3 MB, free: 11.38 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002797/0.009801, allocations: 23.81 kB / 437.3 MB, free: 11.35 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004414/0.01024, allocations: 131 kB / 437.4 MB, free: 11.22 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008439/0.01109, allocations: 393.8 kB / 437.8 MB, free: 10.84 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002814/0.01137, allocations: 143.7 kB / 437.9 MB, free: 10.7 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007877/0.01216, allocations: 0.7629 MB / 438.7 MB, free: 9.93 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002283/0.01238, allocations: 124.7 kB / 438.8 MB, free: 9.801 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006305/0.01301, allocations: 466.5 kB / 439.3 MB, free: 9.344 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005768/0.01359, allocations: 351 kB / 439.6 MB, free: 9 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.184e-05/0.01366, allocations: 40 kB / 439.7 MB, free: 8.961 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.891e-05/0.01375, allocations: 36 kB / 439.7 MB, free: 8.926 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002212/0.01397, allocations: 211.4 kB / 439.9 MB, free: 8.719 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002171/0.01419, allocations: 171.6 kB / 440.1 MB, free: 8.551 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006011/0.01479, allocations: 0.5256 MB / 440.6 MB, free: 8.023 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.0148, allocations: 4 kB / 440.6 MB, free: 8.02 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.0148, allocations: 0 / 440.6 MB, free: 8.02 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.854e-06/0.01481, allocations: 0 / 440.6 MB, free: 8.02 MB / 366.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.001237/0.01604, allocations: 0.729 MB / 441.3 MB, free: 7.258 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.01608, allocations: 12.03 kB / 441.3 MB, free: 7.246 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.989e-05/0.01618, allocations: 64.55 kB / 441.4 MB, free: 7.184 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007549/0.01693, allocations: 420.8 kB / 441.8 MB, free: 6.75 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.441e-05/0.01697, allocations: 33.36 kB / 441.8 MB, free: 6.719 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.61e-05/0.01703, allocations: 40.38 kB / 441.9 MB, free: 6.68 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000751/0.01779, allocations: 0.4961 MB / 442.4 MB, free: 6.148 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.0178, allocations: 0 / 442.4 MB, free: 6.148 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.008e-05/0.01784, allocations: 16 kB / 442.4 MB, free: 6.133 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.696e-05/0.01788, allocations: 20.94 kB / 442.4 MB, free: 6.109 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005787/0.01845, allocations: 363.7 kB / 442.8 MB, free: 5.758 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002453/0.02091, allocations: 1.855 MB / 444.6 MB, free: 3.789 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004377/0.02135, allocations: 229.2 kB / 444.8 MB, free: 3.547 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002278/0.02157, allocations: 117.7 kB / 445 MB, free: 3.426 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.501e-05/0.02159, allocations: 4 kB / 445 MB, free: 3.422 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.02162, allocations: 38.56 kB / 445 MB, free: 3.375 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 1.442e-06/0.02162, allocations: 0 / 445 MB, free: 3.375 MB / 366.1 MB Notification: Performance of matching and sorting (n=23): time 0.001241/0.02286, allocations: 0.6937 MB / 445.7 MB, free: 2.648 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.247e-05/0.02292, allocations: 81.11 kB / 445.8 MB, free: 2.551 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004394/0.02336, allocations: 377.4 kB / 446.1 MB, free: 2.176 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.675e-05/0.02339, allocations: 33.7 kB / 446.2 MB, free: 2.137 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002089/0.0236, allocations: 296.2 kB / 446.5 MB, free: 1.84 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.464e-05/0.02367, allocations: 87.27 kB / 446.6 MB, free: 1.754 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/0.02378, allocations: 78.16 kB / 446.6 MB, free: 1.672 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.02394, allocations: 350.7 kB / 447 MB, free: 1.32 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.02409, allocations: 92.94 kB / 447.1 MB, free: 1.23 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002964/0.02438, allocations: 273.8 kB / 447.3 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004979/0.02488, allocations: 403.3 kB / 447.7 MB, free: 400 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.02488, allocations: 4 kB / 447.7 MB, free: 396 kB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.1653/0.1902, allocations: 448.2 kB / 448.2 MB, free: 29.8 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.1902, allocations: 11.88 kB / 448.2 MB, free: 29.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.561e-05/0.1902, allocations: 6.844 kB / 448.2 MB, free: 29.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002236/0.1904, allocations: 54.52 kB / 448.2 MB, free: 29.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002884/0.1907, allocations: 86.25 kB / 448.3 MB, free: 29.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001047/0.1918, allocations: 1.483 MB / 449.8 MB, free: 28.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002491/0.192, allocations: 14.5 kB / 449.8 MB, free: 28.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.647e-05/0.192, allocations: 21.41 kB / 449.8 MB, free: 28.62 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,trafo.tap_2_internal,trafo.tap_1_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001942/0.1922, allocations: 205.5 kB / 450 MB, free: 28.51 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.411e-05/0.1923, allocations: 38.38 kB / 450.1 MB, free: 28.51 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003234/0.1926, allocations: 237 kB / 450.3 MB, free: 28.45 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.1926, allocations: 4.297 kB / 450.3 MB, free: 28.45 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.1926, allocations: 1.812 kB / 450.3 MB, free: 28.45 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.1926, allocations: 4.844 kB / 450.3 MB, free: 28.45 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007455/0.1934, allocations: 0.592 MB / 450.9 MB, free: 28.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.1934, allocations: 1.062 kB / 450.9 MB, free: 28.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002201/0.1936, allocations: 47.48 kB / 451 MB, free: 28.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.1936, allocations: 4.5 kB / 451 MB, free: 28.07 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/0.1936, allocations: 4.953 kB / 451 MB, free: 28.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.1936, allocations: 3.141 kB / 451 MB, free: 28.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1936, allocations: 1.562 kB / 451 MB, free: 28.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004152/0.194, allocations: 436.9 kB / 451.4 MB, free: 27.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.595e-05/0.1941, allocations: 42.45 kB / 451.4 MB, free: 27.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.923e-05/0.1941, allocations: 6.844 kB / 451.4 MB, free: 27.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.1943, allocations: 13 kB / 451.5 MB, free: 27.81 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.221e-05/0.1943, allocations: 19.16 kB / 451.5 MB, free: 27.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.1943, allocations: 12.72 kB / 451.5 MB, free: 27.8 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002168/0.1945, allocations: 249 kB / 451.7 MB, free: 27.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1945, allocations: 1.094 kB / 451.7 MB, free: 27.68 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000425/0.195, allocations: 85.84 kB / 451.8 MB, free: 27.67 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (trafo.i1) * 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 (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.406e-05/0.1951, allocations: 101.8 kB / 451.9 MB, free: 27.58 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005431/0.1956, allocations: 373.5 kB / 452.3 MB, free: 27.39 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1956, allocations: 0 / 452.3 MB, free: 27.39 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001138/0.1957, allocations: 83.97 kB / 452.4 MB, free: 27.37 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006614/0.1964, allocations: 108.6 kB / 452.5 MB, free: 27.34 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001289/0.1977, allocations: 0.8014 MB / 453.3 MB, free: 26.89 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002344/0.1979, allocations: 250.6 kB / 453.5 MB, free: 26.79 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001998/0.1981, allocations: 87.39 kB / 453.6 MB, free: 26.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.01e-05/0.1982, allocations: 31.75 kB / 453.6 MB, free: 26.77 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1982, allocations: 3.938 kB / 453.6 MB, free: 26.76 MB / 366.1 MB Notification: Performance of Templates: time 0.008368/0.2065, allocations: 3.582 MB / 457.2 MB, free: 26.36 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.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: 4.601001217961311]