Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.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.CombiTable1Dv.Test19,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test19,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test19",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001626/0.001625, 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.002026/0.002026, allocations: 202 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.368/1.368, allocations: 227.4 MB / 246.9 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2288/0.2288, allocations: 46.1 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 79.86 kB / 480.8 MB, free: 4.527 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3464/0.3479, allocations: 62.44 MB / 0.5305 GB, free: 13.26 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test19): time 0.003338/0.3513, allocations: 1.599 MB / 0.5321 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001697/0.353, allocations: 1.162 MB / 0.5332 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.788e-05/0.3531, allocations: 1.094 kB / 0.5332 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002189/0.3533, allocations: 33.28 kB / 0.5333 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002763/0.3536, allocations: 85.61 kB / 0.5333 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003546/0.354, allocations: 110 kB / 0.5334 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001747/0.3542, allocations: 67.52 kB / 0.5335 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.3543, allocations: 11.12 kB / 0.5335 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.824e-05/0.3544, allocations: 30.06 kB / 0.5336 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001534/0.3545, allocations: 26.83 kB / 0.5336 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.837e-05/0.3545, allocations: 7.344 kB / 0.5336 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001792/0.3547, allocations: 103.3 kB / 0.5337 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.234e-05/0.3548, allocations: 15.77 kB / 0.5337 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.287e-05/0.3548, allocations: 24.33 kB / 0.5337 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000279/0.3551, allocations: 146.1 kB / 0.5339 GB, free: 10.68 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.3551, allocations: 0 / 0.5339 GB, free: 10.68 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.3551, allocations: 0 / 0.5339 GB, free: 10.68 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.3552, allocations: 0 / 0.5339 GB, free: 10.68 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005869/0.3557, allocations: 392.5 kB / 0.5342 GB, free: 10.28 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.376e-05/0.3558, allocations: 13.53 kB / 0.5342 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.959e-05/0.3559, allocations: 36.81 kB / 0.5343 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.851e-05/0.3559, allocations: 12.7 kB / 0.5343 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002546/0.3562, allocations: 191.9 kB / 0.5345 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.3562, allocations: 2.062 kB / 0.5345 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.273e-05/0.3562, allocations: 1.969 kB / 0.5345 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.3564, allocations: 68.47 kB / 0.5345 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.3564, allocations: 0 / 0.5345 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.3565, allocations: 1.594 kB / 0.5345 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.3565, allocations: 4 kB / 0.5346 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.3566, allocations: 33.27 kB / 0.5346 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004645/0.3571, allocations: 288 kB / 0.5349 GB, free: 9.605 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002213/0.3573, allocations: 44.91 kB / 0.5349 GB, free: 9.57 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.166e-05/0.3574, allocations: 24.22 kB / 0.5349 GB, free: 9.551 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.633e-05/0.3574, allocations: 1.469 kB / 0.5349 GB, free: 9.551 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.3574, allocations: 31.97 kB / 0.535 GB, free: 9.512 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.3574, allocations: 0 / 0.535 GB, free: 9.512 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006024/0.3581, allocations: 154.6 kB / 0.5351 GB, free: 9.418 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.907e-05/0.3581, allocations: 77.11 kB / 0.5352 GB, free: 9.324 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001501/0.3583, allocations: 148.9 kB / 0.5353 GB, free: 9.199 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.3583, allocations: 25.7 kB / 0.5353 GB, free: 9.168 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.324e-05/0.3584, allocations: 96.25 kB / 0.5354 GB, free: 9.074 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.609e-05/0.3584, allocations: 21.03 kB / 0.5355 GB, free: 9.055 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.019e-05/0.3585, allocations: 19.2 kB / 0.5355 GB, free: 9.035 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.3586, allocations: 320.2 kB / 0.5358 GB, free: 8.715 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.283e-05/0.3587, allocations: 20.36 kB / 0.5358 GB, free: 8.707 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.776e-05/0.3588, allocations: 39.44 kB / 0.5358 GB, free: 8.676 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001382/0.3589, allocations: 56.27 kB / 0.5359 GB, free: 8.645 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.3589, allocations: 0 / 0.5359 GB, free: 8.645 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002075/0.3591, allocations: 87.94 kB / 0.536 GB, free: 8.586 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.3591, allocations: 4.125 kB / 0.536 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.3592, allocations: 1.375 kB / 0.536 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.3592, allocations: 4.031 kB / 0.536 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.328e-05/0.3592, allocations: 13.61 kB / 0.536 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.3593, allocations: 1.375 kB / 0.536 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.61e-05/0.3593, allocations: 6.688 kB / 0.536 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.3593, allocations: 5.375 kB / 0.536 GB, free: 8.57 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 8.767e-05/0.3594, allocations: 117.9 kB / 0.5361 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.54e-05/0.3595, allocations: 12.02 kB / 0.5361 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002611/0.3597, allocations: 96.34 kB / 0.5362 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.3597, allocations: 1.375 kB / 0.5362 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.3597, allocations: 0 / 0.5362 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.3597, allocations: 3.938 kB / 0.5362 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004391/0.3602, allocations: 360.3 kB / 0.5366 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.3602, allocations: 4 kB / 0.5366 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.508e-05/0.3603, allocations: 17.55 kB / 0.5366 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.3603, allocations: 4 kB / 0.5366 GB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.3603, allocations: 5 kB / 0.5366 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3603, allocations: 1.094 kB / 0.5366 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3603, allocations: 0 / 0.5366 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002445/0.3606, allocations: 183 kB / 0.5368 GB, free: 7.828 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.41e-05/0.3606, allocations: 79.2 kB / 0.5369 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.13e-05/0.3606, allocations: 9.016 kB / 0.5369 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.321e-05/0.3607, allocations: 15.09 kB / 0.5369 GB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.528e-05/0.3608, allocations: 2.312 kB / 0.5369 GB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.103e-06/0.3608, allocations: 5.188 kB / 0.5369 GB, free: 7.711 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001144/0.3609, allocations: 120.8 kB / 0.537 GB, free: 7.613 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3609, allocations: 0 / 0.537 GB, free: 7.613 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002744/0.3612, allocations: 40.52 kB / 0.537 GB, free: 7.598 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.001488/0.3627, allocations: 1.089 MB / 0.5381 GB, free: 6.754 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002295/0.3629, allocations: 58.58 kB / 0.5382 GB, free: 6.727 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.3629, allocations: 1.156 kB / 0.5382 GB, free: 6.727 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.322e-05/0.363, allocations: 24.7 kB / 0.5382 GB, free: 6.719 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003675/0.3634, allocations: 24.67 kB / 0.5382 GB, free: 6.707 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001649/0.365, allocations: 1.455 MB / 0.5396 GB, free: 5.371 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002867/0.3653, allocations: 0.7021 MB / 0.5403 GB, free: 4.656 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.942e-05/0.3654, allocations: 22.33 kB / 0.5403 GB, free: 4.645 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.027e-05/0.3655, allocations: 29.52 kB / 0.5404 GB, free: 4.625 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3655, allocations: 0 / 0.5404 GB, free: 4.625 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0213/0.3868, allocations: 3.251 MB / 0.5435 GB, free: 2.758 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.647/8.034, allocations: 10.17 kB / 0.5435 GB, free: 2.75 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test19_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test19.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y,clock.y Variables in the result:clock.offset,clock.startTime,clock.y,d_t_new.u,d_t_new.y,der(d_t_new.u),der(t_new.u[1]),t_new.columns[1],t_new.extrapolation,t_new.n,t_new.nHeaderLines,t_new.smoothness,t_new.tableOnFile,t_new.u[1],t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time