Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.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/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/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(ModelicaTest.Tables.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 96.75 kB / 15.69 MB, free: 480 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.001117/0.001118, allocations: 169.7 kB / 16.57 MB, free: 6.387 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.28/1.28, allocations: 205.4 MB / 222.7 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2868/0.2868, allocations: 43.54 MB / 314.5 MB, free: 8.738 MB / 254.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.0004528/0.0004528, allocations: 16 kB / 383.9 MB, free: 8.027 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09399/0.09446, allocations: 58.85 MB / 442.7 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.002021/0.09653, allocations: 1.253 MB / 444 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006231/0.09718, allocations: 283.9 kB / 444.3 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.7e-05/0.09729, allocations: 0 / 444.3 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003035/0.09761, allocations: 79.75 kB / 444.4 MB, free: 11.45 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002083/0.09783, allocations: 71.83 kB / 444.4 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002958/0.09814, allocations: 63.81 kB / 444.5 MB, free: 11.31 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001688/0.09832, allocations: 47.88 kB / 444.5 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.09844, allocations: 11.97 kB / 444.5 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.012e-05/0.09852, allocations: 31.91 kB / 444.6 MB, free: 11.22 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.09865, allocations: 35.83 kB / 444.6 MB, free: 11.19 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.212e-05/0.09867, allocations: 4 kB / 444.6 MB, free: 11.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.551e-05/0.09878, allocations: 23.94 kB / 444.6 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.322e-05/0.09883, allocations: 15.92 kB / 444.7 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.727e-05/0.09888, allocations: 41.64 kB / 444.7 MB, free: 11.1 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001608/0.09905, allocations: 72.05 kB / 444.8 MB, free: 11.03 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.09906, allocations: 0 / 444.8 MB, free: 11.03 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.886e-06/0.09907, allocations: 0 / 444.8 MB, free: 11.03 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.09908, allocations: 0 / 444.8 MB, free: 11.03 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000602/0.09969, allocations: 390.9 kB / 445.1 MB, free: 10.6 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.06e-05/0.09978, allocations: 16.02 kB / 445.2 MB, free: 10.58 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.9e-05/0.09985, allocations: 15.86 kB / 445.2 MB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002451/0.1001, allocations: 183.6 kB / 445.4 MB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.1001, allocations: 7.984 kB / 445.4 MB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/0.1002, allocations: 0 / 445.4 MB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/0.1003, allocations: 53.62 kB / 445.4 MB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.1003, allocations: 3.906 kB / 445.4 MB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.1004, allocations: 0 / 445.4 MB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.1004, allocations: 4 kB / 445.4 MB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001042/0.1005, allocations: 31.94 kB / 445.5 MB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00042/0.1009, allocations: 284.9 kB / 445.7 MB, free: 9.914 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002264/0.1012, allocations: 46.5 kB / 445.8 MB, free: 9.859 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.705e-05/0.1012, allocations: 4 kB / 445.8 MB, free: 9.855 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.1012, allocations: 30.56 kB / 445.8 MB, free: 9.816 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.382e-06/0.1012, allocations: 0 / 445.8 MB, free: 9.816 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000628/0.1019, allocations: 165.2 kB / 446 MB, free: 9.648 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/0.1019, allocations: 55.41 kB / 446 MB, free: 9.582 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002258/0.1022, allocations: 223.1 kB / 446.3 MB, free: 9.355 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.1022, allocations: 29.64 kB / 446.3 MB, free: 9.32 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.348e-05/0.1023, allocations: 108.1 kB / 446.4 MB, free: 9.211 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.443e-05/0.1023, allocations: 19.64 kB / 446.4 MB, free: 9.191 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.309e-06/0.1023, allocations: 4 kB / 446.4 MB, free: 9.188 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.1024, allocations: 326.8 kB / 446.7 MB, free: 8.859 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.076e-05/0.1025, allocations: 23.98 kB / 446.8 MB, free: 8.836 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.558e-05/0.1026, allocations: 15.98 kB / 446.8 MB, free: 8.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.795e-05/0.1026, allocations: 23.98 kB / 446.8 MB, free: 8.797 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.1027, allocations: 4 kB / 446.8 MB, free: 8.793 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001859/0.1028, allocations: 93.52 kB / 446.9 MB, free: 8.695 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.1029, allocations: 4 kB / 446.9 MB, free: 8.691 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.1029, allocations: 3.953 kB / 446.9 MB, free: 8.688 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.1029, allocations: 0 / 446.9 MB, free: 8.688 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.744e-05/0.103, allocations: 19.98 kB / 446.9 MB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.103, allocations: 3.984 kB / 446.9 MB, free: 8.664 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.33e-05/0.103, allocations: 8 kB / 446.9 MB, free: 8.656 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-06/0.1031, allocations: 3.938 kB / 446.9 MB, free: 8.652 MB / 382.1 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 (5): * Single equations (assignments): 5 * 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 9.038e-05/0.1031, allocations: 129.8 kB / 447.1 MB, free: 8.516 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.886e-05/0.1032, allocations: 7.906 kB / 447.1 MB, free: 8.508 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002259/0.1034, allocations: 102.6 kB / 447.2 MB, free: 8.395 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.1034, allocations: 4.234 kB / 447.2 MB, free: 8.391 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.1034, allocations: 7.984 kB / 447.2 MB, free: 8.383 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.1034, allocations: 3.984 kB / 447.2 MB, free: 8.379 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004201/0.1039, allocations: 358.9 kB / 447.5 MB, free: 7.973 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1039, allocations: 0 / 447.5 MB, free: 7.973 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.768e-05/0.1039, allocations: 19.98 kB / 447.5 MB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.104, allocations: 3.953 kB / 447.6 MB, free: 7.949 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.104, allocations: 7.938 kB / 447.6 MB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.104, allocations: 0 / 447.6 MB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.104, allocations: 0 / 447.6 MB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002054/0.1042, allocations: 187.4 kB / 447.7 MB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.344e-05/0.1042, allocations: 85.02 kB / 447.8 MB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.767e-05/0.1043, allocations: 3.953 kB / 447.8 MB, free: 7.637 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.094e-05/0.1043, allocations: 11.98 kB / 447.8 MB, free: 7.625 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.236e-05/0.1044, allocations: 4 kB / 447.8 MB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.1044, allocations: 3.938 kB / 447.8 MB, free: 7.617 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001266/0.1045, allocations: 175.2 kB / 448 MB, free: 7.445 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1045, allocations: 0 / 448 MB, free: 7.445 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002416/0.1048, allocations: 20 kB / 448 MB, free: 7.426 MB / 382.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 (5): * Single equations (assignments): 5 * 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.0008409/0.1056, allocations: 395.2 kB / 448.4 MB, free: 7.074 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001864/0.1058, allocations: 55.91 kB / 448.5 MB, free: 7.02 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1058, allocations: 0 / 448.5 MB, free: 7.02 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.375e-05/0.1059, allocations: 27.98 kB / 448.5 MB, free: 6.992 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002455/0.1062, allocations: 19.92 kB / 448.5 MB, free: 6.973 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003995/0.1066, allocations: 253.3 kB / 448.8 MB, free: 6.699 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002413/0.1068, allocations: 0.7082 MB / 449.5 MB, free: 5.965 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.299e-05/0.1069, allocations: 15.98 kB / 449.5 MB, free: 5.949 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.572e-05/0.1069, allocations: 11.44 kB / 449.5 MB, free: 5.938 MB / 382.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1069, allocations: 0 / 449.5 MB, free: 5.938 MB / 382.1 MB Notification: Performance of Templates: time 0.003173/0.1101, allocations: 1.026 MB / 450.5 MB, free: 4.91 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches