Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001728/0.001728, allocations: 121.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00204/0.00204, allocations: 207.8 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.382/1.382, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2295/0.2295, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 83.86 kB / 480.9 MB, free: 4.496 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3712/0.3727, allocations: 62.43 MB / 0.5306 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003125/0.3758, allocations: 1.827 MB / 0.5324 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002622/0.3785, allocations: 1.701 MB / 0.534 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.98e-05/0.3786, allocations: 1.938 kB / 0.534 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000361/0.379, allocations: 58.03 kB / 0.5341 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004412/0.3794, allocations: 134 kB / 0.5342 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002536/0.3797, allocations: 109.4 kB / 0.5343 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003615/0.3801, allocations: 199 kB / 0.5345 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.415e-05/0.3802, allocations: 18.88 kB / 0.5345 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001523/0.3803, allocations: 80.33 kB / 0.5346 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002383/0.3806, allocations: 91.78 kB / 0.5347 GB, free: 10.19 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.971e-05/0.3806, allocations: 13.44 kB / 0.5347 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002264/0.3808, allocations: 110.2 kB / 0.5348 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.546e-05/0.3809, allocations: 33.19 kB / 0.5348 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.493e-05/0.381, allocations: 66.88 kB / 0.5349 GB, free: 10.06 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003537/0.3814, allocations: 228.4 kB / 0.5351 GB, free: 9.918 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.3814, allocations: 0 / 0.5351 GB, free: 9.918 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.3814, allocations: 1.375 kB / 0.5351 GB, free: 9.918 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.3814, allocations: 0 / 0.5351 GB, free: 9.918 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.0007619/0.3822, allocations: 498.6 kB / 0.5356 GB, free: 9.434 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.3822, allocations: 13.62 kB / 0.5356 GB, free: 9.43 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.32e-05/0.3823, allocations: 40.11 kB / 0.5356 GB, free: 9.383 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.058e-05/0.3824, allocations: 17 kB / 0.5357 GB, free: 9.375 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003962/0.3828, allocations: 253.8 kB / 0.5359 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.3828, allocations: 7.125 kB / 0.5359 GB, free: 9.113 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.856e-05/0.3828, allocations: 6.688 kB / 0.5359 GB, free: 9.109 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002149/0.383, allocations: 103.1 kB / 0.536 GB, free: 9.012 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.3831, allocations: 5.312 kB / 0.536 GB, free: 9.008 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.3831, allocations: 0 / 0.536 GB, free: 9.008 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.319e-06/0.3831, allocations: 1.375 kB / 0.536 GB, free: 9.008 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001056/0.3832, allocations: 28.48 kB / 0.536 GB, free: 8.996 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002464/0.3834, allocations: 217 kB / 0.5362 GB, free: 8.754 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002904/0.3837, allocations: 114.5 kB / 0.5364 GB, free: 8.664 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.487e-05/0.3838, allocations: 41.66 kB / 0.5364 GB, free: 8.633 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.23e-05/0.3839, allocations: 1.062 kB / 0.5364 GB, free: 8.633 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002254/0.3841, allocations: 112.4 kB / 0.5365 GB, free: 8.531 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.332e-06/0.3841, allocations: 0 / 0.5365 GB, free: 8.531 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004734/0.3846, allocations: 164.5 kB / 0.5367 GB, free: 8.441 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.435e-05/0.3847, allocations: 129.7 kB / 0.5368 GB, free: 8.285 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002757/0.385, allocations: 243.5 kB / 0.537 GB, free: 8.109 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.024e-05/0.385, allocations: 27.89 kB / 0.537 GB, free: 8.078 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.065e-05/0.3851, allocations: 123.7 kB / 0.5372 GB, free: 7.961 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.789e-05/0.3851, allocations: 28.05 kB / 0.5372 GB, free: 7.938 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.059e-05/0.3852, allocations: 27.67 kB / 0.5372 GB, free: 7.914 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.3853, allocations: 327.6 kB / 0.5375 GB, free: 7.59 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.886e-05/0.3854, allocations: 26.92 kB / 0.5376 GB, free: 7.578 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001236/0.3856, allocations: 79.03 kB / 0.5376 GB, free: 7.504 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001891/0.3858, allocations: 89.7 kB / 0.5377 GB, free: 7.438 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.411e-06/0.3858, allocations: 5 kB / 0.5377 GB, free: 7.434 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002928/0.3861, allocations: 144.6 kB / 0.5379 GB, free: 7.344 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.3861, allocations: 6.312 kB / 0.5379 GB, free: 7.344 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.3861, allocations: 9.156 kB / 0.5379 GB, free: 7.336 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/0.3861, allocations: 1.031 kB / 0.5379 GB, free: 7.336 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.3863, allocations: 21.64 kB / 0.5379 GB, free: 7.332 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.3863, allocations: 2.594 kB / 0.5379 GB, free: 7.332 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.514e-05/0.3864, allocations: 8.594 kB / 0.5379 GB, free: 7.328 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.3864, allocations: 3.375 kB / 0.5379 GB, free: 7.328 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.000131/0.3865, allocations: 140.8 kB / 0.538 GB, free: 7.191 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.437e-05/0.3866, allocations: 24.98 kB / 0.5381 GB, free: 7.176 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.507e-05/0.3867, allocations: 23.92 kB / 0.5381 GB, free: 7.156 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.3867, allocations: 1.125 kB / 0.5381 GB, free: 7.156 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.3867, allocations: 1.188 kB / 0.5381 GB, free: 7.156 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.3867, allocations: 0 / 0.5381 GB, free: 7.156 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002016/0.3869, allocations: 223.9 kB / 0.5383 GB, free: 6.914 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.3869, allocations: 0.9688 kB / 0.5383 GB, free: 6.914 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.602e-05/0.3869, allocations: 10.05 kB / 0.5383 GB, free: 6.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.387, allocations: 1.031 kB / 0.5383 GB, free: 6.91 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.632e-05/0.387, allocations: 6.406 kB / 0.5383 GB, free: 6.906 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.387, allocations: 1.312 kB / 0.5383 GB, free: 6.906 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.387, allocations: 0 / 0.5383 GB, free: 6.906 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003134/0.3873, allocations: 171.8 kB / 0.5385 GB, free: 6.781 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.885e-05/0.3874, allocations: 102.3 kB / 0.5386 GB, free: 6.668 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.102e-05/0.3874, allocations: 1.906 kB / 0.5386 GB, free: 6.668 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.221e-05/0.3875, allocations: 12.08 kB / 0.5386 GB, free: 6.66 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.553e-05/0.3876, allocations: 3.5 kB / 0.5386 GB, free: 6.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.967e-05/0.3876, allocations: 16.98 kB / 0.5386 GB, free: 6.648 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001893/0.3878, allocations: 177.9 kB / 0.5388 GB, free: 6.523 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.653e-06/0.3878, allocations: 0 / 0.5388 GB, free: 6.523 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002929/0.3881, allocations: 54.39 kB / 0.5388 GB, free: 6.508 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.00164/0.3897, allocations: 1.097 MB / 0.5399 GB, free: 5.684 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002595/0.39, allocations: 87.41 kB / 0.54 GB, free: 5.645 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.39, allocations: 0.9688 kB / 0.54 GB, free: 5.645 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000118/0.3901, allocations: 38.8 kB / 0.54 GB, free: 5.629 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003911/0.3905, allocations: 62.83 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.00236/0.3929, allocations: 1.872 MB / 0.5419 GB, free: 4.066 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003333/0.3933, allocations: 0.7224 MB / 0.5426 GB, free: 3.348 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001176/0.3934, allocations: 34.67 kB / 0.5427 GB, free: 3.332 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/0.3935, allocations: 66.92 kB / 0.5427 GB, free: 3.281 MB / 398.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3935, allocations: 1.75 kB / 0.5427 GB, free: 3.281 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04582/0.4393, allocations: 5.371 MB / 0.548 GB, free: 15.6 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.884/8.323, allocations: 4.953 kB / 0.548 GB, free: 15.59 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test80_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test80.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.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