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.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: translateModel(PowerGrids.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="T1|T2|time",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants") translateModel(PowerGrids.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="T1|T2|time",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 88.17 kB / 15.71 MB, free: 452 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001223/0.001224, allocations: 176.7 kB / 16.59 MB, free: 6.859 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.711/1.711, allocations: 205.4 MB / 222.8 MB, free: 5.617 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06119/0.06119, allocations: 14.16 MB / 285.2 MB, free: 7.117 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.000524/0.000524, allocations: 16 kB / 346.8 MB, free: 19.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1161, allocations: 51.12 MB / 397.9 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.0007437/0.1169, allocations: 221.1 kB / 398.1 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004305/0.1173, allocations: 103.8 kB / 398.2 MB, free: 444 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.944e-05/0.1174, allocations: 0 / 398.2 MB, free: 444 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.396e-05/0.1174, allocations: 0 / 398.2 MB, free: 444 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003131/0.1177, allocations: 19.92 kB / 398.2 MB, free: 424 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.867e-06/0.1177, allocations: 0 / 398.2 MB, free: 424 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 3.604e-05/0.1178, allocations: 8 kB / 398.2 MB, free: 416 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.78e-05/0.1178, allocations: 0 / 398.2 MB, free: 416 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.756e-05/0.1179, allocations: 3.984 kB / 398.2 MB, free: 412 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001392/0.118, allocations: 15.92 kB / 398.3 MB, free: 396 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.012e-06/0.118, allocations: 0 / 398.3 MB, free: 396 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.919e-06/0.118, allocations: 0 / 398.3 MB, free: 396 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.021e-06/0.118, allocations: 3.938 kB / 398.3 MB, free: 392 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.101e-05/0.1181, allocations: 25.7 kB / 398.3 MB, free: 360 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 2.89e-05/0.1181, allocations: 0 / 398.3 MB, free: 360 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.1181, allocations: 0 / 398.3 MB, free: 360 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1181, allocations: 7.938 kB / 398.3 MB, free: 352 kB / 286.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.1181, allocations: 0 / 398.3 MB, free: 352 kB / 286.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.0003524/0.1185, allocations: 315.4 kB / 398.6 MB, free: 15.99 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/0.1186, allocations: 12.08 kB / 398.6 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.029e-05/0.1186, allocations: 0 / 398.6 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001492/0.1188, allocations: 167.1 kB / 398.8 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.1188, allocations: 0 / 398.8 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.1188, allocations: 0 / 398.8 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.119, allocations: 51.31 kB / 398.8 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.119, allocations: 0 / 398.8 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.119, allocations: 0 / 398.8 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.119, allocations: 0 / 398.8 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.246e-05/0.1191, allocations: 8 kB / 398.8 MB, free: 15.7 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004343/0.1195, allocations: 463.6 kB / 399.3 MB, free: 15.2 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001094/0.1196, allocations: 173.1 kB / 399.5 MB, free: 15.02 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.638e-05/0.1197, allocations: 84.12 kB / 399.5 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.437e-05/0.1197, allocations: 75.28 kB / 399.6 MB, free: 14.86 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.989e-05/0.1198, allocations: 105.8 kB / 399.7 MB, free: 14.74 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.1198, allocations: 4.031 kB / 399.7 MB, free: 14.74 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 9.683e-05/0.1199, allocations: 37.69 kB / 399.8 MB, free: 14.7 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.254e-05/0.12, allocations: 130.6 kB / 399.9 MB, free: 14.55 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.953e-05/0.1201, allocations: 97.77 kB / 400 MB, free: 14.45 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.1201, allocations: 25.7 kB / 400 MB, free: 14.42 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.148e-05/0.1202, allocations: 84.36 kB / 400.1 MB, free: 14.33 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.787e-06/0.1202, allocations: 0 / 400.1 MB, free: 14.33 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.925e-06/0.1202, allocations: 0 / 400.1 MB, free: 14.33 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.1203, allocations: 319 kB / 400.4 MB, free: 14.01 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.048e-05/0.1203, allocations: 4 kB / 400.4 MB, free: 14.01 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.455e-05/0.1203, allocations: 13.7 kB / 400.4 MB, free: 13.99 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.214e-05/0.1204, allocations: 4 kB / 400.4 MB, free: 13.98 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.1204, allocations: 3.953 kB / 400.4 MB, free: 13.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001233/0.1205, allocations: 45.55 kB / 400.5 MB, free: 13.93 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.1205, allocations: 7.938 kB / 400.5 MB, free: 13.92 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.1205, allocations: 4.125 kB / 400.5 MB, free: 13.92 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.1206, allocations: 4 kB / 400.5 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.045e-05/0.1206, allocations: 3.984 kB / 400.5 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.1206, allocations: 4 kB / 400.5 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.55e-05/0.1207, allocations: 0 / 400.5 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.1207, allocations: 0 / 400.5 MB, free: 13.91 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001183/0.1208, allocations: 185.1 kB / 400.7 MB, free: 13.71 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.277e-05/0.1209, allocations: 108.9 kB / 400.8 MB, free: 13.6 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.902e-05/0.1209, allocations: 112.1 kB / 400.9 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.736e-05/0.121, allocations: 180.2 kB / 401.1 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-05/0.1211, allocations: 188.2 kB / 401.3 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.938e-05/0.1212, allocations: 176.3 kB / 401.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002291/0.1214, allocations: 397.2 kB / 401.8 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.685e-05/0.1215, allocations: 117 kB / 401.9 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.988e-05/0.1215, allocations: 104.9 kB / 402 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.875e-05/0.1216, allocations: 180.2 kB / 402.2 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.443e-05/0.1217, allocations: 176.3 kB / 402.4 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.951e-05/0.1218, allocations: 188.2 kB / 402.6 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.504e-05/0.1218, allocations: 180.2 kB / 402.7 MB, free: 11.52 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004202/0.1223, allocations: 0.8534 MB / 403.6 MB, free: 10.6 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.1224, allocations: 182.1 kB / 403.8 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/0.1225, allocations: 176.3 kB / 403.9 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.83e-05/0.1226, allocations: 108.9 kB / 404 MB, free: 10.1 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.688e-05/0.1227, allocations: 180.3 kB / 404.2 MB, free: 9.918 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.334e-05/0.1227, allocations: 108.9 kB / 404.3 MB, free: 9.805 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.468e-05/0.1228, allocations: 75.28 kB / 404.4 MB, free: 9.73 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1228, allocations: 0 / 404.4 MB, free: 9.73 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003827/0.1232, allocations: 8 kB / 404.4 MB, free: 9.723 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001251/0.1233, allocations: 166.6 kB / 404.6 MB, free: 9.551 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 7.013e-05/0.1234, allocations: 4 kB / 404.6 MB, free: 9.547 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1234, allocations: 0 / 404.6 MB, free: 9.547 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.134e-06/0.1234, allocations: 0 / 404.6 MB, free: 9.547 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000411/0.1238, allocations: 0.5262 MB / 405.1 MB, free: 9.016 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000213/0.124, allocations: 162.1 kB / 405.3 MB, free: 8.828 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000283/0.1243, allocations: 0.6692 MB / 405.9 MB, free: 8.133 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.807e-05/0.1244, allocations: 4 kB / 405.9 MB, free: 8.129 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.652e-05/0.1244, allocations: 7.438 kB / 405.9 MB, free: 8.121 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1244, allocations: 0 / 405.9 MB, free: 8.121 MB / 302.1 MB Notification: Performance of Templates: time 0.002546/0.1269, allocations: 160.3 kB / 406.1 MB, free: 7.965 MB / 302.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.makefile (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=480 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.pipe 2>&1) diffSimulationResults("PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Functions.Test.TestTimeConstants_res.mat","../files/PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches