Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test77") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001705/0.001705, allocations: 204.1 kB / 16.1 MB, free: 5.578 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.297/1.297, allocations: 226.5 MB / 243.4 MB, free: 6.461 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007246/0.0007246, allocations: 91.77 kB / 295.5 MB, free: 6.684 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3333/0.3333, allocations: 44.82 MB / 392.3 MB, free: 35.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002824/0.0002825, allocations: 8 kB / 465.3 MB, free: 12.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2835/0.2838, allocations: 62.96 MB / 0.5159 GB, free: 37.25 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.001762/0.2856, allocations: 1.589 MB / 0.5174 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001272/0.2869, allocations: 1.072 MB / 0.5185 GB, free: 35.35 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.276e-05/0.287, allocations: 3.938 kB / 0.5185 GB, free: 35.35 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000309/0.2873, allocations: 152.1 kB / 0.5186 GB, free: 35.32 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002875/0.2876, allocations: 151.9 kB / 0.5188 GB, free: 35.26 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003697/0.288, allocations: 167.2 kB / 0.5189 GB, free: 35.18 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002007/0.2882, allocations: 204.8 kB / 0.5191 GB, free: 35.09 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.2883, allocations: 26.58 kB / 0.5192 GB, free: 35.08 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/0.2884, allocations: 103.2 kB / 0.5193 GB, free: 35.04 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.2885, allocations: 114.5 kB / 0.5194 GB, free: 35 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.2886, allocations: 3.031 kB / 0.5194 GB, free: 35 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.2887, allocations: 49.39 kB / 0.5194 GB, free: 35 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.555e-05/0.2887, allocations: 55.41 kB / 0.5195 GB, free: 34.97 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.586e-05/0.2888, allocations: 100.2 kB / 0.5196 GB, free: 34.89 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001542/0.289, allocations: 158.1 kB / 0.5197 GB, free: 34.84 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.289, allocations: 0 / 0.5197 GB, free: 34.84 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.289, allocations: 2.688 kB / 0.5197 GB, free: 34.84 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.289, allocations: 0 / 0.5197 GB, free: 34.84 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0004997/0.2895, allocations: 0.5059 MB / 0.5202 GB, free: 34.37 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.002e-05/0.2895, allocations: 11.78 kB / 0.5202 GB, free: 34.37 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.619e-05/0.2896, allocations: 24.66 kB / 0.5202 GB, free: 34.36 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002267/0.2898, allocations: 273.7 kB / 0.5205 GB, free: 34.11 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.2898, allocations: 7.062 kB / 0.5205 GB, free: 34.1 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.2899, allocations: 9.812 kB / 0.5205 GB, free: 34.1 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/0.2901, allocations: 116.7 kB / 0.5206 GB, free: 34.02 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.2901, allocations: 0 / 0.5206 GB, free: 34.02 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.2901, allocations: 4 kB / 0.5206 GB, free: 34.02 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.2901, allocations: 2.938 kB / 0.5206 GB, free: 34.02 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001102/0.2902, allocations: 45.66 kB / 0.5207 GB, free: 34.01 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003998/0.2906, allocations: 481.5 kB / 0.5211 GB, free: 33.59 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002952/0.2909, allocations: 117.9 kB / 0.5213 GB, free: 33.52 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.507e-05/0.291, allocations: 43.31 kB / 0.5213 GB, free: 33.5 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/0.2911, allocations: 2.594 kB / 0.5213 GB, free: 33.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002066/0.2913, allocations: 121.2 kB / 0.5214 GB, free: 33.41 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 2.094e-06/0.2913, allocations: 2.625 kB / 0.5214 GB, free: 33.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=22): time 0.00108/0.2924, allocations: 491.1 kB / 0.5219 GB, free: 33.19 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.719e-05/0.2924, allocations: 83.61 kB / 0.522 GB, free: 33.09 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002755/0.2927, allocations: 372.4 kB / 0.5223 GB, free: 32.92 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.2927, allocations: 29.7 kB / 0.5224 GB, free: 32.88 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.85e-05/0.2928, allocations: 157.3 kB / 0.5225 GB, free: 32.75 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.132e-05/0.2928, allocations: 66.45 kB / 0.5226 GB, free: 32.7 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.057e-06/0.2928, allocations: 2.656 kB / 0.5226 GB, free: 32.7 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.312e-05/0.2929, allocations: 345.8 kB / 0.5229 GB, free: 32.37 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.293, allocations: 53.59 kB / 0.5229 GB, free: 32.35 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001187/0.2931, allocations: 92.28 kB / 0.523 GB, free: 32.29 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002143/0.2934, allocations: 154.3 kB / 0.5232 GB, free: 32.2 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.2934, allocations: 0 / 0.5232 GB, free: 32.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003123/0.2937, allocations: 239.8 kB / 0.5234 GB, free: 32.08 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.2937, allocations: 9.469 kB / 0.5234 GB, free: 32.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.2937, allocations: 2.594 kB / 0.5234 GB, free: 32.08 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.2937, allocations: 2.344 kB / 0.5234 GB, free: 32.08 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.2939, allocations: 49.44 kB / 0.5235 GB, free: 32.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.2939, allocations: 0 / 0.5235 GB, free: 32.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.813e-05/0.294, allocations: 9.25 kB / 0.5235 GB, free: 32.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.294, allocations: 8.469 kB / 0.5235 GB, free: 32.07 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001013/0.2941, allocations: 166.1 kB / 0.5236 GB, free: 31.93 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.136e-05/0.2941, allocations: 32.78 kB / 0.5237 GB, free: 31.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.872e-05/0.2942, allocations: 38.59 kB / 0.5237 GB, free: 31.89 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.2942, allocations: 3 kB / 0.5237 GB, free: 31.89 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.2942, allocations: 0 / 0.5237 GB, free: 31.89 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.2942, allocations: 0 / 0.5237 GB, free: 31.89 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006534/0.2949, allocations: 0.7213 MB / 0.5244 GB, free: 31.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.2949, allocations: 4 kB / 0.5244 GB, free: 31.35 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.362e-05/0.295, allocations: 34.27 kB / 0.5245 GB, free: 31.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.295, allocations: 2.969 kB / 0.5245 GB, free: 31.34 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.295, allocations: 5.75 kB / 0.5245 GB, free: 31.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.295, allocations: 2.875 kB / 0.5245 GB, free: 31.34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.295, allocations: 4.125 kB / 0.5245 GB, free: 31.34 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003244/0.2953, allocations: 429.1 kB / 0.5249 GB, free: 31.02 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.35e-05/0.2954, allocations: 108.5 kB / 0.525 GB, free: 30.91 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.503e-05/0.2954, allocations: 6.531 kB / 0.525 GB, free: 30.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001367/0.2956, allocations: 12.67 kB / 0.525 GB, free: 30.9 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.785e-05/0.2956, allocations: 26.66 kB / 0.525 GB, free: 30.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.056e-05/0.2957, allocations: 12.34 kB / 0.525 GB, free: 30.89 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001999/0.2959, allocations: 276.1 kB / 0.5253 GB, free: 30.76 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2959, allocations: 0 / 0.5253 GB, free: 30.76 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003227/0.2962, allocations: 45.78 kB / 0.5253 GB, free: 30.75 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009562/0.2972, allocations: 0.5135 MB / 0.5259 GB, free: 30.49 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002778/0.2975, allocations: 154.4 kB / 0.526 GB, free: 30.44 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.2975, allocations: 0 / 0.526 GB, free: 30.44 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001275/0.2976, allocations: 82.28 kB / 0.5261 GB, free: 30.41 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005299/0.2981, allocations: 62.31 kB / 0.5261 GB, free: 30.39 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006402/0.2988, allocations: 0.5701 MB / 0.5267 GB, free: 30 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001595/0.299, allocations: 0.7621 MB / 0.5274 GB, free: 29.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.332e-05/0.299, allocations: 35.31 kB / 0.5275 GB, free: 29.29 MB / 378.7 MB Notification: Performance of SimCode: time 3.9e-07/0.299, allocations: 0 / 0.5275 GB, free: 29.29 MB / 378.7 MB Notification: Performance of Templates: time 0.004386/0.3034, allocations: 3.546 MB / 0.5309 GB, free: 28.89 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test77 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches