Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4") translateModel(ModelicaTest.Tables.CombiTable1D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008624/0.0008624, allocations: 96.36 kB / 15.68 MB, free: 488 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.0008131/0.0008131, allocations: 176 kB / 16.57 MB, free: 6.379 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.184/1.184, allocations: 205.4 MB / 222.7 MB, free: 5.652 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.2649/0.2649, allocations: 43.54 MB / 314.5 MB, free: 9.004 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.0004376/0.0004377, allocations: 12 kB / 383.9 MB, free: 8.266 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0923/0.09274, allocations: 58.86 MB / 442.7 MB, free: 13.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test4): time 0.001673/0.09445, allocations: 1.28 MB / 444 MB, free: 12.01 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005135/0.09499, allocations: 287.9 kB / 444.3 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.908e-05/0.09504, allocations: 0 / 444.3 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002295/0.09528, allocations: 83.73 kB / 444.4 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000135/0.09543, allocations: 63.86 kB / 444.5 MB, free: 11.58 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000245/0.09568, allocations: 83.77 kB / 444.5 MB, free: 11.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001137/0.09581, allocations: 47.94 kB / 444.6 MB, free: 11.45 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.472e-05/0.0959, allocations: 28.14 kB / 444.6 MB, free: 11.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.57e-05/0.09595, allocations: 27.86 kB / 444.6 MB, free: 11.4 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.29e-05/0.09604, allocations: 43.81 kB / 444.7 MB, free: 11.36 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.048e-05/0.09606, allocations: 4 kB / 444.7 MB, free: 11.35 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.48e-05/0.09613, allocations: 16 kB / 444.7 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.627e-05/0.09617, allocations: 23.92 kB / 444.7 MB, free: 11.31 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.705e-05/0.09621, allocations: 41.58 kB / 444.8 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001077/0.09632, allocations: 80.09 kB / 444.8 MB, free: 11.19 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.09633, allocations: 0 / 444.8 MB, free: 11.19 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.09634, allocations: 3.938 kB / 444.8 MB, free: 11.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.056e-06/0.09634, allocations: 0 / 444.8 MB, free: 11.18 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004003/0.09675, allocations: 406.9 kB / 445.2 MB, free: 10.74 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/0.09679, allocations: 12.02 kB / 445.3 MB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.398e-05/0.09683, allocations: 15.77 kB / 445.3 MB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000171/0.09701, allocations: 195.6 kB / 445.5 MB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.646e-06/0.09702, allocations: 0 / 445.5 MB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.083e-05/0.09705, allocations: 8 kB / 445.5 MB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.09721, allocations: 79.33 kB / 445.5 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.09723, allocations: 0 / 445.5 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.09724, allocations: 4 kB / 445.5 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.09725, allocations: 0 / 445.5 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001079/0.09736, allocations: 39.92 kB / 445.6 MB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00042/0.09779, allocations: 408.9 kB / 446 MB, free: 9.887 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002297/0.09803, allocations: 89.16 kB / 446.1 MB, free: 9.781 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.09806, allocations: 0 / 446.1 MB, free: 9.781 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.858e-05/0.09809, allocations: 38.5 kB / 446.1 MB, free: 9.734 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 9.22e-07/0.09809, allocations: 4 kB / 446.1 MB, free: 9.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006567/0.09875, allocations: 261.3 kB / 446.4 MB, free: 9.469 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.169e-05/0.09882, allocations: 81.11 kB / 446.4 MB, free: 9.371 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000188/0.09901, allocations: 230.3 kB / 446.7 MB, free: 9.137 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.09904, allocations: 29.7 kB / 446.7 MB, free: 9.102 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.132e-05/0.09909, allocations: 112 kB / 446.8 MB, free: 8.988 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.654e-05/0.09913, allocations: 31.55 kB / 446.8 MB, free: 8.957 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.688e-06/0.09914, allocations: 0 / 446.8 MB, free: 8.957 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.604e-05/0.09925, allocations: 326.8 kB / 447.2 MB, free: 8.629 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.466e-05/0.09934, allocations: 35.97 kB / 447.2 MB, free: 8.594 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.402e-05/0.09943, allocations: 53.62 kB / 447.3 MB, free: 8.535 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.963e-05/0.09954, allocations: 52.05 kB / 447.3 MB, free: 8.484 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.09955, allocations: 0 / 447.3 MB, free: 8.484 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002218/0.09977, allocations: 129.5 kB / 447.4 MB, free: 8.352 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.09979, allocations: 7.953 kB / 447.4 MB, free: 8.344 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.09981, allocations: 7.984 kB / 447.4 MB, free: 8.336 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.969e-06/0.09982, allocations: 4 kB / 447.4 MB, free: 8.332 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.387e-05/0.09991, allocations: 27.92 kB / 447.5 MB, free: 8.305 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.09992, allocations: 0 / 447.5 MB, free: 8.305 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.39e-05/0.09997, allocations: 4 kB / 447.5 MB, free: 8.301 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.09998, allocations: 4 kB / 447.5 MB, free: 8.297 MB / 382.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 (10): * Single equations (assignments): 10 * 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.395e-05/0.1001, allocations: 129.8 kB / 447.6 MB, free: 8.16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.449e-05/0.1001, allocations: 11.91 kB / 447.6 MB, free: 8.148 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002986/0.1004, allocations: 162.4 kB / 447.8 MB, free: 7.977 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.1005, allocations: 4 kB / 447.8 MB, free: 7.973 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1005, allocations: 0 / 447.8 MB, free: 7.973 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.1005, allocations: 3.984 kB / 447.8 MB, free: 7.969 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005715/0.101, allocations: 0.5144 MB / 448.3 MB, free: 7.395 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.1011, allocations: 4 kB / 448.3 MB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.519e-05/0.1011, allocations: 23.98 kB / 448.3 MB, free: 7.367 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.1012, allocations: 0 / 448.3 MB, free: 7.367 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.1012, allocations: 12.03 kB / 448.3 MB, free: 7.355 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.997e-06/0.1012, allocations: 3.984 kB / 448.3 MB, free: 7.352 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1012, allocations: 0 / 448.3 MB, free: 7.352 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002902/0.1015, allocations: 338.8 kB / 448.7 MB, free: 6.988 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.725e-05/0.1015, allocations: 92.94 kB / 448.8 MB, free: 6.879 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.1016, allocations: 0 / 448.8 MB, free: 6.879 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.1017, allocations: 8 kB / 448.8 MB, free: 6.871 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.929e-05/0.1017, allocations: 7.984 kB / 448.8 MB, free: 6.863 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.1017, allocations: 4 kB / 448.8 MB, free: 6.859 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001209/0.1018, allocations: 180.2 kB / 449 MB, free: 6.684 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1018, allocations: 3.938 kB / 449 MB, free: 6.68 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002738/0.1021, allocations: 20.23 kB / 449 MB, free: 6.66 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.0007984/0.1029, allocations: 405 kB / 449.4 MB, free: 6.297 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002213/0.1032, allocations: 95.89 kB / 449.5 MB, free: 6.203 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1032, allocations: 0 / 449.5 MB, free: 6.203 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.1033, allocations: 51.91 kB / 449.5 MB, free: 6.152 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002448/0.1035, allocations: 15.98 kB / 449.5 MB, free: 6.137 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000419/0.104, allocations: 311.6 kB / 449.8 MB, free: 5.801 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002511/0.1042, allocations: 0.7278 MB / 450.6 MB, free: 5.047 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.553e-05/0.1043, allocations: 16.42 kB / 450.6 MB, free: 5.031 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.92e-05/0.1043, allocations: 15.42 kB / 450.6 MB, free: 5.016 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1043, allocations: 3.938 kB / 450.6 MB, free: 5.012 MB / 382.1 MB Notification: Performance of Templates: time 0.003166/0.1075, allocations: 1.202 MB / 451.8 MB, free: 3.809 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test4/Test4.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches