Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.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.0008221/0.0008221, 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.0008087/0.0008087, allocations: 170.3 kB / 23.95 MB, free: 0.6094 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.8984/0.8984, allocations: 177.1 MB / 204.3 MB, free: 5.758 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.2105/0.2105, allocations: 29.4 MB / 290.1 MB, free: 2.438 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.AC3ph.Generation.PQsource,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_PQsource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.PQsource,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_PQsource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.094e-05/2.293e-05, allocations: 6.219 kB / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.004101/0.004124, allocations: 4.455 MB / 434.7 MB, free: 9.113 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001414/0.005538, allocations: 1.266 MB / 435.9 MB, free: 7.844 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000154/0.005692, allocations: 19.88 kB / 436 MB, free: 7.824 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006877/0.00638, allocations: 397.3 kB / 436.3 MB, free: 7.438 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003761/0.006756, allocations: 258.4 kB / 436.6 MB, free: 7.184 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003322/0.007088, allocations: 175.5 kB / 436.8 MB, free: 7.012 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004343/0.007522, allocations: 0.5683 MB / 437.3 MB, free: 6.441 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003093/0.007832, allocations: 237.4 kB / 437.6 MB, free: 6.207 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003866/0.008218, allocations: 343 kB / 437.9 MB, free: 5.871 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002923/0.00851, allocations: 271.2 kB / 438.2 MB, free: 5.605 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.581e-05/0.008546, allocations: 32 kB / 438.2 MB, free: 5.574 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001874/0.008734, allocations: 135.6 kB / 438.3 MB, free: 5.441 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001344/0.008868, allocations: 203.5 kB / 438.5 MB, free: 5.242 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001137/0.008982, allocations: 151.7 kB / 438.7 MB, free: 5.094 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004117/0.009393, allocations: 0.514 MB / 439.2 MB, free: 4.578 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.009396, allocations: 0 / 439.2 MB, free: 4.578 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.009397, allocations: 0 / 439.2 MB, free: 4.578 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.009403, allocations: 0 / 439.2 MB, free: 4.578 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.0007512/0.01015, allocations: 0.6427 MB / 439.8 MB, free: 3.906 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.01019, allocations: 11.98 kB / 439.8 MB, free: 3.895 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.644e-05/0.01025, allocations: 70.72 kB / 439.9 MB, free: 3.816 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003133/0.01056, allocations: 88.59 kB / 440 MB, free: 3.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004278/0.01099, allocations: 344 kB / 440.3 MB, free: 3.359 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.01101, allocations: 25.38 kB / 440.4 MB, free: 3.336 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.761e-05/0.01109, allocations: 48.66 kB / 440.4 MB, free: 3.289 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004438/0.01154, allocations: 476.8 kB / 440.9 MB, free: 2.797 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.01155, allocations: 7.953 kB / 440.9 MB, free: 2.789 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.125e-05/0.01157, allocations: 11.98 kB / 440.9 MB, free: 2.777 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.732e-05/0.01163, allocations: 32.98 kB / 440.9 MB, free: 2.746 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000352/0.01198, allocations: 347.7 kB / 441.3 MB, free: 2.406 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001307/0.01329, allocations: 1.475 MB / 442.7 MB, free: 0.8516 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002023/0.01349, allocations: 145.2 kB / 442.9 MB, free: 0.6914 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.0136, allocations: 117.6 kB / 443 MB, free: 0.5703 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.509e-05/0.01361, allocations: 4 kB / 443 MB, free: 0.5664 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.01363, allocations: 30.84 kB / 443 MB, free: 0.5273 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 1.342e-06/0.01363, allocations: 0 / 443 MB, free: 0.5273 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.16/0.1736, allocations: 0.7461 MB / 443.8 MB, free: 54.54 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/0.1736, allocations: 77.67 kB / 443.9 MB, free: 54.45 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002067/0.1739, allocations: 319.1 kB / 444.2 MB, free: 54.34 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.1739, allocations: 31.23 kB / 444.2 MB, free: 54.31 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.387e-05/0.1739, allocations: 253.5 kB / 444.4 MB, free: 54.17 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.99e-05/0.174, allocations: 67.42 kB / 444.5 MB, free: 54.14 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.956e-05/0.174, allocations: 59.95 kB / 444.6 MB, free: 54.12 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.866e-05/0.1741, allocations: 341.7 kB / 444.9 MB, free: 53.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.45e-05/0.1742, allocations: 99.59 kB / 445 MB, free: 53.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001101/0.1743, allocations: 199 kB / 445.2 MB, free: 53.69 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002198/0.1745, allocations: 334.6 kB / 445.5 MB, free: 53.51 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1745, allocations: 3.344 kB / 445.5 MB, free: 53.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004913/0.175, allocations: 466.2 kB / 446 MB, free: 53.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.175, allocations: 6.375 kB / 446 MB, free: 53.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000295/0.1753, allocations: 308.8 kB / 446.3 MB, free: 53.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002806/0.1756, allocations: 138.7 kB / 446.4 MB, free: 53.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.1757, allocations: 57.16 kB / 446.5 MB, free: 53.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001427/0.1771, allocations: 2.316 MB / 448.8 MB, free: 51.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001051/0.1772, allocations: 17.78 kB / 448.8 MB, free: 51.47 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.1772, allocations: 18.09 kB / 448.8 MB, free: 51.46 MB / 410.7 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 (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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001243/0.1774, allocations: 195.2 kB / 449 MB, free: 51.32 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.668e-05/0.1774, allocations: 28.97 kB / 449 MB, free: 51.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002406/0.1776, allocations: 268.7 kB / 449.3 MB, free: 51.18 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.1776, allocations: 0 / 449.3 MB, free: 51.18 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.1776, allocations: 7.062 kB / 449.3 MB, free: 51.18 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.1776, allocations: 0 / 449.3 MB, free: 51.18 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005572/0.1782, allocations: 0.6881 MB / 450 MB, free: 50.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1782, allocations: 0 / 450 MB, free: 50.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000101/0.1783, allocations: 35.59 kB / 450 MB, free: 50.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.633e-05/0.1784, allocations: 42.5 kB / 450.1 MB, free: 50.73 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.1784, allocations: 3.125 kB / 450.1 MB, free: 50.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.1784, allocations: 3.125 kB / 450.1 MB, free: 50.73 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1784, allocations: 7.094 kB / 450.1 MB, free: 50.73 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000261/0.1786, allocations: 441.2 kB / 450.5 MB, free: 50.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.476e-05/0.1787, allocations: 32.16 kB / 450.6 MB, free: 50.44 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.1787, allocations: 6.641 kB / 450.6 MB, free: 50.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.453e-05/0.1788, allocations: 10.16 kB / 450.6 MB, free: 50.44 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.08e-05/0.1788, allocations: 20.95 kB / 450.6 MB, free: 50.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.1788, allocations: 7.156 kB / 450.6 MB, free: 50.43 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001033/0.1789, allocations: 225.1 kB / 450.8 MB, free: 50.31 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1789, allocations: 0 / 450.8 MB, free: 50.31 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002617/0.1792, allocations: 87.56 kB / 450.9 MB, free: 50.3 MB / 410.7 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003697/0.1795, allocations: 0.9736 MB / 451.9 MB, free: 49.51 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003879/0.1799, allocations: 394.9 kB / 452.3 MB, free: 49.32 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1799, allocations: 0 / 452.3 MB, free: 49.32 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.823e-05/0.18, allocations: 99.95 kB / 452.4 MB, free: 49.28 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003011/0.1803, allocations: 71.73 kB / 452.4 MB, free: 49.25 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002228/0.1825, allocations: 3.482 MB / 455.9 MB, free: 47.02 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000132/0.1827, allocations: 247.8 kB / 456.2 MB, free: 46.92 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001099/0.1828, allocations: 56.38 kB / 456.2 MB, free: 46.92 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.478e-05/0.1829, allocations: 122.7 kB / 456.3 MB, free: 46.82 MB / 410.7 MB Notification: Performance of SimCode: time 8.52e-07/0.1829, allocations: 3.125 kB / 456.3 MB, free: 46.82 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02074/0.2036, allocations: 8.073 MB / 464.4 MB, free: 45.39 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.912/8.115, allocations: 3.938 kB / 464.4 MB, free: 45.39 MB / 410.7 MB " [Timeout remaining time 652] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_PQsource_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_PQsource.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.PQsource.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.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: 10.02004302944988]