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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009073/0.009072, allocations: 106 kB / 15.74 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002009/0.00201, allocations: 196 kB / 16.67 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.426/1.426, allocations: 205.1 MB / 222.6 MB, free: 4.492 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06224/0.06224, allocations: 14.16 MB / 284.1 MB, free: 6.969 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 68.45 kB / 395.9 MB, free: 0.543 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2654/0.2669, allocations: 50.15 MB / 446.1 MB, free: 1.93 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001496/0.2685, allocations: 484.1 kB / 446.6 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003473/0.2688, allocations: 117.1 kB / 446.7 MB, free: 1.492 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.949e-05/0.2689, allocations: 1.094 kB / 446.7 MB, free: 1.492 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.663e-05/0.2689, allocations: 3.938 kB / 446.7 MB, free: 1.488 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003106/0.2692, allocations: 22.91 kB / 446.7 MB, free: 1.473 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.426e-06/0.2692, allocations: 4 kB / 446.7 MB, free: 1.469 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.064e-05/0.2693, allocations: 4.844 kB / 446.7 MB, free: 1.465 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.212e-05/0.2693, allocations: 2.094 kB / 446.7 MB, free: 1.465 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.402e-05/0.2693, allocations: 1.281 kB / 446.7 MB, free: 1.465 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001322/0.2695, allocations: 14.56 kB / 446.7 MB, free: 1.457 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.549e-06/0.2695, allocations: 0 / 446.7 MB, free: 1.457 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.768e-06/0.2695, allocations: 0 / 446.7 MB, free: 1.457 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.265e-06/0.2695, allocations: 0 / 446.7 MB, free: 1.457 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.198e-05/0.2695, allocations: 1 kB / 446.7 MB, free: 1.457 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 4.18e-05/0.2696, allocations: 8.969 kB / 446.7 MB, free: 1.449 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.2696, allocations: 0 / 446.7 MB, free: 1.449 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.2696, allocations: 0 / 446.7 MB, free: 1.449 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.2696, allocations: 0 / 446.7 MB, free: 1.449 MB / 318.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.0002536/0.2699, allocations: 315 kB / 447 MB, free: 1.094 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.2699, allocations: 9.656 kB / 447.1 MB, free: 1.094 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.753e-05/0.2699, allocations: 39.8 kB / 447.1 MB, free: 1.047 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.999e-05/0.27, allocations: 0.9375 kB / 447.1 MB, free: 1.047 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.28e-05/0.27, allocations: 161.6 kB / 447.3 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.27, allocations: 384 / 447.3 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.818e-06/0.2701, allocations: 5.438 kB / 447.3 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001085/0.2702, allocations: 48.06 kB / 447.3 MB, free: 0.793 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.2702, allocations: 3.938 kB / 447.3 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.2702, allocations: 0 / 447.3 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.2702, allocations: 1.094 kB / 447.3 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.864e-05/0.2702, allocations: 6.094 kB / 447.3 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002508/0.2705, allocations: 473.2 kB / 447.8 MB, free: 284 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.909e-05/0.2705, allocations: 166.5 kB / 447.9 MB, free: 108 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.862e-05/0.2706, allocations: 92.11 kB / 448 MB, free: 12 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.331e-05/0.2706, allocations: 75.28 kB / 448.1 MB, free: 15.94 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.63e-05/0.2707, allocations: 114.9 kB / 448.2 MB, free: 15.82 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.2707, allocations: 1.031 kB / 448.2 MB, free: 15.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 8.19e-05/0.2708, allocations: 26.67 kB / 448.2 MB, free: 15.79 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.853e-05/0.2708, allocations: 126.7 kB / 448.4 MB, free: 15.65 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.271, allocations: 93.33 kB / 448.5 MB, free: 15.55 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.271, allocations: 25.7 kB / 448.5 MB, free: 15.52 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.026e-05/0.271, allocations: 89.11 kB / 448.6 MB, free: 15.43 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.226e-06/0.271, allocations: 4.125 kB / 448.6 MB, free: 15.43 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.385e-05/0.2711, allocations: 16.92 kB / 448.6 MB, free: 15.41 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.2712, allocations: 310.8 kB / 448.9 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.113e-05/0.2712, allocations: 2.25 kB / 448.9 MB, free: 15.09 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.84e-05/0.2713, allocations: 27.94 kB / 448.9 MB, free: 15.06 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.448e-05/0.2713, allocations: 20.78 kB / 448.9 MB, free: 15.04 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.2713, allocations: 0 / 448.9 MB, free: 15.04 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001063/0.2714, allocations: 42.66 kB / 449 MB, free: 15 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.2714, allocations: 9.375 kB / 449 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.2715, allocations: 0 / 449 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.2715, allocations: 1.062 kB / 449 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.613e-05/0.2715, allocations: 7.188 kB / 449 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.341e-06/0.2715, allocations: 1.25 kB / 449 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.394e-05/0.2716, allocations: 0 / 449 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.2716, allocations: 1.062 kB / 449 MB, free: 14.99 MB / 334.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 0.0001068/0.2717, allocations: 191.3 kB / 449.2 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.126e-05/0.2718, allocations: 106.2 kB / 449.3 MB, free: 14.69 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.088e-05/0.2718, allocations: 109.2 kB / 449.4 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.939e-05/0.2719, allocations: 177.5 kB / 449.6 MB, free: 14.4 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.879e-05/0.272, allocations: 185.3 kB / 449.8 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.812e-05/0.272, allocations: 180.3 kB / 449.9 MB, free: 14.03 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002209/0.2723, allocations: 407.2 kB / 450.3 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.442e-05/0.2723, allocations: 102 kB / 450.4 MB, free: 13.47 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.063e-05/0.2723, allocations: 102.4 kB / 450.5 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.985e-05/0.2724, allocations: 185.5 kB / 450.7 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.116e-05/0.2725, allocations: 180.2 kB / 450.9 MB, free: 12.99 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.129e-05/0.2725, allocations: 185.1 kB / 451.1 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-05/0.2726, allocations: 177.5 kB / 451.2 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001293/0.2727, allocations: 315.9 kB / 451.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.978e-05/0.2728, allocations: 182.1 kB / 451.7 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.032e-05/0.2729, allocations: 186.6 kB / 451.9 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.852e-05/0.273, allocations: 101 kB / 452 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.802e-05/0.273, allocations: 181.5 kB / 452.2 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.393e-05/0.2731, allocations: 106 kB / 452.3 MB, free: 11.51 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.342e-05/0.2731, allocations: 81.39 kB / 452.4 MB, free: 11.43 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2731, allocations: 0 / 452.4 MB, free: 11.43 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002034/0.2733, allocations: 1.094 kB / 452.4 MB, free: 11.43 MB / 334.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.0003346/0.2737, allocations: 0.8075 MB / 453.2 MB, free: 10.61 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 5.852e-05/0.2737, allocations: 7.359 kB / 453.2 MB, free: 10.6 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2738, allocations: 0 / 453.2 MB, free: 10.6 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.036e-06/0.2738, allocations: 9.203 kB / 453.2 MB, free: 10.59 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003504/0.2741, allocations: 454 kB / 453.6 MB, free: 10.15 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003258/0.2745, allocations: 188.1 kB / 453.8 MB, free: 9.93 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002585/0.2747, allocations: 0.6701 MB / 454.5 MB, free: 9.234 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.387e-05/0.2748, allocations: 9.016 kB / 454.5 MB, free: 9.227 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.564e-05/0.2748, allocations: 12.44 kB / 454.5 MB, free: 9.215 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2748, allocations: 0 / 454.5 MB, free: 9.215 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01644/0.2912, allocations: 0.8897 MB / 455.4 MB, free: 8.602 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.248/7.539, allocations: 9.938 kB / 455.4 MB, free: 8.594 MB / 334.1 MB (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 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Functions_Test_TestTimeConstants.fmu > PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.pipe 2>&1) 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) Reference file matches