Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test88.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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test88,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test88",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test88,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test88",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00092/0.00092, allocations: 200 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.208/1.208, allocations: 226.5 MB / 243.4 MB, free: 6.348 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007632/0.0007632, allocations: 92.12 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.287/0.287, allocations: 44.81 MB / 392.3 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002695/0.0002696, allocations: 12 kB / 465.4 MB, free: 12.58 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2739/0.2742, allocations: 62.96 MB / 0.516 GB, free: 37.34 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.001848/0.2761, allocations: 1.911 MB / 0.5178 GB, free: 35.95 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001467/0.2776, allocations: 1.289 MB / 0.5191 GB, free: 35.06 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001053/0.2777, allocations: 3 kB / 0.5191 GB, free: 35.06 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003232/0.278, allocations: 106.9 kB / 0.5192 GB, free: 35.03 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003384/0.2784, allocations: 197.9 kB / 0.5194 GB, free: 34.93 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005017/0.2789, allocations: 279.2 kB / 0.5197 GB, free: 34.8 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00031/0.2792, allocations: 398.3 kB / 0.52 GB, free: 34.62 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001349/0.2793, allocations: 59.05 kB / 0.5201 GB, free: 34.59 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002148/0.2796, allocations: 221.8 kB / 0.5203 GB, free: 34.52 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001186/0.2797, allocations: 138.3 kB / 0.5204 GB, free: 34.46 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.229e-05/0.2797, allocations: 11.94 kB / 0.5204 GB, free: 34.46 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.2798, allocations: 64.78 kB / 0.5205 GB, free: 34.44 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.192e-05/0.2799, allocations: 119.4 kB / 0.5206 GB, free: 34.4 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001114/0.2801, allocations: 189.2 kB / 0.5208 GB, free: 34.25 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002389/0.2803, allocations: 316.3 kB / 0.5211 GB, free: 34.16 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.2803, allocations: 0 / 0.5211 GB, free: 34.16 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.2803, allocations: 2.844 kB / 0.5211 GB, free: 34.16 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.2803, allocations: 0 / 0.5211 GB, free: 34.16 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007963/0.2811, allocations: 0.7529 MB / 0.5218 GB, free: 33.53 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.2812, allocations: 8.75 kB / 0.5218 GB, free: 33.53 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.213e-05/0.2812, allocations: 51.36 kB / 0.5219 GB, free: 33.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.885e-05/0.2813, allocations: 58.41 kB / 0.522 GB, free: 33.45 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003394/0.2816, allocations: 410.4 kB / 0.5223 GB, free: 33.13 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.2817, allocations: 10.44 kB / 0.5224 GB, free: 33.13 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.221e-05/0.2817, allocations: 26.77 kB / 0.5224 GB, free: 33.12 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002998/0.282, allocations: 195.7 kB / 0.5226 GB, free: 33 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.282, allocations: 0 / 0.5226 GB, free: 33 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.735e-05/0.2821, allocations: 10.23 kB / 0.5226 GB, free: 33 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.2821, allocations: 6.406 kB / 0.5226 GB, free: 33 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001879/0.2823, allocations: 87.25 kB / 0.5227 GB, free: 32.98 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006295/0.2829, allocations: 0.7983 MB / 0.5234 GB, free: 32.34 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000495/0.2834, allocations: 249 kB / 0.5237 GB, free: 32.19 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001456/0.2836, allocations: 91.38 kB / 0.5238 GB, free: 32.14 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.646e-05/0.2836, allocations: 10.84 kB / 0.5238 GB, free: 32.13 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002933/0.2839, allocations: 195.1 kB / 0.524 GB, free: 32.01 MB / 378.7 MB Notification: Performance of pre-optimization done (n=28): time 1.493e-06/0.2839, allocations: 0 / 0.524 GB, free: 32.01 MB / 378.7 MB Notification: Performance of matching and sorting (n=44): time 0.002025/0.2859, allocations: 1.115 MB / 0.5251 GB, free: 31.48 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.286, allocations: 132.5 kB / 0.5252 GB, free: 31.32 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006195/0.2866, allocations: 0.8011 MB / 0.526 GB, free: 31.01 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.376e-05/0.2866, allocations: 39.11 kB / 0.526 GB, free: 30.97 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.2868, allocations: 231.4 kB / 0.5262 GB, free: 30.78 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.045e-05/0.2868, allocations: 143.5 kB / 0.5264 GB, free: 30.67 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.456e-05/0.2869, allocations: 6.969 kB / 0.5264 GB, free: 30.67 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.578e-05/0.2869, allocations: 375.2 kB / 0.5267 GB, free: 30.33 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001904/0.2871, allocations: 115.3 kB / 0.5268 GB, free: 30.29 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000209/0.2874, allocations: 183.2 kB / 0.527 GB, free: 30.17 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004049/0.2878, allocations: 318.3 kB / 0.5273 GB, free: 29.98 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.2878, allocations: 0 / 0.5273 GB, free: 29.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005585/0.2883, allocations: 440.6 kB / 0.5277 GB, free: 29.79 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.2884, allocations: 9.469 kB / 0.5277 GB, free: 29.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.2884, allocations: 2.719 kB / 0.5277 GB, free: 29.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.2884, allocations: 2.531 kB / 0.5277 GB, free: 29.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000231/0.2886, allocations: 90.78 kB / 0.5278 GB, free: 29.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.2887, allocations: 14.03 kB / 0.5278 GB, free: 29.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001406/0.2888, allocations: 20.12 kB / 0.5279 GB, free: 29.76 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.133e-05/0.2888, allocations: 16.03 kB / 0.5279 GB, free: 29.75 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition4,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition3,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$whenCondition2,$PRE.t_new_3.nextTimeEvent,t_new_3.nextTimeEvent,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEventScaled,$whenCondition1,$PRE.t_new_4.nextTimeEvent,t_new_4.nextTimeEvent,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002059/0.289, allocations: 238.7 kB / 0.5281 GB, free: 29.59 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.984e-05/0.2891, allocations: 68.3 kB / 0.5282 GB, free: 29.55 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001066/0.2892, allocations: 88.94 kB / 0.5283 GB, free: 29.51 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.2892, allocations: 6.781 kB / 0.5283 GB, free: 29.51 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.325e-06/0.2892, allocations: 6.906 kB / 0.5283 GB, free: 29.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.2893, allocations: 0 / 0.5283 GB, free: 29.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001167/0.2904, allocations: 1.301 MB / 0.5295 GB, free: 28.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.2904, allocations: 2.938 kB / 0.5295 GB, free: 28.65 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001348/0.2906, allocations: 66.73 kB / 0.5296 GB, free: 28.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.2906, allocations: 7.094 kB / 0.5296 GB, free: 28.63 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.379e-05/0.2906, allocations: 16.38 kB / 0.5296 GB, free: 28.63 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.2906, allocations: 5.719 kB / 0.5296 GB, free: 28.63 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.2906, allocations: 6.844 kB / 0.5296 GB, free: 28.62 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005952/0.2912, allocations: 0.7746 MB / 0.5304 GB, free: 28.06 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001292/0.2914, allocations: 184.2 kB / 0.5306 GB, free: 27.91 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.745e-05/0.2914, allocations: 17.12 kB / 0.5306 GB, free: 27.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002524/0.2917, allocations: 18.84 kB / 0.5306 GB, free: 27.9 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.736e-05/0.2918, allocations: 47.5 kB / 0.5307 GB, free: 27.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.989e-05/0.2918, allocations: 14.97 kB / 0.5307 GB, free: 27.88 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004421/0.2923, allocations: 0.5839 MB / 0.5312 GB, free: 27.66 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2923, allocations: 0 / 0.5312 GB, free: 27.66 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004449/0.2927, allocations: 90.67 kB / 0.5313 GB, free: 27.64 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001624/0.2944, allocations: 1.755 MB / 0.533 GB, free: 26.36 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004683/0.2948, allocations: 308.3 kB / 0.5333 GB, free: 26.26 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2948, allocations: 0 / 0.5333 GB, free: 26.26 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000231/0.2951, allocations: 157 kB / 0.5335 GB, free: 26.21 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/0.2961, allocations: 122.8 kB / 0.5336 GB, free: 26.18 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003517/0.2996, allocations: 3.246 MB / 0.5368 GB, free: 24.5 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003539/0.3, allocations: 0.89 MB / 0.5376 GB, free: 23.79 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002114/0.3002, allocations: 194.3 kB / 0.5378 GB, free: 23.65 MB / 378.7 MB Notification: Performance of SimCode: time 2.71e-07/0.3002, allocations: 0 / 0.5378 GB, free: 23.65 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.099/3.399, allocations: 7.87 MB / 0.5455 GB, free: 22.52 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test88.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test88_fmu --startTime=0 --stopTime=9 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test88.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test88.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches