Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008965/0.0008966, allocations: 181.7 kB / 17.41 MB, free: 4.285 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.437/1.437, allocations: 205.4 MB / 223.6 MB, free: 9.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007621/0.0007622, allocations: 79.88 kB / 271.9 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3585/0.3585, allocations: 43.55 MB / 363.7 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003844/0.0003845, allocations: 12 kB / 432.6 MB, free: 5.664 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1436, allocations: 58.85 MB / 491.4 MB, free: 10.73 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.368/0.5117, allocations: 86.68 MB / 0.5646 GB, free: 15.59 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002406/0.512, allocations: 71.97 kB / 0.5646 GB, free: 15.52 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01108/0.5231, allocations: 4.305 MB / 0.5688 GB, free: 11.25 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.5231, allocations: 0 / 0.5688 GB, free: 11.25 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.243e-05/0.5231, allocations: 4 kB / 0.5688 GB, free: 11.24 MB / 394.7 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.0004995/0.5237, allocations: 392 kB / 0.5692 GB, free: 10.81 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.5237, allocations: 8.031 kB / 0.5692 GB, free: 10.8 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.199e-05/0.5238, allocations: 8.844 kB / 0.5692 GB, free: 10.8 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002162/0.524, allocations: 188.2 kB / 0.5694 GB, free: 10.57 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.524, allocations: 384 / 0.5694 GB, free: 10.57 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.328e-05/0.524, allocations: 7.75 kB / 0.5694 GB, free: 10.57 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001687/0.5242, allocations: 67.95 kB / 0.5695 GB, free: 10.49 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.5242, allocations: 192 / 0.5695 GB, free: 10.49 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.5242, allocations: 3.938 kB / 0.5695 GB, free: 10.49 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.5243, allocations: 4 kB / 0.5695 GB, free: 10.48 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.642e-05/0.5244, allocations: 27.92 kB / 0.5695 GB, free: 10.46 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003791/0.5247, allocations: 268.9 kB / 0.5698 GB, free: 10.14 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001997/0.525, allocations: 50.5 kB / 0.5698 GB, free: 10.09 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.654e-05/0.525, allocations: 24.88 kB / 0.5699 GB, free: 10.06 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.5251, allocations: 0 / 0.5699 GB, free: 10.06 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.5251, allocations: 30.84 kB / 0.5699 GB, free: 10.02 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.5251, allocations: 0 / 0.5699 GB, free: 10.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005573/0.5257, allocations: 153.4 kB / 0.57 GB, free: 9.863 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.228e-05/0.5257, allocations: 81.11 kB / 0.5701 GB, free: 9.766 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.5259, allocations: 137.8 kB / 0.5702 GB, free: 9.621 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.5259, allocations: 29.7 kB / 0.5703 GB, free: 9.586 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.225e-05/0.526, allocations: 88.14 kB / 0.5703 GB, free: 9.496 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.426e-05/0.526, allocations: 30.83 kB / 0.5704 GB, free: 9.469 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.408e-06/0.526, allocations: 0 / 0.5704 GB, free: 9.469 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.5261, allocations: 318.8 kB / 0.5707 GB, free: 9.148 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.669e-05/0.5262, allocations: 23.98 kB / 0.5707 GB, free: 9.125 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.755e-05/0.5263, allocations: 33.7 kB / 0.5707 GB, free: 9.086 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001412/0.5264, allocations: 52.83 kB / 0.5708 GB, free: 9.031 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.5265, allocations: 4.031 kB / 0.5708 GB, free: 9.027 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001736/0.5266, allocations: 85.61 kB / 0.5709 GB, free: 8.938 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.5267, allocations: 4 kB / 0.5709 GB, free: 8.934 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.5267, allocations: 3.984 kB / 0.5709 GB, free: 8.93 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.5267, allocations: 0 / 0.5709 GB, free: 8.93 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.918e-05/0.5267, allocations: 12 kB / 0.5709 GB, free: 8.918 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.5268, allocations: 4.625 kB / 0.5709 GB, free: 8.914 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.351e-05/0.5268, allocations: 12.8 kB / 0.5709 GB, free: 8.902 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.5268, allocations: 0 / 0.5709 GB, free: 8.902 MB / 394.7 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 0.0001056/0.5269, allocations: 121.8 kB / 0.571 GB, free: 8.773 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.897e-05/0.527, allocations: 7.906 kB / 0.571 GB, free: 8.766 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002333/0.5272, allocations: 105.5 kB / 0.5711 GB, free: 8.66 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.5272, allocations: 320 / 0.5711 GB, free: 8.66 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.5272, allocations: 0 / 0.5711 GB, free: 8.66 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.5272, allocations: 4 kB / 0.5711 GB, free: 8.656 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004263/0.5277, allocations: 358.5 kB / 0.5715 GB, free: 8.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.5277, allocations: 0 / 0.5715 GB, free: 8.25 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.539e-05/0.5277, allocations: 23.92 kB / 0.5715 GB, free: 8.227 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.5278, allocations: 0 / 0.5715 GB, free: 8.227 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.5278, allocations: 0 / 0.5715 GB, free: 8.227 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.5278, allocations: 0 / 0.5715 GB, free: 8.227 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.5278, allocations: 4.281 kB / 0.5715 GB, free: 8.223 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002238/0.528, allocations: 187.4 kB / 0.5717 GB, free: 8.023 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.026e-05/0.5281, allocations: 92.98 kB / 0.5718 GB, free: 7.914 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.5281, allocations: 0 / 0.5718 GB, free: 7.914 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.673e-05/0.5282, allocations: 4 kB / 0.5718 GB, free: 7.91 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.26e-05/0.5282, allocations: 19.86 kB / 0.5718 GB, free: 7.891 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.5282, allocations: 4 kB / 0.5718 GB, free: 7.887 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.467e-05/0.5283, allocations: 104 kB / 0.5719 GB, free: 7.785 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5283, allocations: 0 / 0.5719 GB, free: 7.785 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002524/0.5286, allocations: 27.98 kB / 0.5719 GB, free: 7.758 MB / 394.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 (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.0009438/0.5295, allocations: 453.7 kB / 0.5724 GB, free: 7.398 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002054/0.5298, allocations: 51.97 kB / 0.5724 GB, free: 7.348 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.5298, allocations: 0 / 0.5724 GB, free: 7.348 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.473e-05/0.5298, allocations: 27.98 kB / 0.5724 GB, free: 7.32 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002711/0.5301, allocations: 19.98 kB / 0.5725 GB, free: 7.301 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004244/0.5306, allocations: 192.6 kB / 0.5726 GB, free: 7.086 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002919/0.5309, allocations: 0.6887 MB / 0.5733 GB, free: 6.371 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.777e-05/0.5309, allocations: 15.42 kB / 0.5733 GB, free: 6.359 MB / 394.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5309, allocations: 4 kB / 0.5733 GB, free: 6.355 MB / 394.7 MB Notification: Performance of Templates: time 0.003245/0.5342, allocations: 1.542 MB / 0.5748 GB, free: 4.816 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test23/Test23.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches