Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.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.0009113/0.0009113, 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.0008401/0.0008401, 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.8876/0.8876, 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.2366/0.2366, allocations: 29.41 MB / 290.1 MB, free: 2.453 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_matrixEqCirc2,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.339e-05/2.485e-05, allocations: 2.281 kB / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2): time 0.002917/0.002942, allocations: 2.141 MB / 432.4 MB, free: 11.43 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006741/0.003616, allocations: 0.5337 MB / 432.9 MB, free: 10.9 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.214e-05/0.003659, allocations: 3.938 kB / 432.9 MB, free: 10.89 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000137/0.003796, allocations: 11.92 kB / 432.9 MB, free: 10.88 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.511e-05/0.003881, allocations: 27.89 kB / 432.9 MB, free: 10.86 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003398/0.004221, allocations: 75.69 kB / 433 MB, free: 10.78 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001066/0.004327, allocations: 63.7 kB / 433.1 MB, free: 10.72 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.18e-05/0.004369, allocations: 4 kB / 433.1 MB, free: 10.71 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001504/0.004519, allocations: 43.83 kB / 433.1 MB, free: 10.67 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.025e-05/0.00457, allocations: 27.89 kB / 433.1 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.315e-05/0.004583, allocations: 0 / 433.1 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001694/0.004752, allocations: 103.7 kB / 433.2 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.617e-05/0.004808, allocations: 35.8 kB / 433.3 MB, free: 10.51 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.559e-05/0.004834, allocations: 11.94 kB / 433.3 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001713/0.005005, allocations: 123.7 kB / 433.4 MB, free: 10.38 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.005008, allocations: 0 / 433.4 MB, free: 10.38 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.746e-06/0.00501, allocations: 4 kB / 433.4 MB, free: 10.37 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.005016, allocations: 0 / 433.4 MB, free: 10.37 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0003562/0.005372, allocations: 363.4 kB / 433.8 MB, free: 9.98 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/0.005423, allocations: 11.98 kB / 433.8 MB, free: 9.969 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.189e-05/0.005455, allocations: 42.73 kB / 433.8 MB, free: 9.918 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.016e-05/0.005485, allocations: 12.84 kB / 433.8 MB, free: 9.906 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/0.005621, allocations: 138.3 kB / 434 MB, free: 9.746 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.847e-06/0.005629, allocations: 4.375 kB / 434 MB, free: 9.742 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.746e-06/0.005638, allocations: 384 / 434 MB, free: 9.742 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001884/0.005827, allocations: 159.7 kB / 434.1 MB, free: 9.574 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.005834, allocations: 0 / 434.1 MB, free: 9.574 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.747e-06/0.005843, allocations: 3.938 kB / 434.1 MB, free: 9.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.005849, allocations: 0 / 434.1 MB, free: 9.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.505e-05/0.005944, allocations: 129.5 kB / 434.3 MB, free: 9.438 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001307/0.006075, allocations: 140.7 kB / 434.4 MB, free: 9.258 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/0.006184, allocations: 140.2 kB / 434.5 MB, free: 9.105 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.445e-05/0.006259, allocations: 126.5 kB / 434.7 MB, free: 8.973 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.173e-06/0.006266, allocations: 4 kB / 434.7 MB, free: 8.969 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.00629, allocations: 42.48 kB / 434.7 MB, free: 8.918 MB / 410.7 MB Notification: Performance of pre-optimization done (n=24): time 1.072e-06/0.006291, allocations: 0 / 434.7 MB, free: 8.918 MB / 410.7 MB Notification: Performance of matching and sorting (n=24): time 0.0004027/0.006694, allocations: 450 kB / 435.1 MB, free: 8.457 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.321e-05/0.006737, allocations: 97.09 kB / 435.2 MB, free: 8.344 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.098e-05/0.006818, allocations: 136.8 kB / 435.4 MB, free: 8.203 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.009e-05/0.006828, allocations: 25.7 kB / 435.4 MB, free: 8.172 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.022e-05/0.006868, allocations: 92.62 kB / 435.5 MB, free: 8.078 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.187e-05/0.00692, allocations: 83.22 kB / 435.6 MB, free: 7.996 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.159e-05/0.006952, allocations: 29.7 kB / 435.6 MB, free: 7.961 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.142e-05/0.007033, allocations: 326.9 kB / 435.9 MB, free: 7.633 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.104e-05/0.007114, allocations: 129.5 kB / 436 MB, free: 7.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.874e-05/0.007183, allocations: 121.7 kB / 436.2 MB, free: 7.375 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001774/0.00736, allocations: 290.1 kB / 436.5 MB, free: 7.078 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.007363, allocations: 0 / 436.5 MB, free: 7.078 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002034/0.007566, allocations: 317.5 kB / 436.8 MB, free: 6.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.036e-05/0.007616, allocations: 65.59 kB / 436.8 MB, free: 6.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.279e-06/0.007622, allocations: 0 / 436.8 MB, free: 6.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.007634, allocations: 0 / 436.8 MB, free: 6.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.805e-06/0.007637, allocations: 8 kB / 436.8 MB, free: 6.672 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.007642, allocations: 0 / 436.8 MB, free: 6.672 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.505e-05/0.007667, allocations: 19.89 kB / 436.9 MB, free: 6.652 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.703e-05/0.007684, allocations: 4 kB / 436.9 MB, free: 6.648 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 0.0001031/0.007787, allocations: 199.5 kB / 437.1 MB, free: 6.438 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.354e-05/0.007801, allocations: 15.89 kB / 437.1 MB, free: 6.422 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.487e-05/0.007816, allocations: 9.281 kB / 437.1 MB, free: 6.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.007818, allocations: 0 / 437.1 MB, free: 6.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.007822, allocations: 0 / 437.1 MB, free: 6.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.007825, allocations: 0 / 437.1 MB, free: 6.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.433e-05/0.007919, allocations: 168.6 kB / 437.2 MB, free: 6.203 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.00792, allocations: 0 / 437.2 MB, free: 6.203 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.91e-07/0.007921, allocations: 0 / 437.2 MB, free: 6.203 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.007924, allocations: 7.938 kB / 437.2 MB, free: 6.195 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.007936, allocations: 4 kB / 437.3 MB, free: 6.191 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.007937, allocations: 3.938 kB / 437.3 MB, free: 6.188 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.007938, allocations: 4 kB / 437.3 MB, free: 6.184 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000367/0.008305, allocations: 0.4923 MB / 437.8 MB, free: 5.66 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.79e-05/0.008323, allocations: 19.78 kB / 437.8 MB, free: 5.641 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/0.00834, allocations: 4 kB / 437.8 MB, free: 5.637 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.563e-05/0.008355, allocations: 4 kB / 437.8 MB, free: 5.633 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.301e-05/0.008378, allocations: 4 kB / 437.8 MB, free: 5.629 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.938e-06/0.008388, allocations: 4 kB / 437.8 MB, free: 5.625 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.552e-05/0.008444, allocations: 114.4 kB / 437.9 MB, free: 5.516 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008444, allocations: 0 / 437.9 MB, free: 5.516 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001741/0.008618, allocations: 43.94 kB / 437.9 MB, free: 5.473 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.0006562/0.009274, allocations: 1.053 MB / 439 MB, free: 4.379 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003588/0.009633, allocations: 0.4908 MB / 439.5 MB, free: 3.863 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.009635, allocations: 0 / 439.5 MB, free: 3.863 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001655/0.009801, allocations: 289 kB / 439.8 MB, free: 3.562 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000278/0.01008, allocations: 24.09 kB / 439.8 MB, free: 3.539 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001981/0.01206, allocations: 2.759 MB / 442.5 MB, free: 0.6602 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.157e-05/0.01213, allocations: 105.1 kB / 442.7 MB, free: 0.5312 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.224e-05/0.01215, allocations: 4 kB / 442.7 MB, free: 0.5273 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.696e-05/0.01219, allocations: 28.48 kB / 442.7 MB, free: 0.5 MB / 410.7 MB Notification: Performance of SimCode: time 1.092e-06/0.01219, allocations: 0 / 442.7 MB, free: 0.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1777/0.1899, allocations: 4.31 MB / 447 MB, free: 54 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.652/6.842, allocations: 1.25 kB / 447 MB, free: 54 MB / 410.7 MB " [Timeout remaining time 653] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc2_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc2.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.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.72340415045619]