Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.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.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test48") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009903/0.0009903, allocations: 193.9 kB / 16.1 MB, free: 5.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.244/1.244, allocations: 226.5 MB / 243.4 MB, free: 6.449 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007889/0.0007888, allocations: 97.14 kB / 295.5 MB, free: 6.648 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2926/0.2926, allocations: 44.82 MB / 392.3 MB, free: 35.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002469/0.0002471, allocations: 8 kB / 465.3 MB, free: 12.65 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.292, allocations: 62.96 MB / 0.5159 GB, free: 37.32 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.001705/0.2938, allocations: 1.425 MB / 0.5173 GB, free: 36.28 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001246/0.295, allocations: 0.9564 MB / 0.5182 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.193e-05/0.2951, allocations: 0 / 0.5182 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002908/0.2954, allocations: 60.83 kB / 0.5183 GB, free: 35.6 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002569/0.2957, allocations: 80.72 kB / 0.5183 GB, free: 35.56 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002415/0.296, allocations: 100.8 kB / 0.5184 GB, free: 35.51 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001334/0.2961, allocations: 90.41 kB / 0.5185 GB, free: 35.47 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.536e-05/0.2962, allocations: 6.922 kB / 0.5185 GB, free: 35.47 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.768e-05/0.2963, allocations: 48.95 kB / 0.5186 GB, free: 35.45 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.169e-05/0.2964, allocations: 31.62 kB / 0.5186 GB, free: 35.44 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.657e-05/0.2964, allocations: 2.969 kB / 0.5186 GB, free: 35.44 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.987e-05/0.2965, allocations: 41.83 kB / 0.5186 GB, free: 35.43 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.53e-05/0.2965, allocations: 23.61 kB / 0.5187 GB, free: 35.42 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.26e-05/0.2966, allocations: 68.94 kB / 0.5187 GB, free: 35.36 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001337/0.2967, allocations: 99.81 kB / 0.5188 GB, free: 35.32 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.2967, allocations: 0 / 0.5188 GB, free: 35.32 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.2967, allocations: 2.969 kB / 0.5188 GB, free: 35.32 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.2968, allocations: 3.938 kB / 0.5188 GB, free: 35.32 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004432/0.2972, allocations: 429.1 kB / 0.5192 GB, free: 34.9 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.2973, allocations: 8.844 kB / 0.5193 GB, free: 34.9 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.864e-05/0.2973, allocations: 18 kB / 0.5193 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001715/0.2975, allocations: 216.4 kB / 0.5195 GB, free: 34.66 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.2975, allocations: 7.375 kB / 0.5195 GB, free: 34.66 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.721e-05/0.2975, allocations: 7.594 kB / 0.5195 GB, free: 34.66 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001276/0.2977, allocations: 54.83 kB / 0.5195 GB, free: 34.62 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.2977, allocations: 0 / 0.5195 GB, free: 34.62 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.2977, allocations: 4 kB / 0.5196 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.2977, allocations: 7.875 kB / 0.5196 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.17e-05/0.2978, allocations: 18.39 kB / 0.5196 GB, free: 34.6 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000279/0.2981, allocations: 296.1 kB / 0.5199 GB, free: 34.31 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001419/0.2982, allocations: 56.61 kB / 0.5199 GB, free: 34.28 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.839e-05/0.2983, allocations: 28.77 kB / 0.5199 GB, free: 34.26 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.2983, allocations: 0 / 0.5199 GB, free: 34.26 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001347/0.2984, allocations: 68.44 kB / 0.52 GB, free: 34.2 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.273e-06/0.2984, allocations: 0 / 0.52 GB, free: 34.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004839/0.2989, allocations: 185.3 kB / 0.5202 GB, free: 34.11 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.397e-05/0.299, allocations: 51.41 kB / 0.5202 GB, free: 34.04 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001931/0.2992, allocations: 271.5 kB / 0.5205 GB, free: 33.89 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.05e-05/0.2992, allocations: 28.77 kB / 0.5205 GB, free: 33.86 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.042e-05/0.2992, allocations: 113.6 kB / 0.5206 GB, free: 33.75 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.214e-05/0.2993, allocations: 29.7 kB / 0.5207 GB, free: 33.73 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-06/0.2993, allocations: 2.719 kB / 0.5207 GB, free: 33.73 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.366e-05/0.2993, allocations: 332.3 kB / 0.521 GB, free: 33.41 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.021e-05/0.2994, allocations: 19.73 kB / 0.521 GB, free: 33.4 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.108e-05/0.2994, allocations: 36.38 kB / 0.521 GB, free: 33.38 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.39e-05/0.2995, allocations: 62.44 kB / 0.5211 GB, free: 33.34 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.2995, allocations: 0 / 0.5211 GB, free: 33.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001754/0.2997, allocations: 106 kB / 0.5212 GB, free: 33.27 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.2998, allocations: 6.359 kB / 0.5212 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.2998, allocations: 3 kB / 0.5212 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.2998, allocations: 192 / 0.5212 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.255e-05/0.2999, allocations: 15.69 kB / 0.5212 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.2999, allocations: 10.91 kB / 0.5212 GB, free: 33.26 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.72e-05/0.2999, allocations: 9.969 kB / 0.5212 GB, free: 33.26 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.2999, allocations: 2.719 kB / 0.5212 GB, free: 33.26 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.808e-05/0.3, allocations: 132.2 kB / 0.5214 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.747e-05/0.3001, allocations: 13.88 kB / 0.5214 GB, free: 33.13 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.784e-05/0.3001, allocations: 21.86 kB / 0.5214 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.3001, allocations: 0 / 0.5214 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.3001, allocations: 384 / 0.5214 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3001, allocations: 7.875 kB / 0.5214 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003264/0.3005, allocations: 414.1 kB / 0.5218 GB, free: 32.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.3005, allocations: 0 / 0.5218 GB, free: 32.76 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.995e-05/0.3005, allocations: 16.78 kB / 0.5218 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.3005, allocations: 0 / 0.5218 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.3005, allocations: 9.922 kB / 0.5218 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3005, allocations: 0 / 0.5218 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3005, allocations: 0 / 0.5218 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001667/0.3007, allocations: 205.8 kB / 0.522 GB, free: 32.58 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.333e-05/0.3008, allocations: 97.83 kB / 0.5221 GB, free: 32.47 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.272e-05/0.3008, allocations: 3.938 kB / 0.5221 GB, free: 32.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.959e-05/0.3009, allocations: 2.875 kB / 0.5221 GB, free: 32.47 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.586e-05/0.3009, allocations: 10.17 kB / 0.5221 GB, free: 32.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/0.3009, allocations: 6.812 kB / 0.5221 GB, free: 32.46 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001278/0.301, allocations: 208 kB / 0.5223 GB, free: 32.35 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3011, allocations: 0 / 0.5223 GB, free: 32.35 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002378/0.3013, allocations: 24.89 kB / 0.5224 GB, free: 32.35 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008965/0.3022, allocations: 459.6 kB / 0.5228 GB, free: 32.12 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001554/0.3024, allocations: 67.84 kB / 0.5229 GB, free: 32.09 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.3024, allocations: 0 / 0.5229 GB, free: 32.09 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.025e-05/0.3024, allocations: 23.69 kB / 0.5229 GB, free: 32.09 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003254/0.3028, allocations: 28.67 kB / 0.5229 GB, free: 32.08 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004398/0.3032, allocations: 340 kB / 0.5232 GB, free: 31.84 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000144/0.3034, allocations: 0.7237 MB / 0.5239 GB, free: 31.13 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.341e-05/0.3034, allocations: 16.12 kB / 0.524 GB, free: 31.12 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3034, allocations: 0 / 0.524 GB, free: 31.12 MB / 378.7 MB Notification: Performance of Templates: time 0.00307/0.3065, allocations: 2.083 MB / 0.526 GB, free: 30.89 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test48 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches