Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_symb_jac_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.0009225/0.0009225, allocations: 80.44 kB / 19.94 MB, free: 4.629 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.000935/0.000935, allocations: 165.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8935/0.8935, allocations: 158.6 MB / 185 MB, free: 3.031 MB / 170.7 MB " [Timeout remaining time 179] 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.03804/0.03804, allocations: 10.64 MB / 247.9 MB, free: 4.715 MB / 234.7 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: translateModel(PowerGrids.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="T1|T2|time",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants") translateModel(PowerGrids.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="T1|T2|time",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0 / 369.3 MB, free: 5.922 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.594e-05/1.72e-05, allocations: 2.281 kB / 369.3 MB, free: 5.918 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.000933/0.0009502, allocations: 0.4884 MB / 369.8 MB, free: 5.434 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002525/0.001203, allocations: 119.6 kB / 369.9 MB, free: 5.316 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.285e-05/0.001226, allocations: 0 / 369.9 MB, free: 5.316 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.642e-05/0.001242, allocations: 0 / 369.9 MB, free: 5.316 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002441/0.001486, allocations: 23.84 kB / 370 MB, free: 5.293 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.757e-06/0.00149, allocations: 7.938 kB / 370 MB, free: 5.285 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 3.255e-05/0.001522, allocations: 0 / 370 MB, free: 5.285 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.03e-05/0.001563, allocations: 0 / 370 MB, free: 5.285 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.894e-05/0.001582, allocations: 0 / 370 MB, free: 5.285 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001099/0.001691, allocations: 12 kB / 370 MB, free: 5.273 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.791e-06/0.001697, allocations: 0 / 370 MB, free: 5.273 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.885e-06/0.0017, allocations: 0 / 370 MB, free: 5.273 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.372e-06/0.001706, allocations: 0 / 370 MB, free: 5.273 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.957e-06/0.001715, allocations: 0 / 370 MB, free: 5.273 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 3.525e-05/0.001751, allocations: 7.984 kB / 370 MB, free: 5.266 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.001752, allocations: 0 / 370 MB, free: 5.266 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.001754, allocations: 3.984 kB / 370 MB, free: 5.262 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.656e-06/0.001758, allocations: 3.938 kB / 370 MB, free: 5.258 MB / 298.7 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.0001992/0.001957, allocations: 234.5 kB / 370.2 MB, free: 4.996 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.001993, allocations: 12.03 kB / 370.2 MB, free: 4.984 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.761e-05/0.00202, allocations: 0.9375 kB / 370.2 MB, free: 4.984 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.84e-05/0.002079, allocations: 109.7 kB / 370.3 MB, free: 4.852 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.002089, allocations: 384 / 370.3 MB, free: 4.852 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.103e-06/0.002096, allocations: 384 / 370.3 MB, free: 4.852 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.487e-05/0.002191, allocations: 47.97 kB / 370.4 MB, free: 4.793 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.002199, allocations: 192 / 370.4 MB, free: 4.793 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.876e-06/0.002208, allocations: 384 / 370.4 MB, free: 4.793 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.002215, allocations: 4.375 kB / 370.4 MB, free: 4.789 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.99e-05/0.002235, allocations: 7.875 kB / 370.4 MB, free: 4.781 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002623/0.002497, allocations: 419.4 kB / 370.8 MB, free: 4.336 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.098e-05/0.002568, allocations: 165.1 kB / 371 MB, free: 4.164 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.734e-05/0.002595, allocations: 80.14 kB / 371 MB, free: 4.082 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.859e-05/0.002624, allocations: 75.28 kB / 371.1 MB, free: 4.008 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.692e-05/0.002661, allocations: 117.8 kB / 371.2 MB, free: 3.883 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 7.51e-07/0.002662, allocations: 0 / 371.2 MB, free: 3.883 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 5.571e-05/0.002717, allocations: 29.64 kB / 371.3 MB, free: 3.848 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.748e-05/0.002765, allocations: 126.7 kB / 371.4 MB, free: 3.711 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.224e-05/0.002837, allocations: 97.8 kB / 371.5 MB, free: 3.605 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.929e-06/0.002847, allocations: 25.7 kB / 371.5 MB, free: 3.574 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.485e-05/0.002892, allocations: 104.1 kB / 371.6 MB, free: 3.469 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.455e-06/0.002894, allocations: 0 / 371.6 MB, free: 3.469 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.29e-05/0.002917, allocations: 9.719 kB / 371.6 MB, free: 3.453 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.22e-05/0.003009, allocations: 314.8 kB / 371.9 MB, free: 3.137 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.935e-06/0.003017, allocations: 0 / 371.9 MB, free: 3.137 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.436e-05/0.003032, allocations: 13.72 kB / 371.9 MB, free: 3.113 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.413e-05/0.003066, allocations: 21.66 kB / 372 MB, free: 3.086 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.003068, allocations: 0 / 372 MB, free: 3.086 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.126e-05/0.003159, allocations: 49.64 kB / 372 MB, free: 3.031 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.003173, allocations: 7.938 kB / 372 MB, free: 3.023 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.003177, allocations: 0 / 372 MB, free: 3.023 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.00319, allocations: 3.984 kB / 372 MB, free: 3.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.229e-05/0.003243, allocations: 4 kB / 372 MB, free: 3.016 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.003248, allocations: 0 / 372 MB, free: 3.016 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.779e-06/0.003258, allocations: 7.938 kB / 372 MB, free: 3.008 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.139e-06/0.003263, allocations: 0 / 372 MB, free: 3.008 MB / 298.7 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 6.794e-05/0.003331, allocations: 187.1 kB / 372.2 MB, free: 2.816 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.783e-05/0.003369, allocations: 109 kB / 372.3 MB, free: 2.703 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.721e-05/0.003406, allocations: 120.1 kB / 372.4 MB, free: 2.582 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003313/0.003737, allocations: 184.3 kB / 372.6 MB, free: 2.395 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.301e-05/0.00378, allocations: 180.2 kB / 372.8 MB, free: 2.211 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.304e-05/0.003823, allocations: 180.3 kB / 373 MB, free: 2.027 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000131/0.003954, allocations: 352.9 kB / 373.3 MB, free: 1.645 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.581e-05/0.00398, allocations: 104.9 kB / 373.4 MB, free: 1.535 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.65e-05/0.004007, allocations: 101 kB / 373.5 MB, free: 1.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.583e-05/0.004052, allocations: 184.4 kB / 373.7 MB, free: 1.242 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.72e-05/0.0041, allocations: 184.2 kB / 373.9 MB, free: 1.055 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-05/0.004146, allocations: 192.2 kB / 374.1 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.155e-05/0.004188, allocations: 176.3 kB / 374.2 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003207/0.004508, allocations: 1.067 MB / 375.3 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.081e-05/0.004539, allocations: 108.9 kB / 375.4 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.991e-05/0.004589, allocations: 184.2 kB / 375.6 MB, free: 15.24 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.781e-05/0.004637, allocations: 112.9 kB / 375.7 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.546e-05/0.004682, allocations: 176.3 kB / 375.9 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-05/0.004709, allocations: 101 kB / 376 MB, free: 14.84 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.864e-05/0.004738, allocations: 79.28 kB / 376 MB, free: 14.76 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004738, allocations: 0 / 376 MB, free: 14.76 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002144/0.004952, allocations: 3.938 kB / 376.1 MB, free: 14.76 MB / 314.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 (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 8.37e-05/0.005036, allocations: 178.5 kB / 376.2 MB, free: 14.57 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 5.972e-05/0.005096, allocations: 8 kB / 376.2 MB, free: 14.57 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.005097, allocations: 3.938 kB / 376.2 MB, free: 14.56 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.92e-07/0.005098, allocations: 0 / 376.2 MB, free: 14.56 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002531/0.005351, allocations: 455.7 kB / 376.7 MB, free: 14.11 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002544/0.005606, allocations: 156.2 kB / 376.8 MB, free: 13.93 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.548e-05/0.005651, allocations: 63.2 kB / 376.9 MB, free: 13.85 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 1.955e-05/0.005671, allocations: 0 / 376.9 MB, free: 13.85 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.175e-05/0.005693, allocations: 12.62 kB / 376.9 MB, free: 13.84 MB / 314.7 MB Notification: Performance of SimCode: time 2.31e-07/0.005693, allocations: 0 / 376.9 MB, free: 13.84 MB / 314.7 MB Notification: Performance of Templates: time 0.001553/0.007246, allocations: 189 kB / 377.1 MB, free: 13.66 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.makefile [Timeout 660] (rm -f PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.sim & ./PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants -abortSlowSimulation -alarm=50 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.pipe 2>&1) [Timeout 50] diffSimulationResults("PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Functions.Test.TestTimeConstants_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_symb_jac_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: 2.7389100901782513]