Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.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.CombiTable1Ds.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001247/0.001246, 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.001441/0.001441, allocations: 201.2 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.4/1.4, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2195/0.2195, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001649/0.001649, allocations: 75.81 kB / 480.8 MB, free: 4.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3483/0.35, allocations: 62.43 MB / 0.5305 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.00244/0.3525, allocations: 1.594 MB / 0.5321 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008937/0.3534, allocations: 0.5315 MB / 0.5326 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.556e-05/0.3534, allocations: 1.25 kB / 0.5326 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001886/0.3536, allocations: 30.83 kB / 0.5326 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002557/0.3539, allocations: 81.09 kB / 0.5327 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002393/0.3541, allocations: 90.52 kB / 0.5328 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001241/0.3543, allocations: 62.64 kB / 0.5329 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.007e-05/0.3544, allocations: 14.53 kB / 0.5329 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.767e-05/0.3544, allocations: 31.25 kB / 0.5329 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.649e-05/0.3545, allocations: 22.8 kB / 0.5329 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/0.3545, allocations: 6.969 kB / 0.5329 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.964e-05/0.3546, allocations: 27.7 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.538e-05/0.3546, allocations: 17.83 kB / 0.533 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.704e-05/0.3547, allocations: 24.19 kB / 0.533 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001532/0.3548, allocations: 83.75 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.3549, allocations: 5.625 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3549, allocations: 3.938 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.3549, allocations: 0 / 0.5331 GB, free: 11.43 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.0004098/0.3553, allocations: 389.8 kB / 0.5335 GB, free: 11.02 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.3553, allocations: 10.62 kB / 0.5335 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.18e-05/0.3554, allocations: 34.75 kB / 0.5335 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.743e-05/0.3554, allocations: 9.219 kB / 0.5335 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/0.3556, allocations: 195.1 kB / 0.5337 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.3556, allocations: 8.125 kB / 0.5337 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.611e-05/0.3556, allocations: 5.75 kB / 0.5337 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.3557, allocations: 48.61 kB / 0.5338 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.3558, allocations: 0 / 0.5338 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.3558, allocations: 1.812 kB / 0.5338 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.3558, allocations: 0 / 0.5338 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.001e-05/0.3559, allocations: 24.48 kB / 0.5338 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002949/0.3562, allocations: 276.6 kB / 0.534 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001735/0.3564, allocations: 43.69 kB / 0.5341 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.737e-05/0.3564, allocations: 15.38 kB / 0.5341 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.3564, allocations: 1.281 kB / 0.5341 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.3565, allocations: 39.81 kB / 0.5341 GB, free: 10.29 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.3565, allocations: 0 / 0.5341 GB, free: 10.29 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004957/0.357, allocations: 149.1 kB / 0.5343 GB, free: 10.2 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.915e-05/0.357, allocations: 52.78 kB / 0.5343 GB, free: 10.14 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001496/0.3572, allocations: 182.9 kB / 0.5345 GB, free: 9.992 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.137e-05/0.3572, allocations: 25.7 kB / 0.5345 GB, free: 9.961 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.804e-05/0.3572, allocations: 100.2 kB / 0.5346 GB, free: 9.863 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.75e-05/0.3573, allocations: 18.5 kB / 0.5346 GB, free: 9.848 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.177e-05/0.3573, allocations: 13.84 kB / 0.5347 GB, free: 9.832 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.136e-05/0.3574, allocations: 325.6 kB / 0.535 GB, free: 9.508 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.326e-05/0.3575, allocations: 18.98 kB / 0.535 GB, free: 9.5 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.218e-05/0.3575, allocations: 19.17 kB / 0.535 GB, free: 9.492 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001124/0.3576, allocations: 46.83 kB / 0.5351 GB, free: 9.465 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.3577, allocations: 1.375 kB / 0.5351 GB, free: 9.465 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001661/0.3578, allocations: 89.14 kB / 0.5351 GB, free: 9.402 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/0.3579, allocations: 4.125 kB / 0.5351 GB, free: 9.402 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.3579, allocations: 1.375 kB / 0.5351 GB, free: 9.402 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.3579, allocations: 0 / 0.5351 GB, free: 9.402 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.124e-05/0.3579, allocations: 17.55 kB / 0.5352 GB, free: 9.395 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.358, allocations: 5.312 kB / 0.5352 GB, free: 9.391 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.175e-05/0.358, allocations: 10.67 kB / 0.5352 GB, free: 9.383 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/0.358, allocations: 1.375 kB / 0.5352 GB, free: 9.383 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 7.454e-05/0.3581, allocations: 116.7 kB / 0.5353 GB, free: 9.266 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.148e-05/0.3581, allocations: 12.03 kB / 0.5353 GB, free: 9.258 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002093/0.3583, allocations: 93.53 kB / 0.5354 GB, free: 9.191 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.3584, allocations: 5.359 kB / 0.5354 GB, free: 9.188 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3584, allocations: 4.219 kB / 0.5354 GB, free: 9.184 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.3584, allocations: 1.375 kB / 0.5354 GB, free: 9.184 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003697/0.3588, allocations: 347.8 kB / 0.5357 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3588, allocations: 4 kB / 0.5357 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.586e-05/0.3588, allocations: 17.59 kB / 0.5358 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.3588, allocations: 5.312 kB / 0.5358 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.3588, allocations: 0 / 0.5358 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.3589, allocations: 5.5 kB / 0.5358 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.3589, allocations: 4 kB / 0.5358 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001877/0.3591, allocations: 176.4 kB / 0.5359 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.623e-05/0.3591, allocations: 87.77 kB / 0.536 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.688e-05/0.3591, allocations: 3.938 kB / 0.536 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.966e-05/0.3592, allocations: 6.734 kB / 0.536 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.271e-05/0.3592, allocations: 6.75 kB / 0.536 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.598e-06/0.3592, allocations: 1.375 kB / 0.536 GB, free: 8.539 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.462e-05/0.3593, allocations: 132.8 kB / 0.5362 GB, free: 8.445 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.432e-06/0.3593, allocations: 0 / 0.5362 GB, free: 8.445 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002353/0.3596, allocations: 21.89 kB / 0.5362 GB, free: 8.434 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.001181/0.3608, allocations: 1.006 MB / 0.5372 GB, free: 7.621 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001892/0.361, allocations: 43.69 kB / 0.5372 GB, free: 7.605 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.361, allocations: 4 kB / 0.5372 GB, free: 7.602 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.928e-05/0.3611, allocations: 31.66 kB / 0.5372 GB, free: 7.586 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003184/0.3614, allocations: 10.91 kB / 0.5373 GB, free: 7.582 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001443/0.3628, allocations: 1.499 MB / 0.5387 GB, free: 6.234 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002174/0.3631, allocations: 0.6975 MB / 0.5394 GB, free: 5.527 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.786e-05/0.3631, allocations: 13.89 kB / 0.5394 GB, free: 5.52 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.072e-05/0.3632, allocations: 24.31 kB / 0.5394 GB, free: 5.5 MB / 398.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3632, allocations: 3.938 kB / 0.5394 GB, free: 5.496 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01885/0.382, allocations: 2.668 MB / 0.542 GB, free: 3.996 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.77/8.152, allocations: 12.92 kB / 0.5421 GB, free: 3.988 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test12_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test12.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.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(clock.y),der(d_t_new.u),t_new.columns[1],t_new.extrapolation,t_new.nHeaderLines,t_new.nout,t_new.smoothness,t_new.tableOnFile,t_new.table[1,1],t_new.table[1,2],t_new.table[2,1],t_new.table[2,2],t_new.table[3,1],t_new.table[3,2],t_new.u,t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time