Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test73,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001015/0.001015, allocations: 200.1 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.206/1.206, 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.0007633/0.0007633, allocations: 98.25 kB / 295.5 MB, free: 6.832 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3151/0.3151, allocations: 44.81 MB / 392.3 MB, free: 35.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002362/0.0002364, allocations: 12 kB / 465.4 MB, free: 12.5 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2812/0.2814, allocations: 62.96 MB / 0.516 GB, free: 37.15 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.001918/0.2834, allocations: 1.597 MB / 0.5175 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00139/0.2848, allocations: 1.07 MB / 0.5186 GB, free: 35.25 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.87e-05/0.2849, allocations: 3.125 kB / 0.5186 GB, free: 35.25 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003471/0.2853, allocations: 149.7 kB / 0.5187 GB, free: 35.22 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002924/0.2856, allocations: 153.5 kB / 0.5189 GB, free: 35.16 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003482/0.2859, allocations: 167.5 kB / 0.519 GB, free: 35.08 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002084/0.2862, allocations: 205.8 kB / 0.5192 GB, free: 34.99 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.2863, allocations: 33.62 kB / 0.5193 GB, free: 34.98 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001179/0.2864, allocations: 92.22 kB / 0.5193 GB, free: 34.95 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001269/0.2865, allocations: 118.3 kB / 0.5195 GB, free: 34.91 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.138e-05/0.2866, allocations: 5.562 kB / 0.5195 GB, free: 34.91 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.2867, allocations: 51.14 kB / 0.5195 GB, free: 34.89 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.854e-05/0.2867, allocations: 51.75 kB / 0.5196 GB, free: 34.87 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.972e-05/0.2868, allocations: 100.8 kB / 0.5197 GB, free: 34.79 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001882/0.287, allocations: 163.3 kB / 0.5198 GB, free: 34.74 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.077e-06/0.2871, allocations: 0 / 0.5198 GB, free: 34.74 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2871, allocations: 0 / 0.5198 GB, free: 34.74 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.2871, allocations: 0 / 0.5198 GB, free: 34.74 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.0005777/0.2877, allocations: 0.4983 MB / 0.5203 GB, free: 34.27 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.2877, allocations: 10 kB / 0.5203 GB, free: 34.27 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.224e-05/0.2878, allocations: 46.09 kB / 0.5203 GB, free: 34.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.081e-05/0.2878, allocations: 24.62 kB / 0.5204 GB, free: 34.21 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002601/0.2881, allocations: 279.1 kB / 0.5206 GB, free: 33.96 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.2881, allocations: 5.812 kB / 0.5206 GB, free: 33.96 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.403e-05/0.2881, allocations: 11.19 kB / 0.5207 GB, free: 33.95 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002112/0.2883, allocations: 105.7 kB / 0.5208 GB, free: 33.89 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.2884, allocations: 0 / 0.5208 GB, free: 33.89 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.2884, allocations: 7.609 kB / 0.5208 GB, free: 33.88 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.2884, allocations: 6.969 kB / 0.5208 GB, free: 33.88 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001162/0.2885, allocations: 48.67 kB / 0.5208 GB, free: 33.86 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004481/0.289, allocations: 467.8 kB / 0.5213 GB, free: 33.46 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003239/0.2893, allocations: 125.1 kB / 0.5214 GB, free: 33.38 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.469e-05/0.2894, allocations: 40.38 kB / 0.5214 GB, free: 33.36 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.2894, allocations: 10.91 kB / 0.5214 GB, free: 33.35 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002199/0.2897, allocations: 114.8 kB / 0.5215 GB, free: 33.27 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 1.573e-06/0.2897, allocations: 0 / 0.5215 GB, free: 33.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=22): time 0.001155/0.2908, allocations: 496.2 kB / 0.522 GB, free: 33.05 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.051e-05/0.2909, allocations: 81.05 kB / 0.5221 GB, free: 32.95 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003032/0.2912, allocations: 373 kB / 0.5224 GB, free: 32.77 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.2912, allocations: 28.64 kB / 0.5225 GB, free: 32.74 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.176e-05/0.2913, allocations: 151.1 kB / 0.5226 GB, free: 32.61 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.455e-05/0.2913, allocations: 69.55 kB / 0.5227 GB, free: 32.56 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.806e-06/0.2914, allocations: 7.938 kB / 0.5227 GB, free: 32.55 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.85e-05/0.2914, allocations: 341.7 kB / 0.523 GB, free: 32.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001052/0.2915, allocations: 54.98 kB / 0.5231 GB, free: 32.21 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001143/0.2917, allocations: 91.02 kB / 0.5232 GB, free: 32.15 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002247/0.2919, allocations: 158.1 kB / 0.5233 GB, free: 32.06 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.2919, allocations: 0 / 0.5233 GB, free: 32.06 MB / 378.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003228/0.2922, allocations: 235.6 kB / 0.5235 GB, free: 31.95 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.2923, allocations: 5.781 kB / 0.5235 GB, free: 31.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.2923, allocations: 0 / 0.5235 GB, free: 31.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.2923, allocations: 7.25 kB / 0.5235 GB, free: 31.94 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.2924, allocations: 43.58 kB / 0.5236 GB, free: 31.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.2924, allocations: 3.172 kB / 0.5236 GB, free: 31.94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.614e-05/0.2925, allocations: 9.875 kB / 0.5236 GB, free: 31.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.492e-05/0.2925, allocations: 10.08 kB / 0.5236 GB, free: 31.93 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.000123/0.2927, allocations: 161.8 kB / 0.5238 GB, free: 31.79 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.427e-05/0.2927, allocations: 33.94 kB / 0.5238 GB, free: 31.77 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.932e-05/0.2928, allocations: 37.84 kB / 0.5238 GB, free: 31.75 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.2928, allocations: 6.906 kB / 0.5238 GB, free: 31.75 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.2928, allocations: 0 / 0.5238 GB, free: 31.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.2928, allocations: 0 / 0.5238 GB, free: 31.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006696/0.2935, allocations: 0.7293 MB / 0.5245 GB, free: 31.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.2935, allocations: 2.844 kB / 0.5246 GB, free: 31.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.462e-05/0.2936, allocations: 37.61 kB / 0.5246 GB, free: 31.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.2936, allocations: 2.875 kB / 0.5246 GB, free: 31.2 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.2936, allocations: 6.875 kB / 0.5246 GB, free: 31.19 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.2936, allocations: 2.844 kB / 0.5246 GB, free: 31.19 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.2936, allocations: 6.719 kB / 0.5246 GB, free: 31.19 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003477/0.294, allocations: 420.5 kB / 0.525 GB, free: 30.88 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.075e-05/0.294, allocations: 113 kB / 0.5251 GB, free: 30.76 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.271e-05/0.2941, allocations: 2.938 kB / 0.5251 GB, free: 30.76 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/0.2942, allocations: 13.03 kB / 0.5251 GB, free: 30.76 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.676e-05/0.2943, allocations: 23.95 kB / 0.5252 GB, free: 30.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.101e-05/0.2943, allocations: 12.31 kB / 0.5252 GB, free: 30.75 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001999/0.2945, allocations: 275.2 kB / 0.5254 GB, free: 30.62 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.423e-06/0.2945, allocations: 0 / 0.5254 GB, free: 30.62 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003142/0.2948, allocations: 55.38 kB / 0.5255 GB, free: 30.6 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.001446/0.2963, allocations: 1.341 MB / 0.5268 GB, free: 29.61 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002841/0.2966, allocations: 164.7 kB / 0.5269 GB, free: 29.55 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2966, allocations: 0 / 0.5269 GB, free: 29.55 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001288/0.2967, allocations: 81.72 kB / 0.527 GB, free: 29.53 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005523/0.2973, allocations: 64.22 kB / 0.5271 GB, free: 29.51 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001928/0.2992, allocations: 1.559 MB / 0.5286 GB, free: 28.61 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001943/0.2994, allocations: 0.7613 MB / 0.5294 GB, free: 27.91 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001184/0.2996, allocations: 95.42 kB / 0.5294 GB, free: 27.84 MB / 378.7 MB Notification: Performance of SimCode: time 3.91e-07/0.2996, allocations: 0 / 0.5294 GB, free: 27.84 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.86/3.159, allocations: 4.262 MB / 0.5336 GB, free: 27.36 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test73_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test73.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches