Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.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.Test32,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.Test32") translateModel(ModelicaTest.Tables.CombiTable1D.Test32,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.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001895/0.001895, allocations: 112.8 kB / 17.08 MB, free: 6.016 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.001893/0.001893, allocations: 198.3 kB / 18.01 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.005/3.005, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.4999/0.4999, allocations: 43.53 MB / 314.8 MB, free: 460 kB / 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.003115/0.003116, allocations: 59.91 kB / 442.5 MB, free: 5.668 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2594/0.2625, allocations: 57.79 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test32): time 0.006534/0.2691, allocations: 1.551 MB / 0.4901 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001107/0.2703, allocations: 335.5 kB / 0.4904 GB, free: 9.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.2704, allocations: 3.938 kB / 0.4904 GB, free: 9.906 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005444/0.271, allocations: 107.7 kB / 0.4905 GB, free: 9.801 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004233/0.2715, allocations: 75.78 kB / 0.4906 GB, free: 9.727 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005642/0.272, allocations: 95.73 kB / 0.4906 GB, free: 9.633 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003984/0.2725, allocations: 75.88 kB / 0.4907 GB, free: 9.559 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001807/0.2727, allocations: 19.97 kB / 0.4907 GB, free: 9.539 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001378/0.2728, allocations: 35.84 kB / 0.4908 GB, free: 9.504 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002342/0.2731, allocations: 59.88 kB / 0.4908 GB, free: 9.445 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.128e-05/0.2731, allocations: 4 kB / 0.4908 GB, free: 9.441 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001762/0.2733, allocations: 24 kB / 0.4909 GB, free: 9.418 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000106/0.2735, allocations: 31.84 kB / 0.4909 GB, free: 9.387 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.156e-05/0.2735, allocations: 35.67 kB / 0.4909 GB, free: 9.352 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003745/0.2739, allocations: 99.7 kB / 0.491 GB, free: 9.254 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.274, allocations: 0 / 0.491 GB, free: 9.254 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.274, allocations: 0 / 0.491 GB, free: 9.254 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.565e-06/0.274, allocations: 0 / 0.491 GB, free: 9.254 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.0009006/0.2749, allocations: 406.9 kB / 0.4914 GB, free: 8.809 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.282e-05/0.275, allocations: 15.89 kB / 0.4914 GB, free: 8.793 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.67e-05/0.2751, allocations: 8.844 kB / 0.4914 GB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004591/0.2756, allocations: 207.9 kB / 0.4916 GB, free: 8.543 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.2756, allocations: 384 / 0.4916 GB, free: 8.543 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.663e-05/0.2756, allocations: 8.375 kB / 0.4916 GB, free: 8.535 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002379/0.2759, allocations: 49.81 kB / 0.4917 GB, free: 8.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/0.2759, allocations: 4 kB / 0.4917 GB, free: 8.477 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.276, allocations: 0 / 0.4917 GB, free: 8.477 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.276, allocations: 0 / 0.4917 GB, free: 8.477 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001885/0.2762, allocations: 23.97 kB / 0.4917 GB, free: 8.453 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007098/0.2769, allocations: 288.9 kB / 0.492 GB, free: 8.121 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000366/0.2773, allocations: 50.5 kB / 0.492 GB, free: 8.062 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.823e-05/0.2774, allocations: 20.94 kB / 0.4921 GB, free: 8.039 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.966e-05/0.2775, allocations: 0 / 0.4921 GB, free: 8.039 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.957e-05/0.2775, allocations: 30.56 kB / 0.4921 GB, free: 8 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.924e-06/0.2775, allocations: 0 / 0.4921 GB, free: 8 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.001092/0.2786, allocations: 173.4 kB / 0.4922 GB, free: 7.824 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.555e-05/0.2787, allocations: 51.41 kB / 0.4923 GB, free: 7.762 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004154/0.2791, allocations: 246.6 kB / 0.4925 GB, free: 7.508 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.889e-05/0.2792, allocations: 25.7 kB / 0.4926 GB, free: 7.477 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.2793, allocations: 104.1 kB / 0.4927 GB, free: 7.371 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.217e-05/0.2794, allocations: 15.81 kB / 0.4927 GB, free: 7.355 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.225e-05/0.2795, allocations: 13.72 kB / 0.4927 GB, free: 7.336 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002082/0.2797, allocations: 334.8 kB / 0.493 GB, free: 7 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001503/0.2799, allocations: 23.97 kB / 0.493 GB, free: 6.977 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001561/0.28, allocations: 23.92 kB / 0.493 GB, free: 6.953 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002705/0.2803, allocations: 56.95 kB / 0.4931 GB, free: 6.895 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2803, allocations: 0 / 0.4931 GB, free: 6.895 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003876/0.2807, allocations: 93.56 kB / 0.4932 GB, free: 6.797 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.2808, allocations: 4 kB / 0.4932 GB, free: 6.793 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.2808, allocations: 0 / 0.4932 GB, free: 6.793 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.2808, allocations: 0 / 0.4932 GB, free: 6.793 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.281, allocations: 12 kB / 0.4932 GB, free: 6.781 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.281, allocations: 0 / 0.4932 GB, free: 6.781 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.054e-05/0.2811, allocations: 11.89 kB / 0.4932 GB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.475e-05/0.2811, allocations: 4 kB / 0.4932 GB, free: 6.766 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000211/0.2814, allocations: 145.6 kB / 0.4934 GB, free: 6.613 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.028e-05/0.2814, allocations: 11.91 kB / 0.4934 GB, free: 6.602 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004514/0.2819, allocations: 102.6 kB / 0.4935 GB, free: 6.492 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.2819, allocations: 0 / 0.4935 GB, free: 6.492 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.282, allocations: 0 / 0.4935 GB, free: 6.492 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.282, allocations: 0 / 0.4935 GB, free: 6.492 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00069/0.2827, allocations: 366.4 kB / 0.4938 GB, free: 6.078 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.2827, allocations: 4 kB / 0.4938 GB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.857e-05/0.2828, allocations: 15.98 kB / 0.4938 GB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.2828, allocations: 0 / 0.4938 GB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.657e-06/0.2828, allocations: 0 / 0.4938 GB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.2828, allocations: 3.938 kB / 0.4938 GB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2828, allocations: 192 / 0.4938 GB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003198/0.2832, allocations: 195.3 kB / 0.494 GB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.381e-05/0.2833, allocations: 89.02 kB / 0.4941 GB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.132e-05/0.2833, allocations: 0 / 0.4941 GB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001451/0.2835, allocations: 11.92 kB / 0.4941 GB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.894e-05/0.2836, allocations: 8 kB / 0.4941 GB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.785e-06/0.2836, allocations: 0 / 0.4941 GB, free: 5.723 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002903/0.2839, allocations: 179.2 kB / 0.4943 GB, free: 5.547 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.2839, allocations: 0 / 0.4943 GB, free: 5.547 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004941/0.2844, allocations: 20 kB / 0.4943 GB, free: 5.527 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 (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.001887/0.2863, allocations: 408.1 kB / 0.4947 GB, free: 5.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000419/0.2868, allocations: 55.95 kB / 0.4948 GB, free: 5.105 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.2868, allocations: 0 / 0.4948 GB, free: 5.105 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001633/0.287, allocations: 31.92 kB / 0.4948 GB, free: 5.074 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006896/0.2877, allocations: 23.59 kB / 0.4948 GB, free: 5.055 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.2888, allocations: 291.9 kB / 0.4951 GB, free: 4.738 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000748/0.2895, allocations: 0.7119 MB / 0.4958 GB, free: 4 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.718e-05/0.2896, allocations: 11.44 kB / 0.4958 GB, free: 3.988 MB / 382.1 MB Notification: Performance of SimCode: time 1.734e-06/0.2896, allocations: 0 / 0.4958 GB, free: 3.988 MB / 382.1 MB Notification: Performance of Templates: time 0.007322/0.297, allocations: 1.609 MB / 0.4974 GB, free: 2.383 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches