Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.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.001764/0.001764, allocations: 84.7 kB / 20.68 MB, free: 1.023 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.002249/0.002249, allocations: 164.1 kB / 23.95 MB, free: 4.16 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.393/1.393, allocations: 177.2 MB / 204.3 MB, free: 9.176 MB / 190.1 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.1698/0.1698, allocations: 29.44 MB / 290.1 MB, free: 3.285 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.AC3ph.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") translateModel(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 430.7 MB, free: 1.945 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.712e-05/2.904e-05, allocations: 5.375 kB / 430.7 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.008286/0.008315, allocations: 4.58 MB / 435.3 MB, free: 13.33 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002616/0.01093, allocations: 1.277 MB / 436.6 MB, free: 12.05 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001866/0.01112, allocations: 19.81 kB / 436.6 MB, free: 12.03 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001339/0.01246, allocations: 397.4 kB / 437 MB, free: 11.64 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006126/0.01307, allocations: 246.5 kB / 437.2 MB, free: 11.4 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005568/0.01363, allocations: 187.4 kB / 437.4 MB, free: 11.21 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007518/0.01438, allocations: 0.5644 MB / 438 MB, free: 10.65 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004903/0.01487, allocations: 254.1 kB / 438.2 MB, free: 10.39 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006268/0.0155, allocations: 358.9 kB / 438.6 MB, free: 10.04 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005156/0.01601, allocations: 251.3 kB / 438.8 MB, free: 9.797 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.451e-05/0.01609, allocations: 32 kB / 438.8 MB, free: 9.766 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003712/0.01646, allocations: 131.7 kB / 439 MB, free: 9.637 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002607/0.01672, allocations: 195.5 kB / 439.2 MB, free: 9.445 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000238/0.01696, allocations: 155.6 kB / 439.3 MB, free: 9.293 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008086/0.01776, allocations: 0.5296 MB / 439.8 MB, free: 8.762 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.01777, allocations: 0 / 439.8 MB, free: 8.762 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.01777, allocations: 0 / 439.8 MB, free: 8.762 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.01778, allocations: 4 kB / 439.8 MB, free: 8.758 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001316/0.01909, allocations: 0.6421 MB / 440.5 MB, free: 8.09 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.01914, allocations: 15.98 kB / 440.5 MB, free: 8.074 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007859/0.01993, allocations: 92.58 kB / 440.6 MB, free: 7.984 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008472/0.02077, allocations: 367.8 kB / 441 MB, free: 7.602 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.668e-05/0.02081, allocations: 21.38 kB / 441 MB, free: 7.578 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001644/0.02097, allocations: 48.72 kB / 441 MB, free: 7.531 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009483/0.02192, allocations: 480.9 kB / 441.5 MB, free: 7.039 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.293e-05/0.02194, allocations: 7.953 kB / 441.5 MB, free: 7.031 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.898e-05/0.022, allocations: 16 kB / 441.5 MB, free: 7.016 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001357/0.02214, allocations: 24.98 kB / 441.5 MB, free: 6.988 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007544/0.02289, allocations: 339.7 kB / 441.9 MB, free: 6.66 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002908/0.0258, allocations: 1.417 MB / 443.3 MB, free: 5.172 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005769/0.02638, allocations: 169.1 kB / 443.5 MB, free: 4.988 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002612/0.02664, allocations: 106 kB / 443.6 MB, free: 4.879 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.284e-05/0.02667, allocations: 4 kB / 443.6 MB, free: 4.875 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.51e-05/0.02674, allocations: 46.39 kB / 443.6 MB, free: 4.82 MB / 366.1 MB Notification: Performance of pre-optimization done (n=19): time 4.669e-06/0.02674, allocations: 0 / 443.6 MB, free: 4.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.002077/0.02882, allocations: 0.7093 MB / 444.3 MB, free: 4.078 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.396e-05/0.0289, allocations: 77.11 kB / 444.4 MB, free: 3.984 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00047/0.02937, allocations: 304.4 kB / 444.7 MB, free: 3.68 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.947e-05/0.02941, allocations: 29.7 kB / 444.7 MB, free: 3.645 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002509/0.02966, allocations: 256 kB / 445 MB, free: 3.391 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.919e-05/0.02976, allocations: 79.3 kB / 445 MB, free: 3.312 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001514/0.02991, allocations: 61.66 kB / 445.1 MB, free: 3.246 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002166/0.03013, allocations: 346.8 kB / 445.4 MB, free: 2.898 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002417/0.03037, allocations: 95.94 kB / 445.5 MB, free: 2.805 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003408/0.03071, allocations: 200.5 kB / 445.7 MB, free: 2.562 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006633/0.03138, allocations: 331.6 kB / 446.1 MB, free: 2.195 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.03138, allocations: 0 / 446.1 MB, free: 2.195 MB / 366.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001239/0.03262, allocations: 426.1 kB / 446.5 MB, free: 1.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.623e-05/0.03264, allocations: 12.03 kB / 446.5 MB, free: 1.758 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007775/0.03342, allocations: 255.3 kB / 446.7 MB, free: 1.508 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005041/0.03393, allocations: 80.72 kB / 446.8 MB, free: 1.426 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003743/0.0343, allocations: 63.91 kB / 446.9 MB, free: 1.363 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.168/0.2023, allocations: 1.576 MB / 448.5 MB, free: 29.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002571/0.2026, allocations: 13.28 kB / 448.5 MB, free: 29.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.51e-05/0.2026, allocations: 12.53 kB / 448.5 MB, free: 29.03 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (34): * Single equations (assignments): 33 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001967/0.2028, allocations: 187.9 kB / 448.7 MB, free: 28.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.422e-05/0.2028, allocations: 28.69 kB / 448.7 MB, free: 28.91 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004136/0.2033, allocations: 272.3 kB / 449 MB, free: 28.88 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.2033, allocations: 3.109 kB / 449 MB, free: 28.88 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.734e-06/0.2033, allocations: 4.844 kB / 449 MB, free: 28.88 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.2033, allocations: 6.594 kB / 449 MB, free: 28.88 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009253/0.2042, allocations: 0.6337 MB / 449.6 MB, free: 28.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.2042, allocations: 2.375 kB / 449.6 MB, free: 28.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002662/0.2045, allocations: 54.2 kB / 449.7 MB, free: 28.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.2045, allocations: 2.984 kB / 449.7 MB, free: 28.63 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.941e-05/0.2045, allocations: 3.141 kB / 449.7 MB, free: 28.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/0.2045, allocations: 12.48 kB / 449.7 MB, free: 28.63 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.2045, allocations: 1.188 kB / 449.7 MB, free: 28.63 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004668/0.205, allocations: 456.2 kB / 450.1 MB, free: 28.4 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.943e-05/0.205, allocations: 28.67 kB / 450.2 MB, free: 28.4 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.225e-05/0.205, allocations: 14.23 kB / 450.2 MB, free: 28.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001563/0.2052, allocations: 4.281 kB / 450.2 MB, free: 28.39 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.593e-05/0.2052, allocations: 21.03 kB / 450.2 MB, free: 28.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.542e-05/0.2053, allocations: 5.938 kB / 450.2 MB, free: 28.39 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001637/0.2054, allocations: 209.2 kB / 450.4 MB, free: 28.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2054, allocations: 0 / 450.4 MB, free: 28.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003997/0.2058, allocations: 86.53 kB / 450.5 MB, free: 28.27 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * 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 (23): * Single equations (assignments): 22 * 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.165e-05/0.2059, allocations: 103.1 kB / 450.6 MB, free: 28.17 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005554/0.2065, allocations: 362.8 kB / 450.9 MB, free: 28 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2065, allocations: 0 / 450.9 MB, free: 28 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001379/0.2066, allocations: 97.8 kB / 451 MB, free: 27.98 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004563/0.2071, allocations: 64.91 kB / 451.1 MB, free: 27.96 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/0.2082, allocations: 0.8459 MB / 451.9 MB, free: 27.51 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002184/0.2084, allocations: 245.1 kB / 452.2 MB, free: 27.41 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001712/0.2086, allocations: 69.19 kB / 452.3 MB, free: 27.4 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.76e-05/0.2086, allocations: 27.39 kB / 452.3 MB, free: 27.39 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2086, allocations: 1.156 kB / 452.3 MB, free: 27.39 MB / 366.1 MB Notification: Performance of Templates: time 0.007691/0.2163, allocations: 3.473 MB / 455.8 MB, free: 27.02 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.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.554055813699961]