Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.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.00112/0.00112, 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.001211/0.001211, allocations: 170 kB / 23.95 MB, free: 0.6133 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.9409/0.9409, allocations: 177.1 MB / 204.3 MB, free: 5.715 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.2319/0.2319, allocations: 29.41 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_matrixEqCirc0,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc0",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.698e-05/1.85e-05, allocations: 6.219 kB / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0): time 0.002232/0.00225, allocations: 2.136 MB / 432.4 MB, free: 11.44 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005694/0.00282, allocations: 0.5375 MB / 432.9 MB, free: 10.9 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.975e-05/0.002859, allocations: 0 / 432.9 MB, free: 10.9 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001677/0.003027, allocations: 23.91 kB / 432.9 MB, free: 10.88 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.104e-05/0.003098, allocations: 19.84 kB / 432.9 MB, free: 10.86 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000306/0.003404, allocations: 83.67 kB / 433 MB, free: 10.77 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001081/0.003512, allocations: 63.7 kB / 433.1 MB, free: 10.71 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.061e-05/0.003553, allocations: 4 kB / 433.1 MB, free: 10.71 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001336/0.003686, allocations: 43.83 kB / 433.1 MB, free: 10.66 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.514e-05/0.003732, allocations: 27.89 kB / 433.2 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.526e-06/0.00374, allocations: 0 / 433.2 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001609/0.003901, allocations: 99.72 kB / 433.3 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.258e-05/0.003944, allocations: 23.88 kB / 433.3 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.316e-05/0.003967, allocations: 11.92 kB / 433.3 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001464/0.004113, allocations: 99.73 kB / 433.4 MB, free: 10.41 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.004116, allocations: 0 / 433.4 MB, free: 10.41 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.004118, allocations: 0 / 433.4 MB, free: 10.41 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.947e-06/0.004122, allocations: 0 / 433.4 MB, free: 10.41 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0002913/0.004413, allocations: 314.7 kB / 433.7 MB, free: 10.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.004451, allocations: 15.98 kB / 433.7 MB, free: 10.05 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.594e-05/0.004477, allocations: 34.75 kB / 433.7 MB, free: 10.01 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.691e-05/0.004504, allocations: 8.891 kB / 433.7 MB, free: 10 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.004624, allocations: 117.7 kB / 433.9 MB, free: 9.859 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.348e-06/0.004633, allocations: 8.375 kB / 433.9 MB, free: 9.852 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.584e-06/0.00464, allocations: 384 / 433.9 MB, free: 9.852 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/0.004761, allocations: 99.62 kB / 434 MB, free: 9.742 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.182e-06/0.004767, allocations: 0 / 434 MB, free: 9.742 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.685e-06/0.004775, allocations: 0 / 434 MB, free: 9.742 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.004779, allocations: 0 / 434 MB, free: 9.742 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.87e-05/0.004828, allocations: 61.69 kB / 434 MB, free: 9.676 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000107/0.004935, allocations: 128.8 kB / 434.2 MB, free: 9.508 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.552e-05/0.005, allocations: 76.25 kB / 434.2 MB, free: 9.418 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.88e-05/0.005039, allocations: 62.58 kB / 434.3 MB, free: 9.348 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.464e-06/0.005047, allocations: 8 kB / 434.3 MB, free: 9.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.00507, allocations: 38.44 kB / 434.3 MB, free: 9.293 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.002e-06/0.005071, allocations: 0 / 434.3 MB, free: 9.293 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002295/0.005301, allocations: 230.7 kB / 434.6 MB, free: 9.043 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.005337, allocations: 85.11 kB / 434.6 MB, free: 8.941 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.484e-05/0.005402, allocations: 117.8 kB / 434.8 MB, free: 8.816 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.009e-05/0.005412, allocations: 25.7 kB / 434.8 MB, free: 8.785 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.269e-05/0.005445, allocations: 92.5 kB / 434.9 MB, free: 8.691 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.94e-05/0.005474, allocations: 23.89 kB / 434.9 MB, free: 8.668 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.762e-05/0.005502, allocations: 25.7 kB / 434.9 MB, free: 8.637 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.594e-05/0.005578, allocations: 318.8 kB / 435.2 MB, free: 8.316 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.199e-05/0.00562, allocations: 65.66 kB / 435.3 MB, free: 8.246 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.657e-05/0.005656, allocations: 65.61 kB / 435.4 MB, free: 8.176 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.008e-05/0.005746, allocations: 136.5 kB / 435.5 MB, free: 8.027 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.005748, allocations: 0 / 435.5 MB, free: 8.027 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001165/0.005865, allocations: 168.9 kB / 435.7 MB, free: 7.844 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.299e-05/0.005908, allocations: 45.69 kB / 435.7 MB, free: 7.793 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.005913, allocations: 0 / 435.7 MB, free: 7.793 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.005925, allocations: 4 kB / 435.7 MB, free: 7.789 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.593e-06/0.005926, allocations: 4 kB / 435.7 MB, free: 7.785 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.005931, allocations: 0 / 435.7 MB, free: 7.785 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.825e-05/0.00595, allocations: 8 kB / 435.7 MB, free: 7.777 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.727e-05/0.005967, allocations: 7.984 kB / 435.7 MB, free: 7.77 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.951e-05/0.006046, allocations: 151.5 kB / 435.9 MB, free: 7.605 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.187e-05/0.006058, allocations: 19.83 kB / 435.9 MB, free: 7.586 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.191e-05/0.00607, allocations: 4.438 kB / 435.9 MB, free: 7.582 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.006072, allocations: 0 / 435.9 MB, free: 7.582 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.006076, allocations: 0 / 435.9 MB, free: 7.582 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.00608, allocations: 3.984 kB / 435.9 MB, free: 7.578 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.828e-05/0.006158, allocations: 132.8 kB / 436 MB, free: 7.406 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.006159, allocations: 0 / 436 MB, free: 7.406 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.00616, allocations: 0 / 436 MB, free: 7.406 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.006162, allocations: 7.938 kB / 436 MB, free: 7.398 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.006172, allocations: 4 kB / 436 MB, free: 7.395 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.006173, allocations: 0 / 436 MB, free: 7.395 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.006174, allocations: 0 / 436 MB, free: 7.395 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000184/0.006358, allocations: 248.4 kB / 436.3 MB, free: 7.121 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.105e-06/0.006366, allocations: 7.891 kB / 436.3 MB, free: 7.113 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.453e-05/0.006381, allocations: 4 kB / 436.3 MB, free: 7.109 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.045e-05/0.006391, allocations: 0 / 436.3 MB, free: 7.109 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.79e-05/0.006409, allocations: 11.92 kB / 436.3 MB, free: 7.098 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.006415, allocations: 0 / 436.3 MB, free: 7.098 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.184e-05/0.006457, allocations: 91.22 kB / 436.4 MB, free: 7.008 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.006457, allocations: 4.031 kB / 436.4 MB, free: 7.004 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001968/0.006654, allocations: 32.2 kB / 436.4 MB, free: 6.973 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.0004907/0.007145, allocations: 0.7952 MB / 437.2 MB, free: 6.137 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002172/0.007362, allocations: 242.7 kB / 437.5 MB, free: 5.875 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.007363, allocations: 3.938 kB / 437.5 MB, free: 5.871 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.061e-05/0.007444, allocations: 149 kB / 437.6 MB, free: 5.707 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002126/0.007657, allocations: 8 kB / 437.6 MB, free: 5.699 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001133/0.008789, allocations: 1.745 MB / 439.4 MB, free: 3.832 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.213e-05/0.008841, allocations: 75.33 kB / 439.4 MB, free: 3.738 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.877e-05/0.00886, allocations: 3.984 kB / 439.4 MB, free: 3.734 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.952e-05/0.008889, allocations: 12.5 kB / 439.5 MB, free: 3.723 MB / 410.7 MB Notification: Performance of SimCode: time 6.62e-07/0.00889, allocations: 0 / 439.5 MB, free: 3.723 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01468/0.02357, allocations: 2.876 MB / 442.3 MB, free: 0.9648 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.716/6.739, allocations: 12.05 kB / 442.3 MB, free: 0.9531 MB / 410.7 MB " [Timeout remaining time 653] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc0_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc0.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.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.846074040979147]