Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.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.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_trunk_cpp_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_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001265/0.001265, allocations: 204.1 kB / 16.1 MB, free: 5.699 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 226.6 MB / 243.4 MB, free: 8.102 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007409/0.000741, allocations: 96.44 kB / 295.5 MB, free: 6.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3524/0.3524, allocations: 44.83 MB / 392.3 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000312/0.0003121, allocations: 12 kB / 465.3 MB, free: 12.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3117/0.3121, allocations: 62.97 MB / 0.5159 GB, free: 36.99 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.001596/0.3137, allocations: 1.303 MB / 0.5172 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006976/0.3144, allocations: 494.1 kB / 0.5176 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.027e-05/0.3145, allocations: 2.906 kB / 0.5176 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002315/0.3147, allocations: 82.86 kB / 0.5177 GB, free: 35.69 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002191/0.315, allocations: 80.69 kB / 0.5178 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002271/0.3152, allocations: 76.47 kB / 0.5179 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000122/0.3153, allocations: 62.36 kB / 0.5179 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.098e-05/0.3154, allocations: 23.23 kB / 0.5179 GB, free: 35.58 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.681e-05/0.3155, allocations: 33.47 kB / 0.518 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.112e-05/0.3156, allocations: 43.7 kB / 0.518 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.3156, allocations: 2.938 kB / 0.518 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.168e-05/0.3157, allocations: 36.36 kB / 0.518 GB, free: 35.54 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.191e-05/0.3157, allocations: 12.83 kB / 0.5181 GB, free: 35.54 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.848e-05/0.3158, allocations: 55.12 kB / 0.5181 GB, free: 35.48 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001459/0.3159, allocations: 76.55 kB / 0.5182 GB, free: 35.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.316, allocations: 0 / 0.5182 GB, free: 35.46 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.316, allocations: 0 / 0.5182 GB, free: 35.46 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.316, allocations: 0 / 0.5182 GB, free: 35.46 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.0004532/0.3164, allocations: 397.4 kB / 0.5186 GB, free: 35.06 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.3165, allocations: 11.53 kB / 0.5186 GB, free: 35.06 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.047e-05/0.3165, allocations: 7.812 kB / 0.5186 GB, free: 35.06 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001592/0.3167, allocations: 202.2 kB / 0.5188 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.853e-06/0.3167, allocations: 384 / 0.5188 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.248e-05/0.3168, allocations: 7.094 kB / 0.5188 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.3169, allocations: 62.7 kB / 0.5188 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.3169, allocations: 4 kB / 0.5188 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-06/0.3169, allocations: 6.828 kB / 0.5189 GB, free: 34.78 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.3169, allocations: 0 / 0.5189 GB, free: 34.78 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.407e-05/0.317, allocations: 27.97 kB / 0.5189 GB, free: 34.78 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002788/0.3173, allocations: 290.8 kB / 0.5192 GB, free: 34.49 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.472e-05/0.3174, allocations: 49.3 kB / 0.5192 GB, free: 34.45 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.304e-05/0.3175, allocations: 20.84 kB / 0.5192 GB, free: 34.44 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.3175, allocations: 3.062 kB / 0.5192 GB, free: 34.44 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.368e-05/0.3175, allocations: 30.56 kB / 0.5193 GB, free: 34.4 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.3175, allocations: 0 / 0.5193 GB, free: 34.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.001/0.3185, allocations: 254.1 kB / 0.5195 GB, free: 34.31 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.517e-05/0.3186, allocations: 51.41 kB / 0.5195 GB, free: 34.25 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/0.3187, allocations: 205.6 kB / 0.5197 GB, free: 34.11 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.418e-06/0.3187, allocations: 29.7 kB / 0.5198 GB, free: 34.07 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.726e-05/0.3188, allocations: 101 kB / 0.5199 GB, free: 33.98 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.057e-05/0.3188, allocations: 29.59 kB / 0.5199 GB, free: 33.96 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-06/0.3188, allocations: 0 / 0.5199 GB, free: 33.96 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.573e-05/0.3189, allocations: 325 kB / 0.5202 GB, free: 33.64 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.898e-05/0.3189, allocations: 24.23 kB / 0.5202 GB, free: 33.63 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.061e-05/0.319, allocations: 31.78 kB / 0.5203 GB, free: 33.62 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001249/0.3191, allocations: 69.52 kB / 0.5203 GB, free: 33.6 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.3191, allocations: 6.875 kB / 0.5203 GB, free: 33.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002214/0.3194, allocations: 116.4 kB / 0.5204 GB, free: 33.53 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.3194, allocations: 9.844 kB / 0.5205 GB, free: 33.53 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.3194, allocations: 0 / 0.5205 GB, free: 33.53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.3194, allocations: 0 / 0.5205 GB, free: 33.53 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.19e-05/0.3195, allocations: 17.95 kB / 0.5205 GB, free: 33.53 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.3195, allocations: 3.938 kB / 0.5205 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.161e-05/0.3196, allocations: 17.09 kB / 0.5205 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.3196, allocations: 7.062 kB / 0.5205 GB, free: 33.51 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 6.157e-05/0.3196, allocations: 123.2 kB / 0.5206 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.738e-05/0.3197, allocations: 7.625 kB / 0.5206 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002221/0.3199, allocations: 128.3 kB / 0.5207 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.3199, allocations: 0 / 0.5207 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.3199, allocations: 0 / 0.5207 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.3199, allocations: 6.938 kB / 0.5208 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004851/0.3204, allocations: 413.3 kB / 0.5211 GB, free: 32.97 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.3204, allocations: 0 / 0.5211 GB, free: 32.97 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.391e-05/0.3205, allocations: 21.75 kB / 0.5212 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.3205, allocations: 7.969 kB / 0.5212 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.3205, allocations: 2.938 kB / 0.5212 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.3205, allocations: 0 / 0.5212 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3205, allocations: 0 / 0.5212 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001944/0.3207, allocations: 215 kB / 0.5214 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.941e-05/0.3208, allocations: 92.59 kB / 0.5215 GB, free: 32.69 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.3208, allocations: 0 / 0.5215 GB, free: 32.69 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.681e-05/0.3209, allocations: 8.891 kB / 0.5215 GB, free: 32.69 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.796e-05/0.3209, allocations: 13.83 kB / 0.5215 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.3209, allocations: 2.719 kB / 0.5215 GB, free: 32.68 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.942e-05/0.321, allocations: 152.8 kB / 0.5216 GB, free: 32.59 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.321, allocations: 4 kB / 0.5216 GB, free: 32.58 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00027/0.3213, allocations: 23.8 kB / 0.5217 GB, free: 32.58 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.0009027/0.3222, allocations: 447.2 kB / 0.5221 GB, free: 32.35 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001916/0.3224, allocations: 75.75 kB / 0.5222 GB, free: 32.33 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3224, allocations: 0 / 0.5222 GB, free: 32.33 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.893e-05/0.3225, allocations: 45.83 kB / 0.5222 GB, free: 32.32 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002991/0.3228, allocations: 20.78 kB / 0.5222 GB, free: 32.31 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004123/0.3233, allocations: 286 kB / 0.5225 GB, free: 32.09 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000123/0.3234, allocations: 0.7108 MB / 0.5232 GB, free: 31.39 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.268e-05/0.3234, allocations: 13.34 kB / 0.5232 GB, free: 31.38 MB / 378.7 MB Notification: Performance of SimCode: time 3.71e-07/0.3234, allocations: 0 / 0.5232 GB, free: 31.38 MB / 378.7 MB Notification: Performance of Templates: time 0.003186/0.3266, allocations: 1.717 MB / 0.5249 GB, free: 31.18 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches