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.001402/0.001402, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001723/0.001723, allocations: 197.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.362/1.362, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2242/0.2242, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 75.88 kB / 480.8 MB, free: 4.531 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.3173, allocations: 62.43 MB / 0.5305 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.00268/0.32, allocations: 1.598 MB / 0.5321 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009198/0.321, allocations: 0.5381 MB / 0.5326 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.814e-05/0.321, allocations: 1.469 kB / 0.5326 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002033/0.3213, allocations: 30.86 kB / 0.5326 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002799/0.3216, allocations: 81.5 kB / 0.5327 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002862/0.3218, allocations: 110.5 kB / 0.5328 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001274/0.322, allocations: 61.73 kB / 0.5329 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.932e-05/0.3221, allocations: 7.125 kB / 0.5329 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.805e-05/0.3221, allocations: 33.25 kB / 0.5329 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.701e-05/0.3222, allocations: 21.73 kB / 0.533 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.331e-05/0.3222, allocations: 3.969 kB / 0.533 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.359e-05/0.3223, allocations: 35.56 kB / 0.533 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.862e-05/0.3224, allocations: 21.12 kB / 0.533 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.681e-05/0.3224, allocations: 21.66 kB / 0.533 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001703/0.3226, allocations: 84.16 kB / 0.5331 GB, free: 11.41 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/0.3226, allocations: 4 kB / 0.5331 GB, free: 11.41 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3226, allocations: 3.938 kB / 0.5331 GB, free: 11.41 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.3226, allocations: 1.781 kB / 0.5331 GB, free: 11.41 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.0004344/0.323, allocations: 393.8 kB / 0.5335 GB, free: 11 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.3231, allocations: 9.5 kB / 0.5335 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.582e-05/0.3231, allocations: 36.41 kB / 0.5335 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.098e-05/0.3232, allocations: 11.97 kB / 0.5335 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001859/0.3234, allocations: 195 kB / 0.5337 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.305e-06/0.3234, allocations: 5.781 kB / 0.5337 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.16e-05/0.3234, allocations: 5.469 kB / 0.5337 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.3235, allocations: 47.58 kB / 0.5338 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.3235, allocations: 5.141 kB / 0.5338 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-06/0.3236, allocations: 0 / 0.5338 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.768e-06/0.3236, allocations: 1.219 kB / 0.5338 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.095e-05/0.3237, allocations: 29.86 kB / 0.5338 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003639/0.324, allocations: 284.5 kB / 0.5341 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/0.3242, allocations: 42.25 kB / 0.5341 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.166e-05/0.3243, allocations: 20.12 kB / 0.5342 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.3243, allocations: 0 / 0.5342 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.3244, allocations: 39.88 kB / 0.5342 GB, free: 10.26 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.3244, allocations: 0 / 0.5342 GB, free: 10.26 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005266/0.3249, allocations: 151.3 kB / 0.5343 GB, free: 10.17 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.113e-05/0.3249, allocations: 56.72 kB / 0.5344 GB, free: 10.1 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/0.3251, allocations: 181.5 kB / 0.5346 GB, free: 9.957 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.3251, allocations: 31.08 kB / 0.5346 GB, free: 9.922 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.101e-05/0.3252, allocations: 104.2 kB / 0.5347 GB, free: 9.82 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.702e-05/0.3252, allocations: 17.11 kB / 0.5347 GB, free: 9.805 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.514e-05/0.3252, allocations: 23.2 kB / 0.5347 GB, free: 9.781 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.3254, allocations: 321.6 kB / 0.535 GB, free: 9.461 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.984e-05/0.3254, allocations: 18.98 kB / 0.5351 GB, free: 9.453 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.558e-05/0.3255, allocations: 20.36 kB / 0.5351 GB, free: 9.445 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001236/0.3256, allocations: 56.33 kB / 0.5351 GB, free: 9.414 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.3256, allocations: 0 / 0.5351 GB, free: 9.414 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001726/0.3258, allocations: 91.88 kB / 0.5352 GB, free: 9.352 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.3258, allocations: 5.5 kB / 0.5352 GB, free: 9.352 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.3259, allocations: 0 / 0.5352 GB, free: 9.352 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.3259, allocations: 0 / 0.5352 GB, free: 9.352 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.365e-05/0.3259, allocations: 13.86 kB / 0.5352 GB, free: 9.348 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.326, allocations: 5.312 kB / 0.5352 GB, free: 9.344 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.143e-05/0.326, allocations: 14.69 kB / 0.5353 GB, free: 9.332 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-06/0.326, allocations: 1.375 kB / 0.5353 GB, free: 9.332 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.619e-05/0.3261, allocations: 120.7 kB / 0.5354 GB, free: 9.211 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.147e-05/0.3261, allocations: 8.031 kB / 0.5354 GB, free: 9.207 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002339/0.3264, allocations: 105.6 kB / 0.5355 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.3264, allocations: 1.375 kB / 0.5355 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.3264, allocations: 7.938 kB / 0.5355 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.3264, allocations: 1.375 kB / 0.5355 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004027/0.3268, allocations: 357.3 kB / 0.5358 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3268, allocations: 0 / 0.5358 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.567e-05/0.3269, allocations: 13.61 kB / 0.5358 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.3269, allocations: 3.938 kB / 0.5358 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.3269, allocations: 1.375 kB / 0.5359 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.3269, allocations: 0 / 0.5359 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.3269, allocations: 1.375 kB / 0.5359 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002139/0.3271, allocations: 186.2 kB / 0.536 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.723e-05/0.3272, allocations: 83.98 kB / 0.5361 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.3272, allocations: 3.938 kB / 0.5361 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.077e-05/0.3273, allocations: 10.95 kB / 0.5361 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.752e-05/0.3273, allocations: 2.312 kB / 0.5361 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/0.3273, allocations: 2.031 kB / 0.5361 GB, free: 8.488 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001074/0.3275, allocations: 139.9 kB / 0.5363 GB, free: 8.387 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.553e-06/0.3275, allocations: 0.875 kB / 0.5363 GB, free: 8.387 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002382/0.3277, allocations: 18.67 kB / 0.5363 GB, free: 8.379 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.001242/0.3289, allocations: 1.02 MB / 0.5373 GB, free: 7.559 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001882/0.3291, allocations: 50.81 kB / 0.5373 GB, free: 7.539 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3292, allocations: 0 / 0.5373 GB, free: 7.539 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.344e-05/0.3292, allocations: 28.45 kB / 0.5374 GB, free: 7.527 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003365/0.3296, allocations: 21.8 kB / 0.5374 GB, free: 7.516 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001545/0.3311, allocations: 1.523 MB / 0.5389 GB, free: 6.156 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002515/0.3314, allocations: 0.6984 MB / 0.5395 GB, free: 5.449 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.049e-05/0.3315, allocations: 17.11 kB / 0.5396 GB, free: 5.441 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.867e-05/0.3315, allocations: 23.34 kB / 0.5396 GB, free: 5.422 MB / 398.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3315, allocations: 3.938 kB / 0.5396 GB, free: 5.418 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02047/0.352, allocations: 2.683 MB / 0.5422 GB, free: 3.914 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.748/8.1, allocations: 13.05 kB / 0.5422 GB, free: 3.906 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