Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_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.001385/0.001385, allocations: 117.8 kB / 17.78 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001443/0.001443, allocations: 207.8 kB / 18.73 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.375/1.375, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2122/0.2122, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 75.89 kB / 480.8 MB, free: 4.562 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.3097, allocations: 62.44 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.002714/0.3124, allocations: 1.593 MB / 0.5321 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009094/0.3134, allocations: 0.5462 MB / 0.5326 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.892e-05/0.3134, allocations: 0 / 0.5326 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001874/0.3136, allocations: 27.66 kB / 0.5327 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002383/0.3139, allocations: 81.03 kB / 0.5327 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002865/0.3142, allocations: 110.9 kB / 0.5328 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001349/0.3143, allocations: 67.27 kB / 0.5329 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.179e-05/0.3144, allocations: 9.328 kB / 0.5329 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.637e-05/0.3145, allocations: 25.38 kB / 0.5329 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.803e-05/0.3145, allocations: 22.73 kB / 0.533 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.3146, allocations: 2.75 kB / 0.533 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.195e-05/0.3147, allocations: 40.59 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.1e-05/0.3147, allocations: 17.42 kB / 0.533 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.463e-05/0.3148, allocations: 19.94 kB / 0.533 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001677/0.3149, allocations: 96.27 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3149, allocations: 1.375 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3149, allocations: 3.938 kB / 0.5331 GB, free: 11.42 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.315, allocations: 0 / 0.5331 GB, free: 11.42 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.0004417/0.3154, allocations: 390.4 kB / 0.5335 GB, free: 11.02 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.3154, allocations: 9.625 kB / 0.5335 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.705e-05/0.3155, allocations: 36.06 kB / 0.5335 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.027e-05/0.3155, allocations: 8.969 kB / 0.5336 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001827/0.3157, allocations: 197.5 kB / 0.5337 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.265e-06/0.3157, allocations: 9.5 kB / 0.5337 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.036e-05/0.3158, allocations: 5.375 kB / 0.5338 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.3159, allocations: 44.69 kB / 0.5338 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.547e-06/0.3159, allocations: 0 / 0.5338 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.724e-06/0.3159, allocations: 1.375 kB / 0.5338 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.3159, allocations: 0 / 0.5338 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.904e-05/0.316, allocations: 29.66 kB / 0.5338 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003678/0.3164, allocations: 290.3 kB / 0.5341 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001982/0.3166, allocations: 44.92 kB / 0.5341 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.003e-05/0.3167, allocations: 15.27 kB / 0.5342 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.553e-05/0.3167, allocations: 1.125 kB / 0.5342 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.3167, allocations: 44 kB / 0.5342 GB, free: 10.28 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.3167, allocations: 0 / 0.5342 GB, free: 10.28 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005576/0.3173, allocations: 155.2 kB / 0.5344 GB, free: 10.18 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.399e-05/0.3173, allocations: 56.62 kB / 0.5344 GB, free: 10.12 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001741/0.3175, allocations: 181.1 kB / 0.5346 GB, free: 9.973 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.3175, allocations: 25.7 kB / 0.5346 GB, free: 9.941 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.753e-05/0.3176, allocations: 100.6 kB / 0.5347 GB, free: 9.844 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.014e-05/0.3176, allocations: 13.97 kB / 0.5347 GB, free: 9.832 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.718e-05/0.3177, allocations: 22.16 kB / 0.5347 GB, free: 9.809 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.3178, allocations: 321 kB / 0.535 GB, free: 9.488 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.621e-05/0.3179, allocations: 20.17 kB / 0.5351 GB, free: 9.48 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.791e-05/0.318, allocations: 24.53 kB / 0.5351 GB, free: 9.469 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001368/0.3181, allocations: 51.36 kB / 0.5351 GB, free: 9.441 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.3181, allocations: 4 kB / 0.5351 GB, free: 9.438 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001949/0.3183, allocations: 92.52 kB / 0.5352 GB, free: 9.375 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.3184, allocations: 4.812 kB / 0.5352 GB, free: 9.375 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.3184, allocations: 3.984 kB / 0.5352 GB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.3184, allocations: 1.188 kB / 0.5352 GB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.049e-05/0.3185, allocations: 9.094 kB / 0.5352 GB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.3185, allocations: 5.281 kB / 0.5352 GB, free: 9.367 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.316e-05/0.3185, allocations: 11.11 kB / 0.5353 GB, free: 9.359 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.104e-06/0.3185, allocations: 1.469 kB / 0.5353 GB, free: 9.359 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 9.035e-05/0.3186, allocations: 120.8 kB / 0.5354 GB, free: 9.238 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.239e-05/0.3187, allocations: 7.375 kB / 0.5354 GB, free: 9.234 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002482/0.3189, allocations: 102.3 kB / 0.5355 GB, free: 9.164 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.3189, allocations: 1.125 kB / 0.5355 GB, free: 9.164 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.3189, allocations: 3.938 kB / 0.5355 GB, free: 9.16 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-06/0.319, allocations: 0 / 0.5355 GB, free: 9.16 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004787/0.3194, allocations: 370.3 kB / 0.5358 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.3195, allocations: 0 / 0.5358 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.813e-05/0.3195, allocations: 9 kB / 0.5358 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.3195, allocations: 5.312 kB / 0.5358 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.3196, allocations: 0 / 0.5358 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.3196, allocations: 5.359 kB / 0.5359 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.3196, allocations: 0 / 0.5359 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002551/0.3198, allocations: 184.2 kB / 0.536 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.932e-05/0.3199, allocations: 86.44 kB / 0.5361 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.364e-05/0.3199, allocations: 13.31 kB / 0.5361 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.651e-05/0.32, allocations: 2.75 kB / 0.5361 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.476e-05/0.32, allocations: 6.734 kB / 0.5361 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.3201, allocations: 1.375 kB / 0.5361 GB, free: 8.508 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001118/0.3202, allocations: 136.7 kB / 0.5363 GB, free: 8.41 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.874e-06/0.3202, allocations: 0 / 0.5363 GB, free: 8.41 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002451/0.3204, allocations: 14.94 kB / 0.5363 GB, free: 8.406 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.001379/0.3218, allocations: 1.011 MB / 0.5373 GB, free: 7.594 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002184/0.322, allocations: 62.2 kB / 0.5373 GB, free: 7.562 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.3221, allocations: 1.375 kB / 0.5373 GB, free: 7.562 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.239e-05/0.3221, allocations: 28.42 kB / 0.5374 GB, free: 7.551 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003562/0.3225, allocations: 18.8 kB / 0.5374 GB, free: 7.539 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001838/0.3244, allocations: 1.516 MB / 0.5389 GB, free: 6.188 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003015/0.3247, allocations: 0.6969 MB / 0.5395 GB, free: 5.48 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.48e-05/0.3248, allocations: 17.2 kB / 0.5395 GB, free: 5.473 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.593e-05/0.3248, allocations: 27.92 kB / 0.5396 GB, free: 5.449 MB / 398.1 MB Notification: Performance of SimCode: time 5.82e-07/0.3248, allocations: 3.938 kB / 0.5396 GB, free: 5.445 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01964/0.3445, allocations: 2.688 MB / 0.5422 GB, free: 3.938 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.556/7.9, allocations: 14.84 kB / 0.5422 GB, free: 3.93 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test12_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test12.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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(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.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[1],t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time