Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.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.0013/0.0013, allocations: 91.67 kB / 20.68 MB, free: 3.871 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.00103/0.00103, allocations: 166 kB / 23.95 MB, free: 0.6016 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.9537/0.9537, allocations: 177.1 MB / 204.3 MB, free: 5.719 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.2462/0.2462, allocations: 29.41 MB / 290.1 MB, free: 2.473 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_matrixEqCirc3,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.081e-05/2.263e-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_matrixEqCirc3): time 0.003631/0.003653, allocations: 2.146 MB / 432.4 MB, free: 11.44 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008817/0.004535, allocations: 0.5414 MB / 432.9 MB, free: 10.89 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.833e-05/0.004583, allocations: 3.938 kB / 432.9 MB, free: 10.89 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001331/0.004716, allocations: 15.91 kB / 432.9 MB, free: 10.88 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.02e-05/0.004807, allocations: 19.91 kB / 432.9 MB, free: 10.86 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003755/0.005182, allocations: 79.69 kB / 433 MB, free: 10.78 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001258/0.005308, allocations: 55.77 kB / 433.1 MB, free: 10.72 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.462e-05/0.005362, allocations: 7.984 kB / 433.1 MB, free: 10.71 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000166/0.005528, allocations: 35.91 kB / 433.1 MB, free: 10.68 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.923e-05/0.005588, allocations: 35.89 kB / 433.1 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.136e-05/0.005599, allocations: 3.938 kB / 433.2 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002006/0.0058, allocations: 103.7 kB / 433.3 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.55e-05/0.005865, allocations: 51.78 kB / 433.3 MB, free: 10.49 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.423e-05/0.005899, allocations: 15.88 kB / 433.3 MB, free: 10.47 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002205/0.00612, allocations: 143.5 kB / 433.5 MB, free: 10.33 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.006123, allocations: 0 / 433.5 MB, free: 10.33 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.006124, allocations: 0 / 433.5 MB, free: 10.33 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.00613, allocations: 0 / 433.5 MB, free: 10.33 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0004356/0.006566, allocations: 415.1 kB / 433.9 MB, free: 9.891 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.006615, allocations: 15.98 kB / 433.9 MB, free: 9.875 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.227e-05/0.006657, allocations: 50.73 kB / 433.9 MB, free: 9.816 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.62e-05/0.006694, allocations: 16.8 kB / 433.9 MB, free: 9.801 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001569/0.00685, allocations: 134.1 kB / 434.1 MB, free: 9.645 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.006861, allocations: 384 / 434.1 MB, free: 9.645 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.143e-05/0.006872, allocations: 8.125 kB / 434.1 MB, free: 9.637 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002447/0.007117, allocations: 216.2 kB / 434.3 MB, free: 9.414 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.007125, allocations: 0 / 434.3 MB, free: 9.414 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.007134, allocations: 4 kB / 434.3 MB, free: 9.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.007138, allocations: 0 / 434.3 MB, free: 9.41 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001652/0.007303, allocations: 193.9 kB / 434.5 MB, free: 9.215 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001612/0.007465, allocations: 165.2 kB / 434.7 MB, free: 9.012 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001949/0.00766, allocations: 204.5 kB / 434.9 MB, free: 8.797 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001691/0.007829, allocations: 190.8 kB / 435 MB, free: 8.602 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.235e-06/0.007837, allocations: 0 / 435 MB, free: 8.602 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.007864, allocations: 38.48 kB / 435.1 MB, free: 8.555 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 9.52e-07/0.007865, allocations: 0 / 435.1 MB, free: 8.555 MB / 410.7 MB Notification: Performance of matching and sorting (n=40): time 0.0007664/0.008631, allocations: 0.679 MB / 435.8 MB, free: 7.852 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.034e-05/0.008702, allocations: 113.1 kB / 435.9 MB, free: 7.723 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.008831, allocations: 145.6 kB / 436 MB, free: 7.566 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.008846, allocations: 25.7 kB / 436 MB, free: 7.535 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.136e-05/0.008897, allocations: 104.8 kB / 436.1 MB, free: 7.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/0.009, allocations: 130.8 kB / 436.3 MB, free: 7.301 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.455e-05/0.009054, allocations: 33.69 kB / 436.3 MB, free: 7.262 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.009185, allocations: 330.8 kB / 436.6 MB, free: 6.93 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000176/0.009361, allocations: 185.6 kB / 436.8 MB, free: 6.742 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001523/0.009513, allocations: 185.6 kB / 437 MB, free: 6.555 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000392/0.009905, allocations: 437.3 kB / 437.4 MB, free: 6.113 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.009908, allocations: 0 / 437.4 MB, free: 6.113 MB / 410.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004464/0.01035, allocations: 448.8 kB / 437.8 MB, free: 5.656 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.777e-05/0.01044, allocations: 89.62 kB / 437.9 MB, free: 5.562 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.01045, allocations: 4.062 kB / 437.9 MB, free: 5.559 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.01046, allocations: 0 / 437.9 MB, free: 5.559 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.595e-06/0.01046, allocations: 4 kB / 437.9 MB, free: 5.555 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.01047, allocations: 0 / 437.9 MB, free: 5.555 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.968e-05/0.01052, allocations: 23.77 kB / 438 MB, free: 5.531 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.707e-05/0.01055, allocations: 8 kB / 438 MB, free: 5.523 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.0001986/0.01074, allocations: 231.4 kB / 438.2 MB, free: 5.281 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.051e-05/0.01077, allocations: 27.86 kB / 438.2 MB, free: 5.254 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.133e-05/0.0108, allocations: 13.94 kB / 438.2 MB, free: 5.234 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.0108, allocations: 7.938 kB / 438.2 MB, free: 5.227 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.01081, allocations: 4 kB / 438.3 MB, free: 5.223 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.01081, allocations: 0 / 438.3 MB, free: 5.223 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001497/0.01096, allocations: 184.5 kB / 438.4 MB, free: 5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.01096, allocations: 0 / 438.4 MB, free: 5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.974e-06/0.01096, allocations: 3.984 kB / 438.4 MB, free: 4.996 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.01096, allocations: 3.938 kB / 438.4 MB, free: 4.992 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.866e-05/0.01098, allocations: 8 kB / 438.4 MB, free: 4.984 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.01099, allocations: 0 / 438.4 MB, free: 4.984 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.01099, allocations: 0 / 438.4 MB, free: 4.984 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008528/0.01184, allocations: 0.7615 MB / 439.2 MB, free: 4.191 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.431e-05/0.01186, allocations: 23.78 kB / 439.2 MB, free: 4.168 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.677e-05/0.01189, allocations: 8.031 kB / 439.2 MB, free: 4.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.966e-05/0.01193, allocations: 8 kB / 439.2 MB, free: 4.152 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.665e-05/0.01196, allocations: 4 kB / 439.3 MB, free: 4.148 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.604e-05/0.01197, allocations: 8 kB / 439.3 MB, free: 4.141 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.164e-05/0.01205, allocations: 114.4 kB / 439.4 MB, free: 4.031 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01205, allocations: 0 / 439.4 MB, free: 4.031 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000321/0.01238, allocations: 63.94 kB / 439.4 MB, free: 3.969 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.001261/0.01364, allocations: 1.318 MB / 440.8 MB, free: 2.609 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006034/0.01424, allocations: 0.7406 MB / 441.5 MB, free: 1.844 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.01424, allocations: 4.094 kB / 441.5 MB, free: 1.84 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002759/0.01452, allocations: 436.8 kB / 441.9 MB, free: 1.395 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000247/0.01476, allocations: 20 kB / 441.9 MB, free: 1.375 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1692/0.1839, allocations: 3.728 MB / 445.7 MB, free: 53.75 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.827e-05/0.184, allocations: 135.1 kB / 445.8 MB, free: 53.67 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.212e-05/0.184, allocations: 0 / 445.8 MB, free: 53.67 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.674e-05/0.1841, allocations: 45.11 kB / 445.8 MB, free: 53.64 MB / 410.7 MB Notification: Performance of SimCode: time 1.353e-06/0.1841, allocations: 0 / 445.8 MB, free: 53.64 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01953/0.2036, allocations: 5.602 MB / 451.4 MB, free: 52.56 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.02/7.224, allocations: 11.75 kB / 451.5 MB, free: 52.55 MB / 410.7 MB " [Timeout remaining time 653] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.sim & python3 -m fmpy simulate --output-file PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc3.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3_res.csv. Warning: Get data of variable Time from file PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3_res.csv failed! Error: Could not read variable zr_q[2] in file PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3_res.csv. Warning: Get data of variable zr_q[2] from file PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3_res.csv failed! Error: Could not read variable zr_q[3] in file PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3_res.csv. Warning: Get data of variable zr_q[3] from file PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3_res.csv failed! Error: Could not read variable zr_q[4] in file PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3_res.csv. Warning: Get data of variable zr_q[4] from file PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.32581060193479]