Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.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.CombiTable1D.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.CombiTable1D.Test5") translateModel(ModelicaTest.Tables.CombiTable1D.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.CombiTable1D.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000888/0.0008882, allocations: 97.22 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.0008778/0.0008779, allocations: 176.3 kB / 16.57 MB, free: 6.391 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.206/1.206, allocations: 205.4 MB / 222.7 MB, free: 5.664 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.2969/0.2969, 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.0004447/0.0004447, allocations: 18.97 kB / 383.9 MB, free: 8.012 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09305/0.09351, allocations: 58.85 MB / 442.7 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test5): time 0.001642/0.09519, allocations: 1.257 MB / 444 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004927/0.09571, allocations: 287.9 kB / 444.3 MB, free: 11.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.436e-05/0.09577, allocations: 0 / 444.3 MB, free: 11.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002261/0.09601, allocations: 91.73 kB / 444.4 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001369/0.09615, allocations: 55.86 kB / 444.4 MB, free: 11.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002378/0.0964, allocations: 91.75 kB / 444.5 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001218/0.09653, allocations: 43.89 kB / 444.6 MB, free: 11.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.781e-05/0.09662, allocations: 19.97 kB / 444.6 MB, free: 11.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.904e-05/0.09667, allocations: 27.91 kB / 444.6 MB, free: 11.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.999e-05/0.09676, allocations: 35.84 kB / 444.6 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.598e-06/0.09678, allocations: 0 / 444.6 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.091e-05/0.09684, allocations: 19.98 kB / 444.7 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.033e-05/0.09688, allocations: 19.91 kB / 444.7 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.654e-05/0.09691, allocations: 37.64 kB / 444.7 MB, free: 11.06 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000109/0.09703, allocations: 72.06 kB / 444.8 MB, free: 10.99 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.09704, allocations: 4 kB / 444.8 MB, free: 10.99 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.09704, allocations: 0 / 444.8 MB, free: 10.99 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.436e-06/0.09705, allocations: 4 kB / 444.8 MB, free: 10.98 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.0003844/0.09744, allocations: 387 kB / 445.2 MB, free: 10.56 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.828e-05/0.09748, allocations: 8.031 kB / 445.2 MB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.053e-05/0.09752, allocations: 19.8 kB / 445.2 MB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001616/0.09769, allocations: 195.6 kB / 445.4 MB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.554e-06/0.09771, allocations: 0 / 445.4 MB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.241e-05/0.09773, allocations: 4 kB / 445.4 MB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.09786, allocations: 57.62 kB / 445.5 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.09788, allocations: 3.906 kB / 445.5 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.09789, allocations: 0 / 445.5 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.0979, allocations: 0 / 445.5 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.891e-05/0.09799, allocations: 35.92 kB / 445.5 MB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003312/0.09833, allocations: 296.9 kB / 445.8 MB, free: 9.855 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001711/0.09852, allocations: 46.5 kB / 445.8 MB, free: 9.801 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.55e-05/0.09854, allocations: 0 / 445.8 MB, free: 9.801 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.691e-05/0.09856, allocations: 30.56 kB / 445.9 MB, free: 9.762 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 7.22e-07/0.09857, allocations: 0 / 445.9 MB, free: 9.762 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005092/0.09908, allocations: 181.2 kB / 446 MB, free: 9.578 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.845e-05/0.09912, allocations: 55.34 kB / 446.1 MB, free: 9.512 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000181/0.09931, allocations: 227.1 kB / 446.3 MB, free: 9.281 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/0.09933, allocations: 25.7 kB / 446.3 MB, free: 9.25 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.881e-05/0.09939, allocations: 104.1 kB / 446.4 MB, free: 9.145 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.555e-05/0.09942, allocations: 19.64 kB / 446.5 MB, free: 9.125 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-06/0.09943, allocations: 4 kB / 446.5 MB, free: 9.121 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.508e-05/0.09953, allocations: 322.8 kB / 446.8 MB, free: 8.797 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.687e-05/0.0996, allocations: 19.98 kB / 446.8 MB, free: 8.777 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.021e-05/0.09967, allocations: 27.98 kB / 446.8 MB, free: 8.75 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.772e-05/0.09974, allocations: 27.98 kB / 446.9 MB, free: 8.723 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.09975, allocations: 4 kB / 446.9 MB, free: 8.719 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001882/0.09994, allocations: 101.5 kB / 447 MB, free: 8.613 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.09997, allocations: 4 kB / 447 MB, free: 8.609 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.09998, allocations: 3.953 kB / 447 MB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.09999, allocations: 4 kB / 447 MB, free: 8.602 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.895e-05/0.1001, allocations: 11.98 kB / 447 MB, free: 8.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.1001, allocations: 4 kB / 447 MB, free: 8.586 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.981e-05/0.1001, allocations: 4 kB / 447 MB, free: 8.582 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.1001, allocations: 0 / 447 MB, free: 8.582 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 7.71e-05/0.1002, allocations: 133.8 kB / 447.1 MB, free: 8.441 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.891e-05/0.1002, allocations: 7.906 kB / 447.1 MB, free: 8.434 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002298/0.1005, allocations: 114.9 kB / 447.2 MB, free: 8.309 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.1005, allocations: 11.95 kB / 447.2 MB, free: 8.297 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.1005, allocations: 4 kB / 447.3 MB, free: 8.293 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.1005, allocations: 0 / 447.3 MB, free: 8.293 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003991/0.1009, allocations: 366.5 kB / 447.6 MB, free: 7.879 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1009, allocations: 0 / 447.6 MB, free: 7.879 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.309e-05/0.101, allocations: 19.92 kB / 447.6 MB, free: 7.859 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.307e-06/0.101, allocations: 7.953 kB / 447.6 MB, free: 7.852 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.101, allocations: 4 kB / 447.6 MB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.101, allocations: 7.938 kB / 447.6 MB, free: 7.84 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.101, allocations: 0 / 447.6 MB, free: 7.84 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002079/0.1012, allocations: 187.4 kB / 447.8 MB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.798e-05/0.1013, allocations: 85.02 kB / 447.9 MB, free: 7.539 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.1013, allocations: 7.953 kB / 447.9 MB, free: 7.531 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.68e-05/0.1014, allocations: 15.92 kB / 447.9 MB, free: 7.516 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.738e-05/0.1014, allocations: 0 / 447.9 MB, free: 7.516 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.1014, allocations: 4 kB / 447.9 MB, free: 7.512 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001232/0.1016, allocations: 171.2 kB / 448.1 MB, free: 7.344 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1016, allocations: 0 / 448.1 MB, free: 7.344 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002236/0.1018, allocations: 16 kB / 448.1 MB, free: 7.328 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.0007741/0.1026, allocations: 393.7 kB / 448.5 MB, free: 6.977 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001812/0.1028, allocations: 59.91 kB / 448.6 MB, free: 6.918 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1028, allocations: 0 / 448.6 MB, free: 6.918 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.618e-05/0.1029, allocations: 35.97 kB / 448.6 MB, free: 6.883 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002048/0.1031, allocations: 15.94 kB / 448.6 MB, free: 6.867 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003605/0.1034, allocations: 261.3 kB / 448.9 MB, free: 6.586 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002414/0.1037, allocations: 0.716 MB / 449.6 MB, free: 5.844 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.615e-05/0.1038, allocations: 15.97 kB / 449.6 MB, free: 5.828 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.473e-05/0.1038, allocations: 15.42 kB / 449.6 MB, free: 5.812 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1038, allocations: 0 / 449.6 MB, free: 5.812 MB / 382.1 MB Notification: Performance of Templates: time 0.003028/0.1068, allocations: 1.045 MB / 450.7 MB, free: 4.766 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test5/Test5.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches