Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.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.001729/0.001729, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 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.002361/0.002361, allocations: 220.3 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.538/1.538, allocations: 207.6 MB / 233 MB, free: 9.98 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.07386/0.07386, allocations: 14.39 MB / 299.7 MB, free: 7.434 MB / 238.1 MB " [Timeout remaining time 180] Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(PowerGrids.Functions.Test.TestTimeConstants,fileNamePrefix="PowerGrids_PowerGrids_Functions_Test_TestTimeConstants",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Functions.Test.TestTimeConstants,fileNamePrefix="PowerGrids_PowerGrids_Functions_Test_TestTimeConstants",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002413/0.002413, allocations: 75.89 kB / 420.6 MB, free: 39.29 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08866/0.09107, allocations: 52.9 MB / 473.5 MB, free: 2.309 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001747/0.09282, allocations: 495.9 kB / 474 MB, free: 1.828 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000361/0.09318, allocations: 128 kB / 474.1 MB, free: 1.703 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.667e-05/0.0932, allocations: 0 / 474.1 MB, free: 1.703 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.506e-05/0.09322, allocations: 0 / 474.1 MB, free: 1.703 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002766/0.0935, allocations: 15.94 kB / 474.1 MB, free: 1.688 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.607e-06/0.0935, allocations: 3.938 kB / 474.1 MB, free: 1.684 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 3.45e-05/0.09353, allocations: 4 kB / 474.1 MB, free: 1.68 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.271e-05/0.09358, allocations: 7.984 kB / 474.1 MB, free: 1.672 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.321e-05/0.09359, allocations: 3.938 kB / 474.2 MB, free: 1.668 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/0.09371, allocations: 11.98 kB / 474.2 MB, free: 1.656 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.857e-06/0.09371, allocations: 0 / 474.2 MB, free: 1.656 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.826e-06/0.09371, allocations: 0 / 474.2 MB, free: 1.656 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.432e-06/0.09372, allocations: 0 / 474.2 MB, free: 1.656 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.036e-05/0.09373, allocations: 0 / 474.2 MB, free: 1.656 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 3.622e-05/0.09377, allocations: 3.938 kB / 474.2 MB, free: 1.652 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.09377, allocations: 4 kB / 474.2 MB, free: 1.648 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.09377, allocations: 0 / 474.2 MB, free: 1.648 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.417e-06/0.09378, allocations: 8 kB / 474.2 MB, free: 1.641 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002636/0.09405, allocations: 238.7 kB / 474.4 MB, free: 1.375 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.09408, allocations: 8.031 kB / 474.4 MB, free: 1.367 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.418e-05/0.09412, allocations: 30.75 kB / 474.5 MB, free: 1.328 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.79e-05/0.09414, allocations: 0.9375 kB / 474.5 MB, free: 1.328 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.425e-05/0.09422, allocations: 106.5 kB / 474.6 MB, free: 1.199 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.09423, allocations: 4.375 kB / 474.6 MB, free: 1.195 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.696e-06/0.09424, allocations: 384 / 474.6 MB, free: 1.195 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000113/0.09435, allocations: 51.91 kB / 474.6 MB, free: 1.133 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.09436, allocations: 3.938 kB / 474.6 MB, free: 1.129 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.003e-06/0.09437, allocations: 0 / 474.6 MB, free: 1.129 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.09438, allocations: 3.938 kB / 474.6 MB, free: 1.125 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.784e-05/0.09441, allocations: 4 kB / 474.6 MB, free: 1.121 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003868/0.0948, allocations: 442.7 kB / 475.1 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.09491, allocations: 173.1 kB / 475.2 MB, free: 472 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.061e-05/0.09495, allocations: 80.14 kB / 475.3 MB, free: 388 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.452e-05/0.09499, allocations: 75.28 kB / 475.4 MB, free: 312 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.388e-05/0.09505, allocations: 109.9 kB / 475.5 MB, free: 192 kB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.09505, allocations: 0 / 475.5 MB, free: 192 kB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 7.452e-05/0.09512, allocations: 33.64 kB / 475.5 MB, free: 152 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.794e-05/0.0952, allocations: 126.7 kB / 475.6 MB, free: 12 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.09531, allocations: 97.86 kB / 475.7 MB, free: 15.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.09532, allocations: 25.7 kB / 475.8 MB, free: 15.88 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.28e-05/0.09538, allocations: 88.08 kB / 475.8 MB, free: 15.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.305e-06/0.09538, allocations: 0 / 475.8 MB, free: 15.79 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/0.09541, allocations: 21.67 kB / 475.9 MB, free: 15.76 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.09554, allocations: 315 kB / 476.2 MB, free: 15.44 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.055e-06/0.09555, allocations: 0 / 476.2 MB, free: 15.44 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.625e-05/0.09557, allocations: 13.72 kB / 476.2 MB, free: 15.42 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.399e-05/0.0956, allocations: 17.66 kB / 476.2 MB, free: 15.4 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.0956, allocations: 3.938 kB / 476.2 MB, free: 15.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001038/0.09571, allocations: 49.72 kB / 476.3 MB, free: 15.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.09572, allocations: 4 kB / 476.3 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.09573, allocations: 0 / 476.3 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.09574, allocations: 4 kB / 476.3 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.806e-05/0.09579, allocations: 0 / 476.3 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.09579, allocations: 4 kB / 476.3 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.512e-05/0.09581, allocations: 4 kB / 476.3 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.958e-06/0.09581, allocations: 0 / 476.3 MB, free: 15.32 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 9.947e-05/0.09591, allocations: 193 kB / 476.5 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.926e-05/0.09598, allocations: 113 kB / 476.6 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.16e-05/0.09603, allocations: 104.1 kB / 476.7 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.556e-05/0.09611, allocations: 180.2 kB / 476.9 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.132e-05/0.09619, allocations: 180.3 kB / 477 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.29e-05/0.09627, allocations: 180.2 kB / 477.2 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002618/0.09653, allocations: 384.2 kB / 477.6 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.752e-05/0.09659, allocations: 105 kB / 477.7 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.788e-05/0.09664, allocations: 104.9 kB / 477.8 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.32e-05/0.09672, allocations: 180.2 kB / 478 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.017e-05/0.0968, allocations: 180.2 kB / 478.1 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.936e-05/0.09688, allocations: 180.3 kB / 478.3 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.625e-05/0.09696, allocations: 184.3 kB / 478.5 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000165/0.09712, allocations: 307.7 kB / 478.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.399e-05/0.09717, allocations: 112.9 kB / 478.9 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.218e-05/0.09726, allocations: 180.5 kB / 479.1 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.994e-05/0.09734, allocations: 105 kB / 479.2 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.104e-05/0.09742, allocations: 184.2 kB / 479.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-05/0.09747, allocations: 109 kB / 479.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.353e-05/0.09751, allocations: 79.28 kB / 479.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.09751, allocations: 0 / 479.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002123/0.09772, allocations: 0 / 479.5 MB, free: 11.85 MB / 350.1 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.0005014/0.09822, allocations: 0.8087 MB / 480.4 MB, free: 11.01 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.518e-05/0.09831, allocations: 4 kB / 480.4 MB, free: 11.01 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.09831, allocations: 4 kB / 480.4 MB, free: 11 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.376e-06/0.09831, allocations: 3.938 kB / 480.4 MB, free: 11 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003905/0.0987, allocations: 459.8 kB / 480.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003976/0.0991, allocations: 189.7 kB / 481 MB, free: 10.32 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000304/0.09941, allocations: 0.6729 MB / 481.7 MB, free: 9.621 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.741e-05/0.09942, allocations: 0 / 481.7 MB, free: 9.621 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.518e-05/0.09945, allocations: 11.44 kB / 481.7 MB, free: 9.609 MB / 350.1 MB Notification: Performance of SimCode: time 3.9e-07/0.09945, allocations: 0 / 481.7 MB, free: 9.609 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02841/0.1279, allocations: 1.016 MB / 482.7 MB, free: 8.629 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.4, allocations: 15.95 kB / 482.7 MB, free: 8.613 MB / 350.1 MB " [Timeout remaining time 648] (rm -f PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.pipe ; mkfifo PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.pipe >> ../files/PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Functions.Test.TestTimeConstants_res.mat --tempDir=temp_PowerGrids_PowerGrids_Functions_Test_TestTimeConstants_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Functions_Test_TestTimeConstants.fmu > PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerGrids_PowerGrids.Functions.Test.TestTimeConstants_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Functions.Test.TestTimeConstants_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.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: 14.272173024015501]