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.001495/0.001496, allocations: 118.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.001775/0.001775, allocations: 197.2 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.461/1.461, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2451/0.2451, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001622/0.001622, allocations: 79.88 kB / 480.9 MB, free: 4.527 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3869/0.3885, allocations: 62.44 MB / 0.5306 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003056/0.3916, allocations: 1.823 MB / 0.5324 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002735/0.3943, allocations: 1.7 MB / 0.534 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001182/0.3945, allocations: 5.312 kB / 0.534 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004185/0.3949, allocations: 45.45 kB / 0.5341 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005155/0.3955, allocations: 141.7 kB / 0.5342 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002784/0.3958, allocations: 105.8 kB / 0.5343 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003007/0.3961, allocations: 203.1 kB / 0.5345 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.482e-05/0.3961, allocations: 17.92 kB / 0.5345 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001597/0.3963, allocations: 89.98 kB / 0.5346 GB, free: 10.24 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002254/0.3965, allocations: 76.5 kB / 0.5347 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.084e-05/0.3966, allocations: 8.25 kB / 0.5347 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002456/0.3968, allocations: 115.1 kB / 0.5348 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.087e-05/0.3969, allocations: 36.09 kB / 0.5348 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.976e-05/0.397, allocations: 70.59 kB / 0.5349 GB, free: 10.06 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003882/0.3974, allocations: 224.8 kB / 0.5351 GB, free: 9.922 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.3975, allocations: 1.25 kB / 0.5351 GB, free: 9.922 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.3975, allocations: 0 / 0.5351 GB, free: 9.922 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.3975, allocations: 4 kB / 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.0008807/0.3984, allocations: 0.4914 MB / 0.5356 GB, free: 9.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.3984, allocations: 9.438 kB / 0.5356 GB, free: 9.43 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.337e-05/0.3985, allocations: 31.97 kB / 0.5356 GB, free: 9.391 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.594e-05/0.3985, allocations: 21.58 kB / 0.5357 GB, free: 9.379 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004117/0.3989, allocations: 249.7 kB / 0.5359 GB, free: 9.125 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.399, allocations: 6.703 kB / 0.5359 GB, free: 9.121 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.609e-05/0.399, allocations: 6.375 kB / 0.5359 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002406/0.3992, allocations: 108.5 kB / 0.536 GB, free: 9.016 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.3993, allocations: 0 / 0.536 GB, free: 9.016 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.668e-05/0.3993, allocations: 9.328 kB / 0.536 GB, free: 9.008 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.3993, allocations: 1.062 kB / 0.536 GB, free: 9.008 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001042/0.3994, allocations: 24.02 kB / 0.536 GB, free: 9 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002674/0.3997, allocations: 225.9 kB / 0.5363 GB, free: 8.75 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002647/0.4, allocations: 109.3 kB / 0.5364 GB, free: 8.664 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.909e-05/0.4001, allocations: 37.17 kB / 0.5364 GB, free: 8.637 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.259e-05/0.4001, allocations: 10.17 kB / 0.5364 GB, free: 8.629 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002455/0.4003, allocations: 108.6 kB / 0.5365 GB, free: 8.531 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/0.4004, allocations: 0 / 0.5365 GB, free: 8.531 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004853/0.4008, allocations: 163.9 kB / 0.5367 GB, free: 8.441 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.152e-05/0.401, allocations: 133.9 kB / 0.5368 GB, free: 8.281 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002823/0.4012, allocations: 244.1 kB / 0.537 GB, free: 8.105 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.377e-05/0.4013, allocations: 31.02 kB / 0.5371 GB, free: 8.07 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.176e-05/0.4014, allocations: 115.8 kB / 0.5372 GB, free: 7.961 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.498e-05/0.4014, allocations: 23.8 kB / 0.5372 GB, free: 7.941 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.369e-05/0.4015, allocations: 28.31 kB / 0.5372 GB, free: 7.918 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.4016, allocations: 331 kB / 0.5375 GB, free: 7.59 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.473e-05/0.4017, allocations: 28.2 kB / 0.5376 GB, free: 7.578 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.4018, allocations: 81 kB / 0.5376 GB, free: 7.5 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001798/0.402, allocations: 86.86 kB / 0.5377 GB, free: 7.438 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.402, allocations: 9.156 kB / 0.5377 GB, free: 7.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002756/0.4023, allocations: 137.2 kB / 0.5379 GB, free: 7.348 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.4024, allocations: 13.23 kB / 0.5379 GB, free: 7.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.4024, allocations: 1.031 kB / 0.5379 GB, free: 7.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.4024, allocations: 2.188 kB / 0.5379 GB, free: 7.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.4025, allocations: 17.28 kB / 0.5379 GB, free: 7.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.4025, allocations: 4.938 kB / 0.5379 GB, free: 7.336 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.293e-05/0.4026, allocations: 21.91 kB / 0.5379 GB, free: 7.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.4026, allocations: 3.625 kB / 0.5379 GB, free: 7.32 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.0001603/0.4028, allocations: 136.9 kB / 0.538 GB, free: 7.188 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.199e-05/0.4029, allocations: 20.69 kB / 0.5381 GB, free: 7.176 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.26e-05/0.4029, allocations: 19.5 kB / 0.5381 GB, free: 7.16 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.4029, allocations: 5.109 kB / 0.5381 GB, free: 7.156 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.403, allocations: 1.031 kB / 0.5381 GB, free: 7.156 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.403, allocations: 1.125 kB / 0.5381 GB, free: 7.156 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002331/0.4032, allocations: 223.2 kB / 0.5383 GB, free: 6.914 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.4032, allocations: 1.062 kB / 0.5383 GB, free: 6.914 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.346e-05/0.4033, allocations: 6.375 kB / 0.5383 GB, free: 6.914 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.4033, allocations: 5.094 kB / 0.5383 GB, free: 6.91 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/0.4033, allocations: 14.55 kB / 0.5383 GB, free: 6.898 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.4033, allocations: 3.938 kB / 0.5383 GB, free: 6.895 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.4033, allocations: 0.9375 kB / 0.5383 GB, free: 6.895 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000323/0.4036, allocations: 167.6 kB / 0.5385 GB, free: 6.773 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.164e-05/0.4037, allocations: 98.16 kB / 0.5386 GB, free: 6.664 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.782e-05/0.4038, allocations: 5.156 kB / 0.5386 GB, free: 6.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.216e-05/0.4038, allocations: 8.375 kB / 0.5386 GB, free: 6.656 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.48e-05/0.4039, allocations: 7.641 kB / 0.5386 GB, free: 6.652 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.109e-05/0.4039, allocations: 12.53 kB / 0.5386 GB, free: 6.645 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000196/0.4041, allocations: 178.4 kB / 0.5388 GB, free: 6.52 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4041, allocations: 1.062 kB / 0.5388 GB, free: 6.52 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003016/0.4044, allocations: 48.91 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.001716/0.4062, allocations: 1.088 MB / 0.5399 GB, free: 5.691 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002676/0.4064, allocations: 86.81 kB / 0.54 GB, free: 5.652 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.4065, allocations: 1.062 kB / 0.54 GB, free: 5.652 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001115/0.4066, allocations: 42.98 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.0003814/0.407, allocations: 68.67 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.002439/0.4094, allocations: 1.882 MB / 0.5419 GB, free: 4.055 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002819/0.4097, allocations: 0.7152 MB / 0.5426 GB, free: 3.344 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001098/0.4098, allocations: 36.17 kB / 0.5427 GB, free: 3.328 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.4099, allocations: 62.28 kB / 0.5427 GB, free: 3.281 MB / 398.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4099, allocations: 0 / 0.5427 GB, free: 3.281 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02325/0.4332, allocations: 5.369 MB / 0.548 GB, free: 15.64 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.826/8.259, allocations: 12.38 kB / 0.548 GB, free: 15.63 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