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.0007924/0.0007924, 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.000823/0.000823, 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.9225/0.9225, allocations: 177.1 MB / 204.3 MB, free: 5.707 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.2541/0.2541, allocations: 29.4 MB / 290.1 MB, free: 2.449 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 2.204e-06/2.204e-06, allocations: 0 / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.637e-05/2.857e-05, allocations: 6.781 kB / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2): time 0.002718/0.002746, allocations: 2.142 MB / 432.4 MB, free: 11.43 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007271/0.003474, allocations: 0.5375 MB / 432.9 MB, free: 10.89 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.018e-05/0.003534, allocations: 0 / 432.9 MB, free: 10.89 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005765/0.00411, allocations: 7.922 kB / 432.9 MB, free: 10.88 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001144/0.004225, allocations: 27.89 kB / 432.9 MB, free: 10.86 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004897/0.004714, allocations: 79.67 kB / 433 MB, free: 10.78 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001321/0.004847, allocations: 67.7 kB / 433.1 MB, free: 10.71 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.656e-05/0.004903, allocations: 0 / 433.1 MB, free: 10.71 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001937/0.005097, allocations: 43.83 kB / 433.1 MB, free: 10.67 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.286e-05/0.00515, allocations: 23.91 kB / 433.1 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.311e-05/0.005163, allocations: 0 / 433.1 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001827/0.005345, allocations: 103.7 kB / 433.3 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.556e-05/0.005401, allocations: 39.78 kB / 433.3 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.542e-05/0.005426, allocations: 11.94 kB / 433.3 MB, free: 10.49 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001745/0.005601, allocations: 119.7 kB / 433.4 MB, free: 10.38 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.005607, allocations: 4 kB / 433.4 MB, free: 10.37 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.674e-06/0.005609, allocations: 4 kB / 433.4 MB, free: 10.37 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.005614, 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.0003738/0.005988, allocations: 367.4 kB / 433.8 MB, free: 9.973 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.309e-05/0.006041, allocations: 11.98 kB / 433.8 MB, free: 9.961 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.973e-05/0.006081, allocations: 38.73 kB / 433.8 MB, free: 9.914 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.244e-05/0.006123, allocations: 16.78 kB / 433.9 MB, free: 9.898 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001849/0.006308, allocations: 133.6 kB / 434 MB, free: 9.742 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.006323, allocations: 4.375 kB / 434 MB, free: 9.738 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.888e-06/0.006333, allocations: 384 / 434 MB, free: 9.738 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002091/0.006542, allocations: 151.7 kB / 434.1 MB, free: 9.578 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.006551, allocations: 11.94 kB / 434.1 MB, free: 9.566 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.006561, allocations: 0 / 434.1 MB, free: 9.566 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.006567, allocations: 0 / 434.1 MB, free: 9.566 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000105/0.006672, allocations: 129.5 kB / 434.3 MB, free: 9.434 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000175/0.006847, allocations: 144.7 kB / 434.4 MB, free: 9.25 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001503/0.006998, allocations: 136.2 kB / 434.5 MB, free: 9.102 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001/0.007098, allocations: 130.5 kB / 434.7 MB, free: 8.965 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.077e-06/0.007107, allocations: 0 / 434.7 MB, free: 8.965 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.007138, allocations: 34.5 kB / 434.7 MB, free: 8.922 MB / 410.7 MB Notification: Performance of pre-optimization done (n=24): time 1.222e-06/0.007139, allocations: 4 kB / 434.7 MB, free: 8.918 MB / 410.7 MB Notification: Performance of matching and sorting (n=24): time 0.000551/0.00769, allocations: 450 kB / 435.2 MB, free: 8.457 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.958e-05/0.00775, allocations: 105.1 kB / 435.3 MB, free: 8.336 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.007856, allocations: 129.8 kB / 435.4 MB, free: 8.199 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.075e-05/0.007867, allocations: 25.7 kB / 435.4 MB, free: 8.168 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.979e-05/0.007917, allocations: 96.62 kB / 435.5 MB, free: 8.07 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.482e-05/0.007982, allocations: 83.22 kB / 435.6 MB, free: 7.988 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.009e-05/0.008022, allocations: 29.7 kB / 435.6 MB, free: 7.953 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.008126, allocations: 322.8 kB / 435.9 MB, free: 7.629 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.091e-05/0.008217, allocations: 129.5 kB / 436.1 MB, free: 7.496 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.139e-05/0.008299, allocations: 121.7 kB / 436.2 MB, free: 7.371 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001946/0.008493, allocations: 286.1 kB / 436.4 MB, free: 7.078 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.008495, allocations: 4.031 kB / 436.5 MB, free: 7.074 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002346/0.00873, allocations: 317.5 kB / 436.8 MB, free: 6.746 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.08e-05/0.008801, allocations: 65.66 kB / 436.8 MB, free: 6.676 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.008808, allocations: 0 / 436.8 MB, free: 6.676 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.008824, allocations: 0 / 436.8 MB, free: 6.676 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.154e-06/0.008826, allocations: 4 kB / 436.8 MB, free: 6.672 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.008834, allocations: 4 kB / 436.8 MB, free: 6.668 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.923e-05/0.008863, allocations: 15.83 kB / 436.9 MB, free: 6.652 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.172e-05/0.008885, 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.0001264/0.009011, allocations: 195.5 kB / 437 MB, free: 6.441 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.784e-05/0.009029, allocations: 23.91 kB / 437.1 MB, free: 6.418 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.466e-05/0.009044, allocations: 9.281 kB / 437.1 MB, free: 6.406 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.009045, allocations: 0 / 437.1 MB, free: 6.406 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.00905, allocations: 0 / 437.1 MB, free: 6.406 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.009053, allocations: 0 / 437.1 MB, free: 6.406 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.939e-05/0.009152, allocations: 164.6 kB / 437.2 MB, free: 6.203 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.009153, allocations: 0 / 437.2 MB, free: 6.203 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-07/0.009154, allocations: 0 / 437.2 MB, free: 6.203 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.009157, allocations: 7.875 kB / 437.2 MB, free: 6.195 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.009168, allocations: 4 kB / 437.3 MB, free: 6.191 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.00917, allocations: 0 / 437.3 MB, free: 6.191 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.009171, allocations: 4 kB / 437.3 MB, free: 6.188 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003689/0.00954, allocations: 0.4923 MB / 437.7 MB, free: 5.664 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.683e-05/0.009557, allocations: 19.78 kB / 437.8 MB, free: 5.645 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.821e-05/0.009575, allocations: 11.98 kB / 437.8 MB, free: 5.633 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.591e-05/0.009591, allocations: 4 kB / 437.8 MB, free: 5.629 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.774e-05/0.009608, allocations: 4 kB / 437.8 MB, free: 5.625 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/0.009617, allocations: 4 kB / 437.8 MB, free: 5.621 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.859e-05/0.009665, allocations: 106.5 kB / 437.9 MB, free: 5.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.009665, allocations: 0 / 437.9 MB, free: 5.52 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000191/0.009856, allocations: 47.92 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.000639/0.0105, allocations: 1.057 MB / 439 MB, free: 4.375 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003862/0.01088, allocations: 498.6 kB / 439.5 MB, free: 3.863 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.01088, allocations: 0 / 439.5 MB, free: 3.863 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001756/0.01106, allocations: 293 kB / 439.8 MB, free: 3.559 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001928/0.01125, allocations: 19.94 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.002192/0.01344, allocations: 2.755 MB / 442.5 MB, free: 0.6641 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.357e-05/0.01352, allocations: 109.3 kB / 442.7 MB, free: 0.5312 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.333e-05/0.01354, allocations: 0 / 442.7 MB, free: 0.5312 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.996e-05/0.01358, allocations: 36.48 kB / 442.7 MB, free: 0.4961 MB / 410.7 MB Notification: Performance of SimCode: time 8.21e-07/0.01358, allocations: 0 / 442.7 MB, free: 0.4961 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1942/0.2078, allocations: 4.302 MB / 447 MB, free: 54.04 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.045/7.252, allocations: 5.109 kB / 447 MB, free: 54.04 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 & python3 -m fmpy simulate --output-file PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2_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_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.csv","/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] "Error: Could not read variable Time in file PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2_res.csv. Warning: Get data of variable Time from file PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2_res.csv failed! Error: Could not read variable zr_q[3] in file PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2_res.csv. Warning: Get data of variable zr_q[3] from file PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.27146053314209]