Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 222.9 MB / 241.6 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 99.39 kB / 291.8 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4142/0.4142, allocations: 44.13 MB / 386.1 MB, free: 37.97 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001079/0.001079, allocations: 43.92 kB / 457.7 MB, free: 2.316 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3727/0.3738, allocations: 60.81 MB / 0.5064 GB, free: 38.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.00275/0.3766, allocations: 1.629 MB / 0.508 GB, free: 37.11 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006478/0.3773, allocations: 404.6 kB / 0.5084 GB, free: 36.85 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.159e-05/0.3773, allocations: 0 / 0.5084 GB, free: 36.85 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002644/0.3776, allocations: 75.17 kB / 0.5084 GB, free: 36.83 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000126/0.3777, allocations: 51.02 kB / 0.5085 GB, free: 36.81 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002061/0.378, allocations: 85.48 kB / 0.5086 GB, free: 36.77 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001226/0.3781, allocations: 65.12 kB / 0.5086 GB, free: 36.75 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.31e-05/0.3782, allocations: 25.25 kB / 0.5087 GB, free: 36.73 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.305e-05/0.3782, allocations: 21.28 kB / 0.5087 GB, free: 36.73 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.434e-05/0.3783, allocations: 50.3 kB / 0.5087 GB, free: 36.71 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.689e-05/0.3783, allocations: 6.75 kB / 0.5087 GB, free: 36.71 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.398e-05/0.3784, allocations: 39.11 kB / 0.5088 GB, free: 36.7 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.975e-05/0.3785, allocations: 18.81 kB / 0.5088 GB, free: 36.69 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.245e-05/0.3785, allocations: 33.56 kB / 0.5088 GB, free: 36.66 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001363/0.3787, allocations: 92.72 kB / 0.5089 GB, free: 36.62 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.3787, allocations: 0 / 0.5089 GB, free: 36.62 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.3787, allocations: 0 / 0.5089 GB, free: 36.62 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.547e-06/0.3787, allocations: 6.906 kB / 0.5089 GB, free: 36.62 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003787/0.3791, allocations: 400 kB / 0.5093 GB, free: 36.21 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.3791, allocations: 9.969 kB / 0.5093 GB, free: 36.21 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.743e-05/0.3792, allocations: 14.38 kB / 0.5093 GB, free: 36.21 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.3793, allocations: 203.2 kB / 0.5095 GB, free: 35.98 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.759e-06/0.3793, allocations: 3.219 kB / 0.5095 GB, free: 35.98 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.911e-05/0.3793, allocations: 6.344 kB / 0.5095 GB, free: 35.98 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.3795, allocations: 52.42 kB / 0.5096 GB, free: 35.94 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.3795, allocations: 4 kB / 0.5096 GB, free: 35.94 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.465e-06/0.3795, allocations: 3.141 kB / 0.5096 GB, free: 35.94 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.3795, allocations: 2.875 kB / 0.5096 GB, free: 35.94 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.988e-05/0.3796, allocations: 21.48 kB / 0.5096 GB, free: 35.93 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002822/0.3799, allocations: 292.8 kB / 0.5099 GB, free: 35.64 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.428e-05/0.38, allocations: 47.67 kB / 0.5099 GB, free: 35.61 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.234e-05/0.38, allocations: 17.89 kB / 0.5099 GB, free: 35.59 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.3801, allocations: 2.875 kB / 0.5099 GB, free: 35.59 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.136e-05/0.3801, allocations: 30.56 kB / 0.51 GB, free: 35.55 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.3801, allocations: 0 / 0.51 GB, free: 35.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007567/0.3808, allocations: 229.1 kB / 0.5102 GB, free: 35.46 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.048e-05/0.3809, allocations: 51.41 kB / 0.5102 GB, free: 35.4 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.381, allocations: 191 kB / 0.5104 GB, free: 35.28 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.017e-05/0.381, allocations: 29.7 kB / 0.5105 GB, free: 35.24 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.708e-05/0.3811, allocations: 106.6 kB / 0.5106 GB, free: 35.14 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.092e-05/0.3811, allocations: 21.86 kB / 0.5106 GB, free: 35.12 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.197e-05/0.3811, allocations: 25.91 kB / 0.5106 GB, free: 35.1 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.988e-05/0.3812, allocations: 321.3 kB / 0.5109 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.825e-05/0.3813, allocations: 22.08 kB / 0.5109 GB, free: 34.78 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.669e-05/0.3813, allocations: 21.81 kB / 0.5109 GB, free: 34.78 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001213/0.3815, allocations: 63.56 kB / 0.511 GB, free: 34.75 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-07/0.3815, allocations: 0 / 0.511 GB, free: 34.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001686/0.3816, allocations: 109.8 kB / 0.5111 GB, free: 34.69 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.3817, allocations: 5.875 kB / 0.5111 GB, free: 34.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.3817, allocations: 0 / 0.5111 GB, free: 34.69 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.3817, allocations: 0 / 0.5111 GB, free: 34.69 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.49e-05/0.3818, allocations: 17.91 kB / 0.5111 GB, free: 34.69 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.3818, allocations: 3.938 kB / 0.5111 GB, free: 34.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.917e-05/0.3818, allocations: 17.98 kB / 0.5112 GB, free: 34.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.3818, allocations: 3.062 kB / 0.5112 GB, free: 34.67 MB / 378.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 (8): * Single equations (assignments): 8 * 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 5.926e-05/0.3819, allocations: 130.3 kB / 0.5113 GB, free: 34.55 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.847e-05/0.3819, allocations: 9.594 kB / 0.5113 GB, free: 34.54 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002182/0.3822, allocations: 115.2 kB / 0.5114 GB, free: 34.48 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.3822, allocations: 0 / 0.5114 GB, free: 34.48 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.3822, allocations: 3.938 kB / 0.5114 GB, free: 34.48 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.3822, allocations: 3.609 kB / 0.5114 GB, free: 34.48 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003916/0.3826, allocations: 398.4 kB / 0.5118 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3826, allocations: 0 / 0.5118 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.886e-05/0.3827, allocations: 21.78 kB / 0.5118 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.3827, allocations: 3.031 kB / 0.5118 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.3827, allocations: 0 / 0.5118 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3827, allocations: 0 / 0.5118 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.3827, allocations: 6.781 kB / 0.5118 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003994/0.3831, allocations: 0.792 MB / 0.5126 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.547e-05/0.3831, allocations: 90.98 kB / 0.5127 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.3832, allocations: 4 kB / 0.5127 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.415e-05/0.3832, allocations: 2.906 kB / 0.5127 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.185e-05/0.3833, allocations: 14.11 kB / 0.5127 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.3833, allocations: 2.812 kB / 0.5127 GB, free: 33.24 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.28e-05/0.3834, allocations: 154.8 kB / 0.5129 GB, free: 33.14 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3834, allocations: 0 / 0.5129 GB, free: 33.14 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003343/0.3837, allocations: 22.69 kB / 0.5129 GB, free: 33.14 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (8): * Single equations (assignments): 8 * 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.0009087/0.3846, allocations: 448.2 kB / 0.5133 GB, free: 32.93 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001878/0.3848, allocations: 62.89 kB / 0.5134 GB, free: 32.92 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3849, allocations: 0 / 0.5134 GB, free: 32.92 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.594e-05/0.3849, allocations: 40.69 kB / 0.5134 GB, free: 32.91 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003262/0.3853, allocations: 19.84 kB / 0.5134 GB, free: 32.9 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004208/0.3857, allocations: 397.7 kB / 0.5138 GB, free: 32.56 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000121/0.3858, allocations: 0.7064 MB / 0.5145 GB, free: 31.86 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.485e-05/0.3859, allocations: 13.83 kB / 0.5145 GB, free: 31.86 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.677e-05/0.3859, allocations: 10.09 kB / 0.5145 GB, free: 31.85 MB / 378.7 MB Notification: Performance of SimCode: time 2.01e-07/0.3859, allocations: 2.75 kB / 0.5145 GB, free: 31.85 MB / 378.7 MB Notification: Performance of Templates: time 0.003255/0.3892, allocations: 1.284 MB / 0.5158 GB, free: 31.69 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches