Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.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.Test83,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001014/0.001013, allocations: 195.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.225/1.225, allocations: 226.5 MB / 243.4 MB, free: 6.375 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007074/0.0007073, allocations: 97.28 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.2881/0.2881, allocations: 44.83 MB / 392.3 MB, free: 35.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002819/0.000282, allocations: 11.94 kB / 465.4 MB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2749/0.2752, allocations: 62.95 MB / 0.516 GB, free: 37.24 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.001677/0.2769, allocations: 1.645 MB / 0.5176 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001253/0.2782, allocations: 1.141 MB / 0.5187 GB, free: 35.26 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.062e-05/0.2783, allocations: 0 / 0.5187 GB, free: 35.26 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000486/0.2788, allocations: 184.5 kB / 0.5189 GB, free: 35.21 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002908/0.2791, allocations: 171 kB / 0.519 GB, free: 35.14 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003903/0.2795, allocations: 189.4 kB / 0.5192 GB, free: 35.05 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001948/0.2797, allocations: 234.5 kB / 0.5194 GB, free: 34.95 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.946e-05/0.2798, allocations: 31.3 kB / 0.5195 GB, free: 34.93 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.2799, allocations: 95.12 kB / 0.5195 GB, free: 34.9 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.28, allocations: 98.7 kB / 0.5196 GB, free: 34.87 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.019e-05/0.28, allocations: 9.844 kB / 0.5197 GB, free: 34.86 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.999e-05/0.2801, allocations: 47.73 kB / 0.5197 GB, free: 34.85 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.473e-05/0.2802, allocations: 40.47 kB / 0.5197 GB, free: 34.84 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.15e-05/0.2803, allocations: 104.2 kB / 0.5198 GB, free: 34.75 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001616/0.2804, allocations: 183.8 kB / 0.52 GB, free: 34.7 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.2804, allocations: 0 / 0.52 GB, free: 34.7 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.2804, allocations: 0 / 0.52 GB, free: 34.7 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.2804, allocations: 0 / 0.52 GB, free: 34.7 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005581/0.281, allocations: 0.5249 MB / 0.5205 GB, free: 34.2 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.2811, allocations: 10.97 kB / 0.5205 GB, free: 34.2 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.903e-05/0.2811, allocations: 37.41 kB / 0.5206 GB, free: 34.16 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.926e-05/0.2811, allocations: 32.06 kB / 0.5206 GB, free: 34.14 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002381/0.2814, allocations: 280.8 kB / 0.5209 GB, free: 33.89 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.2814, allocations: 7.25 kB / 0.5209 GB, free: 33.88 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.579e-05/0.2814, allocations: 10.3 kB / 0.5209 GB, free: 33.88 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.2816, allocations: 103.1 kB / 0.521 GB, free: 33.8 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.2816, allocations: 3.938 kB / 0.521 GB, free: 33.8 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.2816, allocations: 7.375 kB / 0.521 GB, free: 33.8 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.2816, allocations: 3 kB / 0.521 GB, free: 33.8 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001004/0.2817, allocations: 35.33 kB / 0.521 GB, free: 33.79 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003519/0.2821, allocations: 387.3 kB / 0.5214 GB, free: 33.45 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002202/0.2823, allocations: 118.7 kB / 0.5215 GB, free: 33.38 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.886e-05/0.2824, allocations: 45.62 kB / 0.5216 GB, free: 33.34 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/0.2825, allocations: 2.438 kB / 0.5216 GB, free: 33.34 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001714/0.2826, allocations: 119.7 kB / 0.5217 GB, free: 33.26 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 1.202e-06/0.2826, allocations: 3.938 kB / 0.5217 GB, free: 33.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003534/0.283, allocations: 184.6 kB / 0.5219 GB, free: 33.16 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/0.283, allocations: 106.1 kB / 0.522 GB, free: 33.04 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002768/0.2833, allocations: 345.9 kB / 0.5223 GB, free: 32.87 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/0.2833, allocations: 32.67 kB / 0.5223 GB, free: 32.83 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.385e-05/0.2834, allocations: 145.7 kB / 0.5225 GB, free: 32.71 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.431e-05/0.2834, allocations: 22.53 kB / 0.5225 GB, free: 32.69 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.943e-06/0.2835, allocations: 6.875 kB / 0.5225 GB, free: 32.68 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.212e-05/0.2835, allocations: 338.8 kB / 0.5228 GB, free: 32.36 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.797e-05/0.2836, allocations: 36.8 kB / 0.5228 GB, free: 32.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.701e-05/0.2837, allocations: 75.2 kB / 0.5229 GB, free: 32.28 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001445/0.2838, allocations: 95.22 kB / 0.523 GB, free: 32.22 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.2839, allocations: 0 / 0.523 GB, free: 32.22 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002167/0.2841, allocations: 147 kB / 0.5231 GB, free: 32.14 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.2841, allocations: 5.719 kB / 0.5231 GB, free: 32.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.2841, allocations: 0.625 kB / 0.5232 GB, free: 32.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.2841, allocations: 2.906 kB / 0.5232 GB, free: 32.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.69e-05/0.2842, allocations: 29.16 kB / 0.5232 GB, free: 32.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.2842, allocations: 0 / 0.5232 GB, free: 32.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.121e-05/0.2843, allocations: 28.16 kB / 0.5232 GB, free: 32.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.819e-06/0.2843, allocations: 7.062 kB / 0.5232 GB, free: 32.11 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: 11 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 9.216e-05/0.2844, allocations: 150.3 kB / 0.5234 GB, free: 31.98 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.73e-05/0.2845, allocations: 23.84 kB / 0.5234 GB, free: 31.97 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.538e-05/0.2845, allocations: 31.81 kB / 0.5234 GB, free: 31.95 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.2845, allocations: 0 / 0.5234 GB, free: 31.95 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.2845, allocations: 3.031 kB / 0.5234 GB, free: 31.95 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.2845, allocations: 3.938 kB / 0.5234 GB, free: 31.95 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001452/0.2847, allocations: 257.7 kB / 0.5237 GB, free: 31.72 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2847, allocations: 4 kB / 0.5237 GB, free: 31.72 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.976e-05/0.2847, allocations: 5.406 kB / 0.5237 GB, free: 31.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.2847, allocations: 3 kB / 0.5237 GB, free: 31.72 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.2848, allocations: 4 kB / 0.5237 GB, free: 31.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.2848, allocations: 2.656 kB / 0.5237 GB, free: 31.71 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.093e-06/0.2848, allocations: 7.172 kB / 0.5237 GB, free: 31.71 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002607/0.285, allocations: 188.1 kB / 0.5239 GB, free: 31.59 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.369e-05/0.2851, allocations: 105.2 kB / 0.524 GB, free: 31.48 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.183e-05/0.2851, allocations: 6.406 kB / 0.524 GB, free: 31.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.264e-05/0.2852, allocations: 8.406 kB / 0.524 GB, free: 31.47 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.491e-05/0.2853, allocations: 13.02 kB / 0.524 GB, free: 31.47 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/0.2853, allocations: 5.031 kB / 0.524 GB, free: 31.47 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001897/0.2855, allocations: 261.8 kB / 0.5242 GB, free: 31.34 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2855, allocations: 0 / 0.5242 GB, free: 31.34 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002251/0.2857, allocations: 32.88 kB / 0.5243 GB, free: 31.33 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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * 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.001075/0.2868, allocations: 1.027 MB / 0.5253 GB, free: 30.56 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002092/0.287, allocations: 89.16 kB / 0.5254 GB, free: 30.54 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.287, allocations: 6.969 kB / 0.5254 GB, free: 30.53 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.471e-05/0.2871, allocations: 57.12 kB / 0.5254 GB, free: 30.51 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003479/0.2875, allocations: 63.52 kB / 0.5255 GB, free: 30.48 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00153/0.289, allocations: 1.335 MB / 0.5268 GB, free: 29.72 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001358/0.2892, allocations: 0.7521 MB / 0.5275 GB, free: 29.01 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.532e-05/0.2893, allocations: 74.91 kB / 0.5276 GB, free: 28.96 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2893, allocations: 2.906 kB / 0.5276 GB, free: 28.96 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.983/3.272, allocations: 3.922 MB / 0.5314 GB, free: 28.53 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test83_fmu --startTime=1 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test83.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches