Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.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.0008456/0.0008456, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.0008016/0.0008016, allocations: 170 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.9122/0.9122, allocations: 177.1 MB / 204.3 MB, free: 5.723 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.2327/0.2327, allocations: 29.4 MB / 290.1 MB, free: 2.43 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.Precalculation.Z_matrixEqCirc1,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.802e-05/1.97e-05, allocations: 6.219 kB / 430.2 MB, free: 13.58 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.002218/0.002238, allocations: 2.144 MB / 432.4 MB, free: 11.41 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005486/0.002786, allocations: 0.5337 MB / 432.9 MB, free: 10.88 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.657e-05/0.002833, allocations: 7.938 kB / 432.9 MB, free: 10.87 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001238/0.002957, allocations: 11.91 kB / 432.9 MB, free: 10.86 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001072/0.003064, allocations: 23.91 kB / 432.9 MB, free: 10.84 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002901/0.003354, allocations: 79.69 kB / 433 MB, free: 10.76 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.993e-05/0.003454, allocations: 59.75 kB / 433.1 MB, free: 10.7 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.758e-05/0.003492, allocations: 8 kB / 433.1 MB, free: 10.69 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/0.003617, allocations: 51.7 kB / 433.1 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.159e-05/0.003658, allocations: 27.89 kB / 433.2 MB, free: 10.61 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.596e-06/0.003667, allocations: 0 / 433.2 MB, free: 10.61 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001474/0.003814, allocations: 91.8 kB / 433.3 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.388e-05/0.003858, allocations: 27.86 kB / 433.3 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.327e-05/0.003881, allocations: 7.938 kB / 433.3 MB, free: 10.49 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000141/0.004023, allocations: 111.7 kB / 433.4 MB, free: 10.38 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.004025, allocations: 4 kB / 433.4 MB, free: 10.38 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.004026, allocations: 0 / 433.4 MB, free: 10.38 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.00403, allocations: 0 / 433.4 MB, free: 10.38 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0002754/0.004305, allocations: 327.7 kB / 433.7 MB, free: 10.02 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.004342, allocations: 11.98 kB / 433.7 MB, free: 10.01 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.472e-05/0.004367, allocations: 34.75 kB / 433.8 MB, free: 9.965 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.452e-05/0.004391, allocations: 4.891 kB / 433.8 MB, free: 9.961 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.004505, allocations: 121.7 kB / 433.9 MB, free: 9.816 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.596e-06/0.004514, allocations: 4.375 kB / 433.9 MB, free: 9.812 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.256e-06/0.004522, allocations: 4.375 kB / 433.9 MB, free: 9.809 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001216/0.004643, allocations: 111.6 kB / 434 MB, free: 9.688 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.881e-06/0.004649, allocations: 0 / 434 MB, free: 9.688 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.254e-06/0.004657, allocations: 4 kB / 434 MB, free: 9.684 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.004661, allocations: 0 / 434 MB, free: 9.684 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5e-05/0.004711, allocations: 73.67 kB / 434.1 MB, free: 9.605 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001161/0.004827, allocations: 148.6 kB / 434.2 MB, free: 9.418 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.109e-05/0.004898, allocations: 92.25 kB / 434.3 MB, free: 9.312 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.778e-05/0.004946, allocations: 82.56 kB / 434.4 MB, free: 9.223 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.34e-06/0.004951, allocations: 0 / 434.4 MB, free: 9.223 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.062e-05/0.004972, allocations: 34.5 kB / 434.4 MB, free: 9.18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 1.022e-06/0.004973, allocations: 0 / 434.4 MB, free: 9.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002398/0.005212, allocations: 290.6 kB / 434.7 MB, free: 8.871 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/0.005248, allocations: 85.11 kB / 434.8 MB, free: 8.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.547e-05/0.005313, allocations: 126 kB / 434.9 MB, free: 8.637 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.917e-06/0.005322, allocations: 25.7 kB / 434.9 MB, free: 8.605 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.931e-05/0.005351, allocations: 88.14 kB / 435 MB, free: 8.516 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.45e-05/0.005386, allocations: 39.67 kB / 435.1 MB, free: 8.477 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.503e-05/0.005411, allocations: 17.72 kB / 435.1 MB, free: 8.453 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.264e-05/0.005484, allocations: 322.8 kB / 435.4 MB, free: 8.129 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.909e-05/0.005533, allocations: 77.67 kB / 435.5 MB, free: 8.047 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.413e-05/0.005577, allocations: 77.67 kB / 435.6 MB, free: 7.965 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001049/0.005682, allocations: 177.1 kB / 435.7 MB, free: 7.777 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.217e-06/0.005686, allocations: 0 / 435.7 MB, free: 7.777 MB / 410.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001325/0.005818, allocations: 204.9 kB / 435.9 MB, free: 7.559 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.919e-05/0.005858, allocations: 60.58 kB / 436 MB, free: 7.496 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.005862, allocations: 0 / 436 MB, free: 7.496 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.759e-06/0.005872, allocations: 0 / 436 MB, free: 7.496 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002115/0.006083, allocations: 11.92 kB / 436 MB, free: 7.484 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.006088, allocations: 0 / 436 MB, free: 7.484 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.055e-05/0.006109, allocations: 15.83 kB / 436 MB, free: 7.469 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.479e-05/0.006124, allocations: 4 kB / 436 MB, free: 7.465 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.601e-05/0.0062, allocations: 167.5 kB / 436.2 MB, free: 7.285 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.318e-06/0.006209, allocations: 11.89 kB / 436.2 MB, free: 7.273 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.148e-05/0.00622, allocations: 8.438 kB / 436.2 MB, free: 7.266 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.006222, allocations: 0 / 436.2 MB, free: 7.266 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.006226, allocations: 3.984 kB / 436.2 MB, free: 7.262 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.006228, allocations: 0 / 436.2 MB, free: 7.262 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.634e-05/0.006294, allocations: 136.8 kB / 436.3 MB, free: 7.086 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.006296, allocations: 0 / 436.3 MB, free: 7.086 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.61e-07/0.006296, allocations: 0 / 436.3 MB, free: 7.086 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.006299, allocations: 3.938 kB / 436.3 MB, free: 7.082 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.006307, allocations: 4 kB / 436.3 MB, free: 7.078 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.6e-07/0.006307, allocations: 4 kB / 436.4 MB, free: 7.074 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.006309, allocations: 3.984 kB / 436.4 MB, free: 7.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002072/0.006516, allocations: 312.3 kB / 436.7 MB, free: 6.734 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.007e-05/0.006526, allocations: 11.84 kB / 436.7 MB, free: 6.723 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.17e-05/0.006538, allocations: 7.938 kB / 436.7 MB, free: 6.715 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.09e-05/0.006549, allocations: 4 kB / 436.7 MB, free: 6.711 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.504e-05/0.006564, allocations: 4 kB / 436.7 MB, free: 6.707 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.006569, allocations: 7.938 kB / 436.7 MB, free: 6.699 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.758e-05/0.006607, allocations: 91.27 kB / 436.8 MB, free: 6.609 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.006607, allocations: 4 kB / 436.8 MB, free: 6.605 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001542/0.006761, allocations: 28 kB / 436.8 MB, free: 6.578 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * 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.0004263/0.007188, allocations: 0.8578 MB / 437.7 MB, free: 5.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002386/0.007426, allocations: 306.6 kB / 438 MB, free: 5.355 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.007428, allocations: 0 / 438 MB, free: 5.355 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.508e-05/0.007523, allocations: 189 kB / 438.2 MB, free: 5.152 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001862/0.007709, allocations: 12 kB / 438.2 MB, free: 5.141 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001226/0.008935, allocations: 2.006 MB / 440.2 MB, free: 3.012 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.039e-05/0.008985, allocations: 87.52 kB / 440.3 MB, free: 2.906 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.672e-05/0.009002, allocations: 3.984 kB / 440.3 MB, free: 2.902 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.717e-05/0.009029, allocations: 16.5 kB / 440.3 MB, free: 2.887 MB / 410.7 MB Notification: Performance of SimCode: time 7.12e-07/0.00903, allocations: 0 / 440.3 MB, free: 2.887 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1797/0.1887, allocations: 3.262 MB / 443.5 MB, free: 54.6 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.669/6.858, allocations: 2.234 kB / 443.5 MB, free: 54.6 MB / 410.7 MB " [Timeout remaining time 653] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc1_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc1.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.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: 8.77377447206527]