Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test34.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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test34") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001013/0.001013, allocations: 202.4 kB / 16.1 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.373/1.373, allocations: 226.5 MB / 243.4 MB, free: 8.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007665/0.0007663, allocations: 87.16 kB / 295.5 MB, free: 6.891 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3418/0.3418, allocations: 44.82 MB / 392.3 MB, free: 35.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002884/0.0002886, allocations: 8 kB / 465.3 MB, free: 12.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.354/0.3543, allocations: 62.95 MB / 0.5159 GB, free: 37.09 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test34): time 0.002657/0.357, allocations: 1.306 MB / 0.5171 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001397/0.3584, allocations: 0.4896 MB / 0.5176 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.106e-05/0.3585, allocations: 3.938 kB / 0.5176 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003688/0.3589, allocations: 78.33 kB / 0.5177 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003812/0.3593, allocations: 80.61 kB / 0.5178 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003981/0.3598, allocations: 82.84 kB / 0.5179 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001952/0.36, allocations: 69.05 kB / 0.5179 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.3601, allocations: 28.11 kB / 0.518 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.904e-05/0.3602, allocations: 29.05 kB / 0.518 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001317/0.3604, allocations: 42.42 kB / 0.518 GB, free: 35.65 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.207e-05/0.3604, allocations: 2.969 kB / 0.518 GB, free: 35.65 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001163/0.3606, allocations: 42.16 kB / 0.5181 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.412e-05/0.3606, allocations: 16.98 kB / 0.5181 GB, free: 35.63 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.071e-05/0.3607, allocations: 55.39 kB / 0.5181 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001912/0.3609, allocations: 77.08 kB / 0.5182 GB, free: 35.55 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.3609, allocations: 4 kB / 0.5182 GB, free: 35.55 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3609, allocations: 0 / 0.5182 GB, free: 35.55 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.361, allocations: 0 / 0.5182 GB, free: 35.55 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.0005302/0.3615, allocations: 393.5 kB / 0.5186 GB, free: 35.15 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.3616, allocations: 14.55 kB / 0.5186 GB, free: 35.15 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.108e-05/0.3616, allocations: 14.53 kB / 0.5186 GB, free: 35.14 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002187/0.3619, allocations: 200.8 kB / 0.5188 GB, free: 34.92 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.3619, allocations: 3.344 kB / 0.5188 GB, free: 34.92 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.003e-05/0.3619, allocations: 3.375 kB / 0.5188 GB, free: 34.92 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001961/0.3622, allocations: 60.36 kB / 0.5189 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/0.3622, allocations: 6.984 kB / 0.5189 GB, free: 34.87 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.3622, allocations: 0 / 0.5189 GB, free: 34.87 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.3622, allocations: 0 / 0.5189 GB, free: 34.87 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000171/0.3624, allocations: 32.16 kB / 0.5189 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004592/0.3629, allocations: 304.4 kB / 0.5192 GB, free: 34.56 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000146/0.3631, allocations: 39.48 kB / 0.5192 GB, free: 34.54 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.708e-05/0.3632, allocations: 23.95 kB / 0.5193 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.049e-05/0.3632, allocations: 0 / 0.5193 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.3633, allocations: 34.56 kB / 0.5193 GB, free: 34.48 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.714e-06/0.3633, allocations: 0 / 0.5193 GB, free: 34.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.001329/0.3646, allocations: 251.8 kB / 0.5195 GB, free: 34.39 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.211e-05/0.3647, allocations: 58.31 kB / 0.5196 GB, free: 34.32 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002636/0.3649, allocations: 219.3 kB / 0.5198 GB, free: 34.19 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.365, allocations: 33.7 kB / 0.5198 GB, free: 34.15 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.616e-05/0.365, allocations: 104.9 kB / 0.5199 GB, free: 34.05 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.615e-05/0.3651, allocations: 29.91 kB / 0.52 GB, free: 34.03 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.225e-06/0.3651, allocations: 2.688 kB / 0.52 GB, free: 34.03 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.742e-05/0.3652, allocations: 324.8 kB / 0.5203 GB, free: 33.71 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001282/0.3653, allocations: 25.59 kB / 0.5203 GB, free: 33.7 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001229/0.3655, allocations: 32.56 kB / 0.5203 GB, free: 33.7 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002509/0.3657, allocations: 64.2 kB / 0.5204 GB, free: 33.67 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3658, allocations: 0 / 0.5204 GB, free: 33.67 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003453/0.3661, allocations: 117.4 kB / 0.5205 GB, free: 33.61 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.3662, allocations: 8.531 kB / 0.5205 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.3662, allocations: 3.938 kB / 0.5205 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.3662, allocations: 0 / 0.5205 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/0.3664, allocations: 19.52 kB / 0.5205 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.3664, allocations: 0 / 0.5205 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.679e-05/0.3665, allocations: 17.41 kB / 0.5205 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.46e-05/0.3665, allocations: 10.27 kB / 0.5206 GB, free: 33.59 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 0.0001154/0.3667, allocations: 120.1 kB / 0.5207 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.304e-05/0.3667, allocations: 9 kB / 0.5207 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004219/0.3672, allocations: 132 kB / 0.5208 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.3672, allocations: 4 kB / 0.5208 GB, free: 33.4 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.595e-06/0.3672, allocations: 2.781 kB / 0.5208 GB, free: 33.4 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.3672, allocations: 3.938 kB / 0.5208 GB, free: 33.4 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007204/0.368, allocations: 405.9 kB / 0.5212 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.368, allocations: 4.031 kB / 0.5212 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/0.3681, allocations: 20.28 kB / 0.5212 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.795e-06/0.3681, allocations: 3.938 kB / 0.5212 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.3682, allocations: 6.781 kB / 0.5212 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.3682, allocations: 0 / 0.5212 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.3682, allocations: 0 / 0.5212 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003811/0.3686, allocations: 218.4 kB / 0.5214 GB, free: 32.87 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.091e-05/0.3686, allocations: 95.66 kB / 0.5215 GB, free: 32.76 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.014e-05/0.3687, allocations: 6.969 kB / 0.5215 GB, free: 32.76 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001428/0.3689, allocations: 2.812 kB / 0.5215 GB, free: 32.76 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.635e-05/0.3689, allocations: 8.938 kB / 0.5216 GB, free: 32.76 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/0.369, allocations: 4 kB / 0.5216 GB, free: 32.75 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001819/0.3691, allocations: 165.1 kB / 0.5217 GB, free: 32.66 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.3692, allocations: 0 / 0.5217 GB, free: 32.66 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004561/0.3696, allocations: 25.95 kB / 0.5217 GB, free: 32.65 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.001614/0.3713, allocations: 450.9 kB / 0.5222 GB, free: 32.43 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003116/0.3716, allocations: 71.42 kB / 0.5222 GB, free: 32.41 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.3716, allocations: 0 / 0.5222 GB, free: 32.41 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001332/0.3718, allocations: 47.5 kB / 0.5223 GB, free: 32.39 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005277/0.3723, allocations: 16.12 kB / 0.5223 GB, free: 32.39 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000667/0.373, allocations: 296.4 kB / 0.5226 GB, free: 32.16 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001698/0.3732, allocations: 0.7099 MB / 0.5233 GB, free: 31.46 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.33e-05/0.3733, allocations: 18.97 kB / 0.5233 GB, free: 31.45 MB / 378.7 MB Notification: Performance of SimCode: time 6.72e-07/0.3733, allocations: 0 / 0.5233 GB, free: 31.45 MB / 378.7 MB Notification: Performance of Templates: time 0.005259/0.3785, allocations: 1.737 MB / 0.525 GB, free: 31.25 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test34.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test34.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test34 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test34/Test34.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches