Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test26.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test26,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_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test26") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test26,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_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001722/0.001722, allocations: 198.9 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.46/1.46, allocations: 226.5 MB / 243.4 MB, free: 8.23 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000784/0.0007837, allocations: 95.5 kB / 295.5 MB, free: 6.926 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3283/0.3283, allocations: 44.83 MB / 392.3 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003859/0.0003863, allocations: 8 kB / 465.3 MB, free: 12.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3707/0.3711, allocations: 62.95 MB / 0.5159 GB, free: 36.96 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test26): time 0.00169/0.3729, allocations: 1.31 MB / 0.5171 GB, free: 36.01 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007607/0.3736, allocations: 0.5045 MB / 0.5176 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.692e-05/0.3737, allocations: 0 / 0.5176 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002361/0.3739, allocations: 78.2 kB / 0.5177 GB, free: 35.65 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002053/0.3742, allocations: 88.23 kB / 0.5178 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002733/0.3744, allocations: 101.8 kB / 0.5179 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001286/0.3746, allocations: 67.58 kB / 0.518 GB, free: 35.54 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.3747, allocations: 24.41 kB / 0.518 GB, free: 35.53 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.987e-05/0.3748, allocations: 28.77 kB / 0.518 GB, free: 35.52 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.422e-05/0.3749, allocations: 48.53 kB / 0.5181 GB, free: 35.5 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.43e-05/0.3749, allocations: 2.875 kB / 0.5181 GB, free: 35.5 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.872e-05/0.375, allocations: 36.61 kB / 0.5181 GB, free: 35.5 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.42e-05/0.375, allocations: 20.23 kB / 0.5181 GB, free: 35.49 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.363e-05/0.3751, allocations: 58.56 kB / 0.5182 GB, free: 35.43 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001275/0.3752, allocations: 75.64 kB / 0.5182 GB, free: 35.41 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.3752, allocations: 0 / 0.5182 GB, free: 35.41 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3752, allocations: 0 / 0.5182 GB, free: 35.41 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.521e-06/0.3752, allocations: 0 / 0.5182 GB, free: 35.41 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.0003928/0.3756, allocations: 393.6 kB / 0.5186 GB, free: 35.02 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.3757, allocations: 10.41 kB / 0.5186 GB, free: 35.02 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.341e-05/0.3757, allocations: 14.34 kB / 0.5186 GB, free: 35.01 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.3759, allocations: 206.9 kB / 0.5188 GB, free: 34.78 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.3759, allocations: 3.188 kB / 0.5188 GB, free: 34.78 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.332e-05/0.3759, allocations: 11.31 kB / 0.5189 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.3761, allocations: 54.62 kB / 0.5189 GB, free: 34.73 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.3761, allocations: 0 / 0.5189 GB, free: 34.73 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.3761, allocations: 8 kB / 0.5189 GB, free: 34.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.3761, allocations: 2.969 kB / 0.5189 GB, free: 34.73 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.29e-05/0.3762, allocations: 27.95 kB / 0.5189 GB, free: 34.72 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003438/0.3765, allocations: 313.8 kB / 0.5192 GB, free: 34.42 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.972e-05/0.3767, allocations: 49.98 kB / 0.5193 GB, free: 34.39 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.849e-05/0.3767, allocations: 20.92 kB / 0.5193 GB, free: 34.38 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.722e-05/0.3768, allocations: 10.94 kB / 0.5193 GB, free: 34.37 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.68e-05/0.3768, allocations: 33.8 kB / 0.5194 GB, free: 34.33 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.332e-06/0.3768, allocations: 0 / 0.5194 GB, free: 34.33 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008316/0.3776, allocations: 260.1 kB / 0.5196 GB, free: 34.24 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.332e-05/0.3777, allocations: 59.34 kB / 0.5197 GB, free: 34.17 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001852/0.3779, allocations: 219.4 kB / 0.5199 GB, free: 34.04 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.3779, allocations: 28.42 kB / 0.5199 GB, free: 34 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.993e-05/0.3779, allocations: 109.2 kB / 0.52 GB, free: 33.9 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.392e-05/0.378, allocations: 22.59 kB / 0.52 GB, free: 33.88 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.3e-06/0.378, allocations: 0 / 0.52 GB, free: 33.88 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.909e-05/0.378, allocations: 324.4 kB / 0.5203 GB, free: 33.57 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.256e-05/0.3781, allocations: 35.3 kB / 0.5204 GB, free: 33.55 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.094e-05/0.3782, allocations: 34.31 kB / 0.5204 GB, free: 33.55 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/0.3784, allocations: 83.14 kB / 0.5205 GB, free: 33.52 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.3784, allocations: 3 kB / 0.5205 GB, free: 33.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002139/0.3786, allocations: 119.2 kB / 0.5206 GB, free: 33.46 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.3786, allocations: 12.47 kB / 0.5206 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.3786, allocations: 0 / 0.5206 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.3787, allocations: 0 / 0.5206 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.958e-05/0.3788, allocations: 21.22 kB / 0.5206 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.3788, allocations: 0 / 0.5206 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.244e-05/0.3788, allocations: 18.84 kB / 0.5206 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-06/0.3788, allocations: 6.031 kB / 0.5206 GB, free: 33.44 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.442e-05/0.3789, allocations: 120.9 kB / 0.5208 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.132e-05/0.379, allocations: 17.53 kB / 0.5208 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002572/0.3792, allocations: 142.7 kB / 0.5209 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.3792, allocations: 0 / 0.5209 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3792, allocations: 0 / 0.5209 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.3793, allocations: 3.938 kB / 0.5209 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004371/0.3797, allocations: 428.5 kB / 0.5213 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.3797, allocations: 6.141 kB / 0.5213 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.522e-05/0.3798, allocations: 14.53 kB / 0.5213 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.3798, allocations: 7.172 kB / 0.5214 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/0.3798, allocations: 6.844 kB / 0.5214 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3798, allocations: 0 / 0.5214 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3798, allocations: 2.969 kB / 0.5214 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002124/0.38, allocations: 225 kB / 0.5216 GB, free: 32.7 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.272e-05/0.3801, allocations: 91.8 kB / 0.5217 GB, free: 32.6 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/0.3801, allocations: 7.141 kB / 0.5217 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.203e-05/0.3802, allocations: 13.81 kB / 0.5217 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.204e-05/0.3802, allocations: 6.375 kB / 0.5217 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.71e-06/0.3802, allocations: 2.781 kB / 0.5217 GB, free: 32.59 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.951e-05/0.3803, allocations: 163.9 kB / 0.5218 GB, free: 32.49 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3804, allocations: 0 / 0.5218 GB, free: 32.49 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000236/0.3806, allocations: 18.34 kB / 0.5219 GB, free: 32.48 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 (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.000907/0.3815, allocations: 444.4 kB / 0.5223 GB, free: 32.27 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002082/0.3817, allocations: 80.17 kB / 0.5224 GB, free: 32.25 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3817, allocations: 4 kB / 0.5224 GB, free: 32.25 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.629e-05/0.3818, allocations: 41.84 kB / 0.5224 GB, free: 32.24 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003276/0.3822, allocations: 32.69 kB / 0.5224 GB, free: 32.22 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004857/0.3827, allocations: 312.5 kB / 0.5227 GB, free: 31.98 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002233/0.3829, allocations: 0.7094 MB / 0.5234 GB, free: 31.29 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.819e-05/0.3829, allocations: 17.34 kB / 0.5234 GB, free: 31.28 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3829, allocations: 0 / 0.5234 GB, free: 31.28 MB / 378.7 MB Notification: Performance of Templates: time 0.003122/0.3861, allocations: 1.799 MB / 0.5252 GB, free: 31.07 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test26.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test26.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test26 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test26/Test26.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches