Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.Test66_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001745/0.001745, allocations: 121.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.002073/0.002073, allocations: 204.6 kB / 18.74 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.491/1.491, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2325/0.2325, allocations: 46.1 MB / 344.3 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001686/0.001686, allocations: 84.09 kB / 480.9 MB, free: 4.531 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4356/0.4373, allocations: 62.43 MB / 0.5306 GB, free: 13.44 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003097/0.4405, allocations: 1.74 MB / 0.5323 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001922/0.4424, allocations: 1.033 MB / 0.5333 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001126/0.4425, allocations: 9.25 kB / 0.5333 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003936/0.4429, allocations: 33.45 kB / 0.5333 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000387/0.4433, allocations: 93.67 kB / 0.5334 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000233/0.4436, allocations: 76.3 kB / 0.5335 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002439/0.4438, allocations: 110.4 kB / 0.5336 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001538/0.444, allocations: 18.8 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001329/0.4441, allocations: 46.47 kB / 0.5337 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.4443, allocations: 41.03 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.564e-05/0.4443, allocations: 5.438 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002519/0.4446, allocations: 111.8 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.349e-05/0.4446, allocations: 28.56 kB / 0.5339 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.884e-05/0.4447, allocations: 33.39 kB / 0.5339 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003781/0.4451, allocations: 175.5 kB / 0.5341 GB, free: 10.78 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.4451, allocations: 0 / 0.5341 GB, free: 10.78 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4451, allocations: 0 / 0.5341 GB, free: 10.78 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.386e-06/0.4451, allocations: 0 / 0.5341 GB, free: 10.78 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007421/0.4459, allocations: 432.2 kB / 0.5345 GB, free: 10.34 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.681e-05/0.446, allocations: 9.812 kB / 0.5345 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.682e-05/0.446, allocations: 36.06 kB / 0.5345 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.909e-05/0.4461, allocations: 12.72 kB / 0.5345 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003834/0.4465, allocations: 216 kB / 0.5347 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/0.4465, allocations: 2.469 kB / 0.5347 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.886e-05/0.4465, allocations: 10.09 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002171/0.4467, allocations: 70.56 kB / 0.5348 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.4468, allocations: 0 / 0.5348 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.4468, allocations: 1.125 kB / 0.5348 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.4468, allocations: 0 / 0.5348 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.564e-05/0.4469, allocations: 22.95 kB / 0.5348 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004911/0.4474, allocations: 279.7 kB / 0.5351 GB, free: 9.668 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002377/0.4477, allocations: 70.73 kB / 0.5352 GB, free: 9.617 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.32e-05/0.4477, allocations: 22.05 kB / 0.5352 GB, free: 9.605 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.443e-05/0.4478, allocations: 4.953 kB / 0.5352 GB, free: 9.602 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000191/0.448, allocations: 75.48 kB / 0.5353 GB, free: 9.531 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.448, allocations: 0 / 0.5353 GB, free: 9.531 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006901/0.4487, allocations: 213.2 kB / 0.5355 GB, free: 9.406 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.056e-05/0.4488, allocations: 78.48 kB / 0.5355 GB, free: 9.312 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002033/0.449, allocations: 170.1 kB / 0.5357 GB, free: 9.172 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.449, allocations: 27.08 kB / 0.5357 GB, free: 9.141 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.584e-05/0.4491, allocations: 96.27 kB / 0.5358 GB, free: 9.047 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.863e-05/0.4491, allocations: 31.67 kB / 0.5359 GB, free: 9.02 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.354e-05/0.4492, allocations: 39.33 kB / 0.5359 GB, free: 8.984 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.4493, allocations: 321.6 kB / 0.5362 GB, free: 8.664 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.271e-05/0.4494, allocations: 31.11 kB / 0.5362 GB, free: 8.648 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.773e-05/0.4495, allocations: 55.12 kB / 0.5363 GB, free: 8.605 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001548/0.4497, allocations: 72.08 kB / 0.5363 GB, free: 8.562 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.4497, allocations: 4.031 kB / 0.5364 GB, free: 8.559 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002726/0.45, allocations: 131 kB / 0.5365 GB, free: 8.477 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.45, allocations: 8.344 kB / 0.5365 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.45, allocations: 480 / 0.5365 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.45, allocations: 1.156 kB / 0.5365 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.4502, allocations: 17.28 kB / 0.5365 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.336e-05/0.4502, allocations: 9.016 kB / 0.5365 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.581e-05/0.4502, allocations: 6.406 kB / 0.5365 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.338e-05/0.4503, allocations: 4.188 kB / 0.5365 GB, free: 8.465 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($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 (13): * Single equations (assignments): 13 * 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.0001186/0.4504, allocations: 128.5 kB / 0.5366 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.041e-05/0.4504, allocations: 8.719 kB / 0.5367 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.282e-05/0.4505, allocations: 25.12 kB / 0.5367 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.4505, allocations: 1.188 kB / 0.5367 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.4505, allocations: 3.938 kB / 0.5367 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.4505, allocations: 1.094 kB / 0.5367 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007091/0.4512, allocations: 430.1 kB / 0.5371 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.69e-06/0.4513, allocations: 5.344 kB / 0.5371 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.775e-05/0.4513, allocations: 13.23 kB / 0.5371 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.4513, allocations: 8.969 kB / 0.5371 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.656e-05/0.4513, allocations: 2.312 kB / 0.5371 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.4514, allocations: 1.344 kB / 0.5371 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.4514, allocations: 0 / 0.5371 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003462/0.4517, allocations: 219.7 kB / 0.5373 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.883e-05/0.4518, allocations: 88.33 kB / 0.5374 GB, free: 7.602 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.2e-05/0.4518, allocations: 5.969 kB / 0.5374 GB, free: 7.598 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.862e-05/0.4519, allocations: 2.125 kB / 0.5374 GB, free: 7.598 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.632e-05/0.452, allocations: 8.922 kB / 0.5374 GB, free: 7.594 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/0.452, allocations: 3.125 kB / 0.5374 GB, free: 7.594 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001414/0.4521, allocations: 127.9 kB / 0.5376 GB, free: 7.496 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4521, allocations: 0 / 0.5376 GB, free: 7.496 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003455/0.4525, allocations: 53.45 kB / 0.5376 GB, free: 7.477 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002047/0.4545, allocations: 1.201 MB / 0.5388 GB, free: 6.57 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002679/0.4548, allocations: 72.78 kB / 0.5388 GB, free: 6.543 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4548, allocations: 0 / 0.5388 GB, free: 6.543 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.4549, allocations: 42.8 kB / 0.5389 GB, free: 6.523 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003759/0.4553, allocations: 43.25 kB / 0.5389 GB, free: 6.5 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002084/0.4574, allocations: 1.665 MB / 0.5406 GB, free: 5.039 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003652/0.4578, allocations: 0.7011 MB / 0.5412 GB, free: 4.332 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.89e-05/0.4579, allocations: 21.55 kB / 0.5413 GB, free: 4.324 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.185e-05/0.458, allocations: 41.84 kB / 0.5413 GB, free: 4.293 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.458, allocations: 1.156 kB / 0.5413 GB, free: 4.293 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02395/0.482, allocations: 4.271 MB / 0.5455 GB, free: 1.938 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.553/8.035, allocations: 10.3 kB / 0.5455 GB, free: 1.93 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y Variables in the result:d_t_new.u,d_t_new.y,der(d_t_new.u),der(t_new.y[1]),dummy,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],time