Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00128/0.00128, allocations: 122.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001291/0.001291, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.419/1.419, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2308/0.2308, allocations: 46.09 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 80.2 kB / 480.9 MB, free: 4.492 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3793/0.3807, allocations: 62.43 MB / 0.5306 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003076/0.3838, allocations: 1.837 MB / 0.5324 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002787/0.3866, allocations: 1.699 MB / 0.534 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.3868, allocations: 1.625 kB / 0.534 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003173/0.3871, allocations: 53.12 kB / 0.5341 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004379/0.3876, allocations: 135.2 kB / 0.5342 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002548/0.3878, allocations: 108.4 kB / 0.5343 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002831/0.3881, allocations: 200.5 kB / 0.5345 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.901e-05/0.3882, allocations: 13.94 kB / 0.5345 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001287/0.3883, allocations: 84.62 kB / 0.5346 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001977/0.3886, allocations: 88.47 kB / 0.5347 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.505e-05/0.3886, allocations: 9.625 kB / 0.5347 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001971/0.3888, allocations: 109.8 kB / 0.5348 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.689e-05/0.3889, allocations: 37.47 kB / 0.5348 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.484e-05/0.389, allocations: 70.64 kB / 0.5349 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003058/0.3893, allocations: 217.2 kB / 0.5351 GB, free: 9.934 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3893, allocations: 0 / 0.5351 GB, free: 9.934 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3893, allocations: 0 / 0.5351 GB, free: 9.934 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.709e-06/0.3893, allocations: 4 kB / 0.5351 GB, free: 9.93 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009638/0.3903, allocations: 0.4911 MB / 0.5356 GB, free: 9.441 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/0.3903, allocations: 9.219 kB / 0.5356 GB, free: 9.441 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.736e-05/0.3904, allocations: 37.16 kB / 0.5356 GB, free: 9.398 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.477e-05/0.3905, allocations: 20.5 kB / 0.5357 GB, free: 9.387 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005425/0.3911, allocations: 250.1 kB / 0.5359 GB, free: 9.133 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.168e-05/0.3911, allocations: 7.188 kB / 0.5359 GB, free: 9.129 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.653e-05/0.3911, allocations: 6.438 kB / 0.5359 GB, free: 9.125 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003353/0.3915, allocations: 104.4 kB / 0.536 GB, free: 9.027 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.3915, allocations: 3.938 kB / 0.536 GB, free: 9.023 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.998e-05/0.3915, allocations: 1.375 kB / 0.536 GB, free: 9.023 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.3916, allocations: 0 / 0.536 GB, free: 9.023 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001687/0.3917, allocations: 32.66 kB / 0.536 GB, free: 9.008 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003312/0.3921, allocations: 222.1 kB / 0.5363 GB, free: 8.762 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002908/0.3924, allocations: 112.8 kB / 0.5364 GB, free: 8.672 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.94e-05/0.3925, allocations: 37.95 kB / 0.5364 GB, free: 8.645 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.917e-05/0.3925, allocations: 6.25 kB / 0.5364 GB, free: 8.641 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002458/0.3928, allocations: 112.3 kB / 0.5365 GB, free: 8.539 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.3928, allocations: 0 / 0.5365 GB, free: 8.539 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005038/0.3933, allocations: 167.6 kB / 0.5367 GB, free: 8.445 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.621e-05/0.3934, allocations: 138.5 kB / 0.5368 GB, free: 8.281 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002792/0.3937, allocations: 239.4 kB / 0.537 GB, free: 8.109 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.3937, allocations: 27.2 kB / 0.5371 GB, free: 8.078 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.766e-05/0.3938, allocations: 115.6 kB / 0.5372 GB, free: 7.969 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.69e-05/0.3939, allocations: 27.89 kB / 0.5372 GB, free: 7.945 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.983e-05/0.3939, allocations: 31.73 kB / 0.5372 GB, free: 7.918 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.3941, allocations: 332.1 kB / 0.5375 GB, free: 7.59 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.343e-05/0.3941, allocations: 27.27 kB / 0.5376 GB, free: 7.578 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001184/0.3943, allocations: 73.61 kB / 0.5376 GB, free: 7.508 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002467/0.3945, allocations: 90.75 kB / 0.5377 GB, free: 7.441 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.3945, allocations: 5.281 kB / 0.5377 GB, free: 7.438 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004068/0.395, allocations: 144.3 kB / 0.5379 GB, free: 7.348 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.395, allocations: 5.938 kB / 0.5379 GB, free: 7.348 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/0.395, allocations: 1.281 kB / 0.5379 GB, free: 7.348 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.395, allocations: 1.312 kB / 0.5379 GB, free: 7.348 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001597/0.3952, allocations: 22.3 kB / 0.5379 GB, free: 7.344 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.3952, allocations: 5.234 kB / 0.5379 GB, free: 7.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001226/0.3954, allocations: 9.25 kB / 0.5379 GB, free: 7.336 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.611e-05/0.3954, allocations: 8.031 kB / 0.5379 GB, free: 7.332 MB / 398.1 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 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001683/0.3956, allocations: 141.1 kB / 0.5381 GB, free: 7.195 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.877e-05/0.3956, allocations: 21.06 kB / 0.5381 GB, free: 7.184 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.191e-05/0.3957, allocations: 18.17 kB / 0.5381 GB, free: 7.168 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.3957, allocations: 2.906 kB / 0.5381 GB, free: 7.168 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.3957, allocations: 0 / 0.5381 GB, free: 7.168 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.3957, allocations: 1.344 kB / 0.5381 GB, free: 7.168 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002813/0.396, allocations: 227 kB / 0.5383 GB, free: 6.922 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.396, allocations: 0 / 0.5383 GB, free: 6.922 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.178e-05/0.3961, allocations: 6.531 kB / 0.5383 GB, free: 6.922 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.3961, allocations: 5.094 kB / 0.5383 GB, free: 6.918 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.3961, allocations: 2.25 kB / 0.5383 GB, free: 6.918 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/0.3961, allocations: 1 kB / 0.5383 GB, free: 6.918 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.3961, allocations: 1.219 kB / 0.5383 GB, free: 6.918 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004211/0.3966, allocations: 178.9 kB / 0.5385 GB, free: 6.785 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.674e-05/0.3967, allocations: 94.2 kB / 0.5386 GB, free: 6.68 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.828e-05/0.3967, allocations: 6.156 kB / 0.5386 GB, free: 6.676 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.3968, allocations: 15.23 kB / 0.5386 GB, free: 6.664 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.443e-05/0.3969, allocations: 12.11 kB / 0.5386 GB, free: 6.656 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-05/0.3969, allocations: 4.281 kB / 0.5386 GB, free: 6.656 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002551/0.3972, allocations: 179.2 kB / 0.5388 GB, free: 6.531 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3972, allocations: 3.938 kB / 0.5388 GB, free: 6.527 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004415/0.3977, allocations: 54.02 kB / 0.5388 GB, free: 6.512 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002237/0.3999, allocations: 1.097 MB / 0.5399 GB, free: 5.688 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004044/0.4003, allocations: 87.83 kB / 0.54 GB, free: 5.648 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.4003, allocations: 0.6562 kB / 0.54 GB, free: 5.648 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001584/0.4005, allocations: 38.8 kB / 0.54 GB, free: 5.633 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005303/0.4011, allocations: 60.52 kB / 0.5401 GB, free: 5.602 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00314/0.4042, allocations: 1.867 MB / 0.5419 GB, free: 4.07 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004157/0.4047, allocations: 0.7267 MB / 0.5426 GB, free: 3.348 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001615/0.4048, allocations: 31.56 kB / 0.5427 GB, free: 3.336 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001355/0.405, allocations: 54.47 kB / 0.5427 GB, free: 3.297 MB / 398.1 MB Notification: Performance of SimCode: time 9.62e-07/0.405, allocations: 5.219 kB / 0.5427 GB, free: 3.293 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03056/0.4356, allocations: 5.369 MB / 0.548 GB, free: 15.64 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.772/8.207, allocations: 8.766 kB / 0.548 GB, free: 15.63 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test81_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],t_new_2.y[1] Variables in the result:t_new.columns[1],t_new.extrapolation,t_new.nHeaderLines,t_new.nout,t_new.offset[1],t_new.shiftTime,t_new.smoothness,t_new.startTime,t_new.t_max,t_new.t_maxScaled,t_new.t_min,t_new.t_minScaled,t_new.tableOnFile,t_new.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],t_new_2.columns[1],t_new_2.extrapolation,t_new_2.nHeaderLines,t_new_2.nout,t_new_2.offset[1],t_new_2.shiftTime,t_new_2.smoothness,t_new_2.startTime,t_new_2.t_max,t_new_2.t_maxScaled,t_new_2.t_min,t_new_2.t_minScaled,t_new_2.tableOnFile,t_new_2.timeEvents,t_new_2.timeScale,t_new_2.verboseExtrapolation,t_new_2.verboseRead,t_new_2.y[1],time