Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.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.Test75,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test75,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009504/0.0009505, allocations: 197.1 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.238/1.238, allocations: 226.5 MB / 243.4 MB, free: 8.227 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007678/0.000768, allocations: 109.9 kB / 295.5 MB, free: 6.875 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2757/0.2757, allocations: 44.83 MB / 392.3 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000404/0.0004041, allocations: 8 kB / 465.4 MB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.288/0.2884, allocations: 62.96 MB / 0.516 GB, free: 37.08 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.001686/0.2902, allocations: 1.591 MB / 0.5175 GB, free: 35.92 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001202/0.2914, allocations: 1.07 MB / 0.5186 GB, free: 35.18 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.06e-05/0.2915, allocations: 2.969 kB / 0.5186 GB, free: 35.18 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003549/0.2918, allocations: 210.2 kB / 0.5188 GB, free: 35.15 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002759/0.2921, allocations: 190.4 kB / 0.519 GB, free: 35.09 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000323/0.2925, allocations: 156.9 kB / 0.5191 GB, free: 35.01 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002088/0.2927, allocations: 215.5 kB / 0.5193 GB, free: 34.92 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.2928, allocations: 32.39 kB / 0.5193 GB, free: 34.91 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.2929, allocations: 102.5 kB / 0.5194 GB, free: 34.88 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001199/0.293, allocations: 132.7 kB / 0.5196 GB, free: 34.84 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.155e-05/0.2931, allocations: 5.75 kB / 0.5196 GB, free: 34.84 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.947e-05/0.2932, allocations: 56.69 kB / 0.5196 GB, free: 34.82 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.617e-05/0.2932, allocations: 55.97 kB / 0.5197 GB, free: 34.8 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.109e-05/0.2933, allocations: 113.8 kB / 0.5198 GB, free: 34.71 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001677/0.2935, allocations: 174.8 kB / 0.52 GB, free: 34.66 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2935, allocations: 2.969 kB / 0.52 GB, free: 34.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2935, allocations: 0 / 0.52 GB, free: 34.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.057e-06/0.2935, allocations: 4 kB / 0.52 GB, free: 34.65 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.0005281/0.2941, allocations: 0.5263 MB / 0.5205 GB, free: 34.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.2941, allocations: 11.41 kB / 0.5205 GB, free: 34.16 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.424e-05/0.2941, allocations: 45.89 kB / 0.5205 GB, free: 34.12 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.967e-05/0.2942, allocations: 28.72 kB / 0.5206 GB, free: 34.1 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002302/0.2944, allocations: 281.6 kB / 0.5208 GB, free: 33.85 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.2944, allocations: 2.906 kB / 0.5208 GB, free: 33.85 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.466e-05/0.2945, allocations: 17.28 kB / 0.5208 GB, free: 33.84 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001954/0.2947, allocations: 112.6 kB / 0.5209 GB, free: 33.77 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.2947, allocations: 0 / 0.5209 GB, free: 33.77 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.2947, allocations: 2.656 kB / 0.521 GB, free: 33.77 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.2947, allocations: 0 / 0.521 GB, free: 33.77 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001125/0.2948, allocations: 47.17 kB / 0.521 GB, free: 33.75 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004099/0.2953, allocations: 486.4 kB / 0.5215 GB, free: 33.34 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000312/0.2956, allocations: 119.9 kB / 0.5216 GB, free: 33.27 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.405e-05/0.2957, allocations: 45.83 kB / 0.5216 GB, free: 33.24 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/0.2957, allocations: 2.906 kB / 0.5216 GB, free: 33.24 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001969/0.2959, allocations: 113.8 kB / 0.5217 GB, free: 33.16 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 1.282e-06/0.2959, allocations: 0 / 0.5217 GB, free: 33.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=22): time 0.001067/0.297, allocations: 0.5013 MB / 0.5222 GB, free: 32.92 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.789e-05/0.297, allocations: 79.8 kB / 0.5223 GB, free: 32.83 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003282/0.2974, allocations: 451.2 kB / 0.5227 GB, free: 32.63 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.2974, allocations: 32.3 kB / 0.5228 GB, free: 32.59 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.539e-05/0.2975, allocations: 153 kB / 0.5229 GB, free: 32.46 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.292e-05/0.2975, allocations: 70.72 kB / 0.523 GB, free: 32.41 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.175e-06/0.2975, allocations: 4 kB / 0.523 GB, free: 32.41 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.934e-05/0.2976, allocations: 350.6 kB / 0.5233 GB, free: 32.08 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.2977, allocations: 54.38 kB / 0.5234 GB, free: 32.06 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/0.2978, allocations: 86.66 kB / 0.5234 GB, free: 32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002149/0.298, allocations: 166.1 kB / 0.5236 GB, free: 31.91 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.91e-07/0.298, allocations: 0 / 0.5236 GB, free: 31.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003173/0.2984, allocations: 236.2 kB / 0.5238 GB, free: 31.79 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.2984, allocations: 6.25 kB / 0.5238 GB, free: 31.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.2984, allocations: 0 / 0.5238 GB, free: 31.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.2984, allocations: 7.094 kB / 0.5238 GB, free: 31.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.2985, allocations: 43.62 kB / 0.5239 GB, free: 31.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.2986, allocations: 2.688 kB / 0.5239 GB, free: 31.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.911e-05/0.2986, allocations: 18 kB / 0.5239 GB, free: 31.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.423e-05/0.2987, allocations: 14.83 kB / 0.5239 GB, free: 31.77 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.0001092/0.2988, allocations: 164.6 kB / 0.5241 GB, free: 31.64 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.098e-05/0.2988, allocations: 33.97 kB / 0.5241 GB, free: 31.62 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.38e-05/0.2989, allocations: 38.98 kB / 0.5241 GB, free: 31.6 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.2989, allocations: 6.812 kB / 0.5241 GB, free: 31.59 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.2989, allocations: 0 / 0.5241 GB, free: 31.59 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.2989, allocations: 6.219 kB / 0.5242 GB, free: 31.59 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000668/0.2996, allocations: 0.7292 MB / 0.5249 GB, free: 31.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.2996, allocations: 3.984 kB / 0.5249 GB, free: 31.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.313e-05/0.2997, allocations: 36.61 kB / 0.5249 GB, free: 31.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.2997, allocations: 0 / 0.5249 GB, free: 31.04 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.2997, allocations: 12.73 kB / 0.5249 GB, free: 31.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.2997, allocations: 2.656 kB / 0.5249 GB, free: 31.04 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.2997, allocations: 6.719 kB / 0.5249 GB, free: 31.04 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003248/0.3001, allocations: 426.9 kB / 0.5253 GB, free: 30.72 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.469e-05/0.3001, allocations: 105.5 kB / 0.5254 GB, free: 30.61 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.592e-05/0.3001, allocations: 10.09 kB / 0.5254 GB, free: 30.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.3003, allocations: 13.78 kB / 0.5255 GB, free: 30.6 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.077e-05/0.3003, allocations: 22.72 kB / 0.5255 GB, free: 30.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.093e-05/0.3004, allocations: 12.09 kB / 0.5255 GB, free: 30.59 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002217/0.3006, allocations: 332.1 kB / 0.5258 GB, free: 30.45 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3006, allocations: 4 kB / 0.5258 GB, free: 30.44 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003039/0.3009, allocations: 53.56 kB / 0.5259 GB, free: 30.43 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.001344/0.3023, allocations: 1.362 MB / 0.5272 GB, free: 29.42 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002667/0.3025, allocations: 158.5 kB / 0.5273 GB, free: 29.37 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3025, allocations: 0 / 0.5273 GB, free: 29.37 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001195/0.3027, allocations: 76.56 kB / 0.5274 GB, free: 29.35 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005201/0.3032, allocations: 67.83 kB / 0.5275 GB, free: 29.32 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001893/0.3051, allocations: 1.73 MB / 0.5292 GB, free: 28.36 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001758/0.3053, allocations: 0.7771 MB / 0.5299 GB, free: 27.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/0.3054, allocations: 99.97 kB / 0.53 GB, free: 27.59 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3054, allocations: 0 / 0.53 GB, free: 27.59 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.755/3.06, allocations: 4.613 MB / 0.5345 GB, free: 27.05 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test75_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test75.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches