Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.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.CombiTable1D.Test20,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.CombiTable1D.Test20") translateModel(ModelicaTest.Tables.CombiTable1D.Test20,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.CombiTable1D.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00113/0.001129, allocations: 105.3 kB / 16.64 MB, free: 6.812 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.001268/0.001268, allocations: 186.5 kB / 17.56 MB, free: 5.926 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.443/1.443, allocations: 205.1 MB / 223.4 MB, free: 12.45 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2198/0.2198, allocations: 43.53 MB / 314.3 MB, free: 0.6992 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.001415/0.001415, allocations: 72.3 kB / 382.9 MB, free: 56.91 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09885/0.1003, allocations: 57.79 MB / 440.7 MB, free: 7.359 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test20): time 0.002645/0.103, allocations: 1.608 MB / 442.3 MB, free: 5.734 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001037/0.104, allocations: 0.9303 MB / 443.2 MB, free: 4.797 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.557e-05/0.1041, allocations: 0 / 443.2 MB, free: 4.797 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002363/0.1043, allocations: 15.92 kB / 443.2 MB, free: 4.781 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002067/0.1046, allocations: 39.84 kB / 443.3 MB, free: 4.742 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000249/0.1049, allocations: 91.39 kB / 443.3 MB, free: 4.656 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001333/0.105, allocations: 55.84 kB / 443.4 MB, free: 4.602 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.1051, allocations: 15.92 kB / 443.4 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.32e-05/0.1052, allocations: 23.86 kB / 443.4 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/0.1053, allocations: 27.91 kB / 443.5 MB, free: 4.535 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.1053, allocations: 0 / 443.5 MB, free: 4.535 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.175e-05/0.1054, allocations: 47.98 kB / 443.5 MB, free: 4.488 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.387e-05/0.1055, allocations: 19.86 kB / 443.5 MB, free: 4.469 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.08e-05/0.1055, allocations: 27.86 kB / 443.6 MB, free: 4.441 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001223/0.1056, allocations: 59.91 kB / 443.6 MB, free: 4.383 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1057, allocations: 0 / 443.6 MB, free: 4.383 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1057, allocations: 0 / 443.6 MB, free: 4.383 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.1057, allocations: 0 / 443.6 MB, free: 4.383 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004129/0.1061, allocations: 383.2 kB / 444 MB, free: 3.961 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.1061, allocations: 11.89 kB / 444 MB, free: 3.949 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.06e-05/0.1062, allocations: 4.938 kB / 444 MB, free: 3.945 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001421/0.1063, allocations: 192.2 kB / 444.2 MB, free: 3.719 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-06/0.1063, allocations: 4.375 kB / 444.2 MB, free: 3.715 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.003e-05/0.1064, allocations: 384 / 444.2 MB, free: 3.715 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.1065, allocations: 71.45 kB / 444.3 MB, free: 3.633 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.1065, allocations: 4 kB / 444.3 MB, free: 3.629 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.1065, allocations: 0 / 444.3 MB, free: 3.629 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1066, allocations: 0 / 444.3 MB, free: 3.629 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.885e-05/0.1066, allocations: 19.98 kB / 444.3 MB, free: 3.609 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003107/0.107, allocations: 288.9 kB / 444.6 MB, free: 3.277 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001856/0.1072, allocations: 42.5 kB / 444.6 MB, free: 3.227 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.477e-05/0.1072, allocations: 16.86 kB / 444.6 MB, free: 3.207 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.1072, allocations: 4.078 kB / 444.6 MB, free: 3.203 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.1073, allocations: 38.56 kB / 444.7 MB, free: 3.156 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.1073, allocations: 0 / 444.7 MB, free: 3.156 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004941/0.1078, allocations: 141.3 kB / 444.8 MB, free: 3.012 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/0.1078, allocations: 81.11 kB / 444.9 MB, free: 2.914 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.947e-05/0.1079, allocations: 133.7 kB / 445 MB, free: 2.777 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.089e-05/0.1079, allocations: 29.7 kB / 445 MB, free: 2.742 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.624e-05/0.108, allocations: 100 kB / 445.1 MB, free: 2.641 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.715e-05/0.108, allocations: 7.812 kB / 445.2 MB, free: 2.633 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.147e-05/0.108, allocations: 21.72 kB / 445.2 MB, free: 2.605 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.247e-05/0.1081, allocations: 326.7 kB / 445.5 MB, free: 2.277 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.085e-05/0.1082, allocations: 23.92 kB / 445.5 MB, free: 2.254 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.804e-05/0.1082, allocations: 37.69 kB / 445.6 MB, free: 2.211 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001068/0.1084, allocations: 56.8 kB / 445.6 MB, free: 2.152 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.1084, allocations: 0 / 445.6 MB, free: 2.152 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000147/0.1085, allocations: 85.58 kB / 445.7 MB, free: 2.062 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.1085, allocations: 5.25 kB / 445.7 MB, free: 2.059 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.1085, allocations: 288 / 445.7 MB, free: 2.059 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.1086, allocations: 0 / 445.7 MB, free: 2.059 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.38e-05/0.1086, allocations: 15.98 kB / 445.7 MB, free: 2.043 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.1086, allocations: 4.25 kB / 445.7 MB, free: 2.039 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.57e-05/0.1087, allocations: 7.984 kB / 445.7 MB, free: 2.031 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.1087, allocations: 4 kB / 445.7 MB, free: 2.027 MB / 318.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.109e-05/0.1088, allocations: 129.6 kB / 445.9 MB, free: 1.891 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.906e-05/0.1088, allocations: 7.984 kB / 445.9 MB, free: 1.883 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001968/0.109, allocations: 93.53 kB / 446 MB, free: 1.785 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.696e-06/0.109, allocations: 7.984 kB / 446 MB, free: 1.777 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.109, allocations: 0 / 446 MB, free: 1.777 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.109, allocations: 4 kB / 446 MB, free: 1.773 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003151/0.1094, allocations: 350.4 kB / 446.3 MB, free: 1.375 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1094, allocations: 0 / 446.3 MB, free: 1.375 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.415e-05/0.1094, allocations: 12 kB / 446.3 MB, free: 1.363 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1094, allocations: 0 / 446.3 MB, free: 1.363 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.216e-06/0.1094, allocations: 3.984 kB / 446.3 MB, free: 1.359 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.1094, allocations: 7.938 kB / 446.3 MB, free: 1.352 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1094, allocations: 0 / 446.3 MB, free: 1.352 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001622/0.1096, allocations: 179.4 kB / 446.5 MB, free: 1.16 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.043e-05/0.1096, allocations: 85.03 kB / 446.6 MB, free: 1.059 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.1097, allocations: 4 kB / 446.6 MB, free: 1.055 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.19e-05/0.1097, allocations: 7.938 kB / 446.6 MB, free: 1.047 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.634e-05/0.1098, allocations: 7.984 kB / 446.6 MB, free: 1.039 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.1098, allocations: 8 kB / 446.6 MB, free: 1.031 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.171e-05/0.1098, allocations: 99.27 kB / 446.7 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1099, allocations: 0 / 446.7 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002383/0.1101, allocations: 20 kB / 446.7 MB, free: 0.9141 MB / 318.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 (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.0009044/0.111, allocations: 446.8 kB / 447.2 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00019/0.1112, allocations: 55.95 kB / 447.2 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1112, allocations: 0 / 447.2 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.419e-05/0.1113, allocations: 27.92 kB / 447.3 MB, free: 480 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000345/0.1116, allocations: 15.98 kB / 447.3 MB, free: 464 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000325/0.112, allocations: 215.2 kB / 447.5 MB, free: 216 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000257/0.1122, allocations: 0.6866 MB / 448.2 MB, free: 15.5 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.949e-05/0.1123, allocations: 19.42 kB / 448.2 MB, free: 15.48 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1123, allocations: 0 / 448.2 MB, free: 15.48 MB / 334.1 MB Notification: Performance of Templates: time 0.003465/0.1158, allocations: 1.588 MB / 449.8 MB, free: 13.89 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test20/Test20.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches