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.0008946/0.0008946, allocations: 79.69 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.001125/0.001125, 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.9195/0.9195, 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.2144/0.2144, allocations: 29.4 MB / 290.1 MB, free: 2.445 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.633e-06/1.633e-06, allocations: 0 / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.157e-05/2.32e-05, allocations: 2.281 kB / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.002473/0.002496, allocations: 2.141 MB / 432.4 MB, free: 11.43 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005539/0.00305, allocations: 0.5375 MB / 432.9 MB, free: 10.89 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.792e-05/0.003088, allocations: 0 / 432.9 MB, free: 10.89 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001318/0.00322, allocations: 19.91 kB / 432.9 MB, free: 10.87 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.451e-05/0.003294, allocations: 19.91 kB / 432.9 MB, free: 10.85 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003248/0.003619, allocations: 79.69 kB / 433 MB, free: 10.77 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001061/0.003725, allocations: 67.69 kB / 433.1 MB, free: 10.7 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.154e-05/0.003767, allocations: 4 kB / 433.1 MB, free: 10.7 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001269/0.003894, allocations: 39.83 kB / 433.1 MB, free: 10.66 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.071e-05/0.003934, allocations: 23.91 kB / 433.1 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.124e-05/0.003945, allocations: 4 kB / 433.1 MB, free: 10.63 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001471/0.004093, allocations: 99.72 kB / 433.2 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.506e-05/0.004148, allocations: 47.8 kB / 433.3 MB, free: 10.49 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.703e-05/0.004175, allocations: 23.86 kB / 433.3 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001742/0.004349, allocations: 147.5 kB / 433.5 MB, free: 10.32 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.004351, allocations: 0 / 433.5 MB, free: 10.32 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.004352, allocations: 0 / 433.5 MB, free: 10.32 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.658e-06/0.004357, allocations: 0 / 433.5 MB, free: 10.32 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.0003418/0.004699, allocations: 415.1 kB / 433.9 MB, free: 9.879 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.004738, allocations: 11.98 kB / 433.9 MB, free: 9.867 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.614e-05/0.004774, allocations: 46.73 kB / 433.9 MB, free: 9.812 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.12e-05/0.004805, allocations: 20.73 kB / 433.9 MB, free: 9.793 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.004938, allocations: 134.1 kB / 434.1 MB, free: 9.637 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.595e-06/0.004946, allocations: 4.375 kB / 434.1 MB, free: 9.633 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.376e-06/0.004954, allocations: 8.062 kB / 434.1 MB, free: 9.625 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002119/0.005166, allocations: 220.3 kB / 434.3 MB, free: 9.398 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.005174, allocations: 0 / 434.3 MB, free: 9.398 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.005181, allocations: 0 / 434.3 MB, free: 9.398 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.005186, allocations: 4 kB / 434.3 MB, free: 9.395 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00012/0.005306, allocations: 182 kB / 434.5 MB, free: 9.211 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001289/0.005435, allocations: 169.2 kB / 434.6 MB, free: 9.004 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001337/0.005569, allocations: 204.5 kB / 434.8 MB, free: 8.789 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.005674, allocations: 190.8 kB / 435 MB, free: 8.594 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.362e-06/0.00568, allocations: 7.984 kB / 435 MB, free: 8.586 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.826e-05/0.005698, allocations: 30.56 kB / 435.1 MB, free: 8.547 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 1.022e-06/0.005699, allocations: 0 / 435.1 MB, free: 8.547 MB / 410.7 MB Notification: Performance of matching and sorting (n=40): time 0.0005183/0.006218, allocations: 0.6868 MB / 435.8 MB, free: 7.836 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.728e-05/0.006275, allocations: 105.1 kB / 435.9 MB, free: 7.715 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.832e-05/0.006373, allocations: 145.2 kB / 436 MB, free: 7.559 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/0.006385, allocations: 29.7 kB / 436 MB, free: 7.523 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4e-05/0.006425, allocations: 104.7 kB / 436.1 MB, free: 7.418 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.244e-05/0.006497, allocations: 126.8 kB / 436.3 MB, free: 7.293 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.68e-05/0.006534, allocations: 37.7 kB / 436.3 MB, free: 7.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.926e-05/0.006623, allocations: 334.8 kB / 436.6 MB, free: 6.914 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001115/0.006735, allocations: 189.7 kB / 436.8 MB, free: 6.723 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/0.006835, allocations: 177.6 kB / 437 MB, free: 6.543 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002528/0.007088, allocations: 437.3 kB / 437.4 MB, free: 6.102 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.00709, allocations: 0 / 437.4 MB, free: 6.102 MB / 410.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003024/0.007392, allocations: 448.8 kB / 437.8 MB, free: 5.645 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.676e-05/0.007459, allocations: 88.59 kB / 437.9 MB, free: 5.555 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.007466, allocations: 4 kB / 437.9 MB, free: 5.551 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.007479, allocations: 0 / 437.9 MB, free: 5.551 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.834e-06/0.007481, allocations: 4 kB / 437.9 MB, free: 5.547 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.007487, allocations: 3.938 kB / 437.9 MB, free: 5.543 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.142e-05/0.007519, allocations: 23.83 kB / 438 MB, free: 5.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.319e-05/0.007542, allocations: 12 kB / 438 MB, free: 5.508 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.0001346/0.007676, allocations: 231.4 kB / 438.2 MB, free: 5.266 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.74e-05/0.007694, allocations: 23.86 kB / 438.2 MB, free: 5.242 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.652e-05/0.00771, allocations: 9.969 kB / 438.2 MB, free: 5.227 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.007714, allocations: 3.984 kB / 438.2 MB, free: 5.223 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.007719, allocations: 7.938 kB / 438.2 MB, free: 5.215 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.007722, allocations: 0 / 438.2 MB, free: 5.215 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001076/0.00783, allocations: 184.5 kB / 438.4 MB, free: 4.992 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.007831, allocations: 0 / 438.4 MB, free: 4.992 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.052e-06/0.007832, allocations: 0 / 438.4 MB, free: 4.992 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.82e-07/0.007833, allocations: 4 kB / 438.4 MB, free: 4.988 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.007846, allocations: 11.98 kB / 438.4 MB, free: 4.977 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.007847, allocations: 0 / 438.4 MB, free: 4.977 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.007847, allocations: 0 / 438.4 MB, free: 4.977 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005257/0.008373, allocations: 0.7615 MB / 439.2 MB, free: 4.184 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.689e-05/0.00839, allocations: 23.78 kB / 439.2 MB, free: 4.16 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/0.008408, allocations: 8 kB / 439.2 MB, free: 4.152 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.95e-05/0.008427, allocations: 11.94 kB / 439.2 MB, free: 4.141 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.69e-05/0.008444, allocations: 0 / 439.2 MB, free: 4.141 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.008456, allocations: 8 kB / 439.3 MB, free: 4.133 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.628e-05/0.008503, allocations: 111.2 kB / 439.4 MB, free: 4.023 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.008503, allocations: 4.031 kB / 439.4 MB, free: 4.02 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001802/0.008683, allocations: 63.94 kB / 439.4 MB, free: 3.957 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.0007645/0.009447, allocations: 1.314 MB / 440.7 MB, free: 2.602 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005408/0.009988, allocations: 0.7445 MB / 441.5 MB, free: 1.832 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.00999, allocations: 0 / 441.5 MB, free: 1.832 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002662/0.01026, allocations: 428.9 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.0001846/0.01044, allocations: 24.16 kB / 441.9 MB, free: 1.371 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1505/0.161, allocations: 3.733 MB / 445.7 MB, free: 53.72 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.762e-05/0.161, allocations: 134.9 kB / 445.8 MB, free: 53.64 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.336e-05/0.1611, allocations: 1.406 kB / 445.8 MB, free: 53.64 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.82e-05/0.1611, allocations: 46.33 kB / 445.8 MB, free: 53.61 MB / 410.7 MB Notification: Performance of SimCode: time 1.002e-06/0.1611, allocations: 0 / 445.8 MB, free: 53.61 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01623/0.1773, allocations: 5.603 MB / 451.4 MB, free: 52.53 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.622/6.799, allocations: 3.859 kB / 451.5 MB, free: 52.52 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc3_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.716184295713902]