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.001249/0.001249, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00142/0.001421, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.346/1.346, 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.2255/0.2255, allocations: 46.09 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002242/0.002242, allocations: 76.11 kB / 480.9 MB, free: 4.508 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3791/0.3814, allocations: 62.43 MB / 0.5306 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003048/0.3845, allocations: 1.829 MB / 0.5324 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002492/0.387, allocations: 1.701 MB / 0.534 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.625e-05/0.3871, allocations: 0 / 0.534 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003383/0.3874, allocations: 54.72 kB / 0.5341 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003877/0.3878, allocations: 134.7 kB / 0.5342 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002286/0.3881, allocations: 108.7 kB / 0.5343 GB, free: 10.26 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002648/0.3884, allocations: 203.8 kB / 0.5345 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.905e-05/0.3884, allocations: 17.92 kB / 0.5345 GB, free: 10.13 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001279/0.3886, allocations: 80.64 kB / 0.5346 GB, free: 10.08 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002071/0.3888, allocations: 88.47 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.689e-05/0.3888, allocations: 9.625 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001995/0.389, allocations: 113.7 kB / 0.5348 GB, free: 9.973 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.827e-05/0.3891, allocations: 29.48 kB / 0.5348 GB, free: 9.953 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.214e-05/0.3892, allocations: 70.7 kB / 0.5349 GB, free: 9.898 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003227/0.3895, allocations: 224 kB / 0.5351 GB, free: 9.758 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.3895, allocations: 1.375 kB / 0.5351 GB, free: 9.758 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3895, allocations: 4 kB / 0.5351 GB, free: 9.754 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.73e-06/0.3895, allocations: 0 / 0.5351 GB, free: 9.754 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.0007423/0.3903, allocations: 0.4908 MB / 0.5356 GB, free: 9.266 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.3903, allocations: 9.625 kB / 0.5356 GB, free: 9.266 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.445e-05/0.3904, allocations: 36.12 kB / 0.5356 GB, free: 9.223 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.972e-05/0.3905, allocations: 17 kB / 0.5356 GB, free: 9.215 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004326/0.3909, allocations: 255.2 kB / 0.5359 GB, free: 8.957 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.3909, allocations: 5.75 kB / 0.5359 GB, free: 8.953 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.323e-05/0.391, allocations: 10.69 kB / 0.5359 GB, free: 8.945 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002535/0.3912, allocations: 100.6 kB / 0.536 GB, free: 8.852 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.3912, allocations: 3.938 kB / 0.536 GB, free: 8.848 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.3913, allocations: 1.156 kB / 0.536 GB, free: 8.848 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.3913, allocations: 1.406 kB / 0.536 GB, free: 8.848 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001441/0.3914, allocations: 31.25 kB / 0.536 GB, free: 8.832 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000332/0.3918, allocations: 221.7 kB / 0.5362 GB, free: 8.586 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003384/0.3921, allocations: 109.5 kB / 0.5364 GB, free: 8.5 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001227/0.3923, allocations: 45.78 kB / 0.5364 GB, free: 8.465 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.955e-05/0.3923, allocations: 2.656 kB / 0.5364 GB, free: 8.465 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002599/0.3926, allocations: 107.5 kB / 0.5365 GB, free: 8.367 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.392e-06/0.3926, allocations: 0 / 0.5365 GB, free: 8.367 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005471/0.3931, allocations: 176.6 kB / 0.5367 GB, free: 8.266 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001278/0.3933, allocations: 129.6 kB / 0.5368 GB, free: 8.109 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000319/0.3936, allocations: 243.4 kB / 0.537 GB, free: 7.934 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/0.3936, allocations: 27.95 kB / 0.5371 GB, free: 7.902 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.37e-05/0.3937, allocations: 115.1 kB / 0.5372 GB, free: 7.793 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.842e-05/0.3938, allocations: 24.27 kB / 0.5372 GB, free: 7.773 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.751e-05/0.3939, allocations: 31.83 kB / 0.5372 GB, free: 7.746 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.394, allocations: 331 kB / 0.5375 GB, free: 7.418 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001058/0.3941, allocations: 31.2 kB / 0.5376 GB, free: 7.402 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/0.3943, allocations: 71.14 kB / 0.5376 GB, free: 7.336 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002031/0.3945, allocations: 94.12 kB / 0.5377 GB, free: 7.266 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.3945, allocations: 3.938 kB / 0.5377 GB, free: 7.262 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003198/0.3948, allocations: 138.1 kB / 0.5379 GB, free: 7.18 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.3949, allocations: 5.344 kB / 0.5379 GB, free: 7.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.3949, allocations: 0.8125 kB / 0.5379 GB, free: 7.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.3949, allocations: 1.5 kB / 0.5379 GB, free: 7.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.395, allocations: 26.52 kB / 0.5379 GB, free: 7.172 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.3951, allocations: 1.25 kB / 0.5379 GB, free: 7.172 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.194e-05/0.3952, allocations: 17.62 kB / 0.5379 GB, free: 7.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.3952, allocations: 3.219 kB / 0.5379 GB, free: 7.16 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.0001348/0.3953, allocations: 141.1 kB / 0.538 GB, free: 7.023 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.329e-05/0.3954, allocations: 21.12 kB / 0.5381 GB, free: 7.012 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.391e-05/0.3955, allocations: 18.77 kB / 0.5381 GB, free: 6.996 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.3955, allocations: 2.719 kB / 0.5381 GB, free: 6.996 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.3955, allocations: 0 / 0.5381 GB, free: 6.996 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.837e-06/0.3955, allocations: 5.094 kB / 0.5381 GB, free: 6.992 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002398/0.3957, allocations: 227.8 kB / 0.5383 GB, free: 6.746 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3957, allocations: 4 kB / 0.5383 GB, free: 6.742 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.417e-05/0.3958, allocations: 7.062 kB / 0.5383 GB, free: 6.742 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.3958, allocations: 1.188 kB / 0.5383 GB, free: 6.742 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.3958, allocations: 1.219 kB / 0.5383 GB, free: 6.742 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3958, allocations: 1.094 kB / 0.5383 GB, free: 6.742 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.3958, allocations: 1.094 kB / 0.5383 GB, free: 6.742 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003415/0.3962, allocations: 172 kB / 0.5385 GB, free: 6.617 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.699e-05/0.3963, allocations: 100.9 kB / 0.5386 GB, free: 6.504 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.35e-05/0.3963, allocations: 2.469 kB / 0.5386 GB, free: 6.504 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.913e-05/0.3964, allocations: 6.828 kB / 0.5386 GB, free: 6.5 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.949e-05/0.3964, allocations: 12.61 kB / 0.5386 GB, free: 6.492 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.751e-05/0.3965, allocations: 8.531 kB / 0.5386 GB, free: 6.488 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001969/0.3967, allocations: 178.1 kB / 0.5388 GB, free: 6.363 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.753e-06/0.3967, allocations: 1.188 kB / 0.5388 GB, free: 6.363 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002862/0.397, allocations: 53.55 kB / 0.5388 GB, free: 6.348 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.001661/0.3986, allocations: 1.101 MB / 0.5399 GB, free: 5.52 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002961/0.3989, allocations: 90.8 kB / 0.54 GB, free: 5.477 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3989, allocations: 1.156 kB / 0.54 GB, free: 5.477 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001213/0.3991, allocations: 42.92 kB / 0.54 GB, free: 5.457 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004127/0.3995, allocations: 69.27 kB / 0.5401 GB, free: 5.426 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00241/0.4019, allocations: 1.862 MB / 0.5419 GB, free: 3.898 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003304/0.4023, allocations: 0.7194 MB / 0.5426 GB, free: 3.184 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.904e-05/0.4024, allocations: 39.7 kB / 0.5427 GB, free: 3.164 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001229/0.4025, allocations: 58.22 kB / 0.5427 GB, free: 3.121 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4025, allocations: 0.9688 kB / 0.5427 GB, free: 3.121 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02813/0.4306, allocations: 5.369 MB / 0.548 GB, free: 15.49 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.013/8.444, allocations: 16.75 kB / 0.548 GB, free: 15.48 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