Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.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.001385/0.001385, allocations: 86.06 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.001383/0.001383, allocations: 165.4 kB / 23.96 MB, free: 4.164 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.411/1.411, allocations: 177.1 MB / 204.3 MB, free: 9.188 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.1875/0.1875, allocations: 29.42 MB / 290.1 MB, free: 3.297 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.Elementary.Source,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source") translateModel(PowerSystems.Examples.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 430.7 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.638e-05/2.795e-05, allocations: 10.22 kB / 430.7 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Source): time 0.005599/0.005627, allocations: 4.3 MB / 435 MB, free: 13.62 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002446/0.008072, allocations: 1.468 MB / 436.5 MB, free: 12.15 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001691/0.008241, allocations: 23.81 kB / 436.5 MB, free: 12.13 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008734/0.009115, allocations: 278.6 kB / 436.8 MB, free: 11.86 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006174/0.009732, allocations: 306.3 kB / 437.1 MB, free: 11.55 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007081/0.01044, allocations: 255.2 kB / 437.3 MB, free: 11.3 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007485/0.01119, allocations: 0.6272 MB / 438 MB, free: 10.68 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003511/0.01154, allocations: 196 kB / 438.1 MB, free: 10.48 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005158/0.01206, allocations: 363 kB / 438.5 MB, free: 10.13 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005301/0.01259, allocations: 363.1 kB / 438.9 MB, free: 9.773 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.358e-05/0.01266, allocations: 40 kB / 438.9 MB, free: 9.734 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004498/0.01311, allocations: 231.4 kB / 439.1 MB, free: 9.508 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002533/0.01336, allocations: 239.4 kB / 439.4 MB, free: 9.273 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002239/0.01359, allocations: 175.6 kB / 439.5 MB, free: 9.102 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008304/0.01442, allocations: 0.7088 MB / 440.2 MB, free: 8.391 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.01442, allocations: 4 kB / 440.2 MB, free: 8.387 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.01442, allocations: 0 / 440.2 MB, free: 8.387 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.01443, allocations: 0 / 440.2 MB, free: 8.387 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001341/0.01577, allocations: 0.7133 MB / 441 MB, free: 7.645 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.0158, allocations: 11.98 kB / 441 MB, free: 7.633 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007917/0.01659, allocations: 120.5 kB / 441.1 MB, free: 7.516 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006478/0.01724, allocations: 363.9 kB / 441.4 MB, free: 7.137 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.789e-05/0.01727, allocations: 29.36 kB / 441.5 MB, free: 7.105 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000144/0.01741, allocations: 48.73 kB / 441.5 MB, free: 7.059 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/0.01843, allocations: 0.6955 MB / 442.2 MB, free: 6.328 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.095e-05/0.01845, allocations: 3.953 kB / 442.2 MB, free: 6.324 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.793e-05/0.01849, allocations: 16 kB / 442.2 MB, free: 6.309 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002146/0.01871, allocations: 72.88 kB / 442.3 MB, free: 6.234 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001017/0.01973, allocations: 0.6674 MB / 443 MB, free: 5.57 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003471/0.0232, allocations: 2.416 MB / 445.4 MB, free: 3.027 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004681/0.02367, allocations: 293.3 kB / 445.7 MB, free: 2.723 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002708/0.02394, allocations: 189.5 kB / 445.9 MB, free: 2.531 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.123e-05/0.02397, allocations: 7.984 kB / 445.9 MB, free: 2.523 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/0.024, allocations: 42.5 kB / 445.9 MB, free: 2.473 MB / 366.1 MB Notification: Performance of pre-optimization done (n=39): time 1.764e-06/0.024, allocations: 3.938 kB / 445.9 MB, free: 2.469 MB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.002076/0.02608, allocations: 1.219 MB / 447.1 MB, free: 1.219 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.352e-05/0.02614, allocations: 85.11 kB / 447.2 MB, free: 1.117 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003047/0.02645, allocations: 284.1 kB / 447.5 MB, free: 0.832 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.086e-05/0.02648, allocations: 25.83 kB / 447.5 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001813/0.02666, allocations: 264.2 kB / 447.8 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001138/0.02677, allocations: 146.7 kB / 447.9 MB, free: 400 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001396/0.02691, allocations: 86.14 kB / 448 MB, free: 308 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.179/0.2059, allocations: 346.8 kB / 448.3 MB, free: 29.89 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003485/0.2062, allocations: 183.6 kB / 448.5 MB, free: 29.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000306/0.2065, allocations: 323.1 kB / 448.8 MB, free: 29.74 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006148/0.2072, allocations: 0.5554 MB / 449.4 MB, free: 29.54 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.2072, allocations: 1.25 kB / 449.4 MB, free: 29.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001229/0.2084, allocations: 0.6799 MB / 450.1 MB, free: 29.3 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.2084, allocations: 8.062 kB / 450.1 MB, free: 29.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007486/0.2092, allocations: 488.7 kB / 450.6 MB, free: 29.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004141/0.2096, allocations: 113 kB / 450.7 MB, free: 29.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003061/0.2099, allocations: 82.33 kB / 450.7 MB, free: 29.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002134/0.212, allocations: 3.01 MB / 453.8 MB, free: 26.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002925/0.2123, allocations: 20.06 kB / 453.8 MB, free: 26.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.345e-05/0.2123, allocations: 27.25 kB / 453.8 MB, free: 26.45 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (45): * Single equations (assignments): 41 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00024/0.2126, allocations: 212.1 kB / 454 MB, free: 26.29 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.194e-05/0.2127, allocations: 34.11 kB / 454 MB, free: 26.29 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006836/0.2134, allocations: 465.9 kB / 454.5 MB, free: 26.11 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-05/0.2134, allocations: 15.41 kB / 454.5 MB, free: 26.11 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.2134, allocations: 0 / 454.5 MB, free: 26.11 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.2134, allocations: 2.891 kB / 454.5 MB, free: 26.11 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001228/0.2146, allocations: 0.8972 MB / 455.4 MB, free: 25.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.2146, allocations: 1.188 kB / 455.4 MB, free: 25.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003317/0.215, allocations: 61.41 kB / 455.5 MB, free: 25.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.215, allocations: 5.812 kB / 455.5 MB, free: 25.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.499e-05/0.215, allocations: 11.92 kB / 455.5 MB, free: 25.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.215, allocations: 7.531 kB / 455.5 MB, free: 25.65 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.215, allocations: 0.75 kB / 455.5 MB, free: 25.65 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007872/0.2158, allocations: 0.7438 MB / 456.2 MB, free: 25.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/0.2159, allocations: 62.73 kB / 456.3 MB, free: 25.29 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.699e-05/0.216, allocations: 11.27 kB / 456.3 MB, free: 25.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001913/0.2161, allocations: 17.45 kB / 456.3 MB, free: 25.29 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.536e-05/0.2162, allocations: 24.98 kB / 456.4 MB, free: 25.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.268e-05/0.2162, allocations: 6.875 kB / 456.4 MB, free: 25.28 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001562/0.2164, allocations: 196.6 kB / 456.6 MB, free: 25.17 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2164, allocations: 0 / 456.6 MB, free: 25.17 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005064/0.2169, allocations: 112.5 kB / 456.7 MB, free: 25.16 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.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 (30): * Single equations (assignments): 27 * Array equations: 2 * 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 0.0002187/0.2171, allocations: 138.4 kB / 456.8 MB, free: 25.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009394/0.218, allocations: 0.6842 MB / 457.5 MB, free: 24.7 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.218, allocations: 1.031 kB / 457.5 MB, free: 24.7 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002471/0.2183, allocations: 196.5 kB / 457.7 MB, free: 24.64 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004908/0.2188, allocations: 72.86 kB / 457.7 MB, free: 24.62 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001399/0.2202, allocations: 1.026 MB / 458.8 MB, free: 24.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002619/0.2204, allocations: 274.7 kB / 459 MB, free: 23.98 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000236/0.2207, allocations: 101.6 kB / 459.1 MB, free: 23.97 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.565e-05/0.2208, allocations: 35.3 kB / 459.2 MB, free: 23.96 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2208, allocations: 0 / 459.2 MB, free: 23.96 MB / 366.1 MB Notification: Performance of Templates: time 0.009532/0.2303, allocations: 4.245 MB / 463.4 MB, free: 23.52 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Source.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.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.686839163303375]