Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.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.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001229/0.001229, allocations: 118.8 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001261/0.001261, 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.439/1.439, 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.2274/0.2274, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 79.81 kB / 480.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3238, allocations: 62.44 MB / 0.5305 GB, free: 13.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.002877/0.3267, allocations: 1.619 MB / 0.5321 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001036/0.3278, allocations: 0.5533 MB / 0.5327 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.333e-05/0.3279, allocations: 0 / 0.5327 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002813/0.3282, allocations: 77.55 kB / 0.5327 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003287/0.3285, allocations: 106.1 kB / 0.5328 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003327/0.3289, allocations: 105.2 kB / 0.5329 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001643/0.3291, allocations: 88.8 kB / 0.533 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.3292, allocations: 17.11 kB / 0.533 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.555e-05/0.3292, allocations: 39.97 kB / 0.5331 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000134/0.3294, allocations: 56.84 kB / 0.5331 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.466e-05/0.3294, allocations: 3.031 kB / 0.5331 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.96e-05/0.3295, allocations: 44.36 kB / 0.5332 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.657e-05/0.3296, allocations: 24.89 kB / 0.5332 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.367e-05/0.3297, allocations: 33.02 kB / 0.5332 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002123/0.3299, allocations: 108.8 kB / 0.5333 GB, free: 11.22 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3299, allocations: 0 / 0.5333 GB, free: 11.22 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.3299, allocations: 0 / 0.5333 GB, free: 11.22 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.3299, allocations: 1.094 kB / 0.5333 GB, free: 11.22 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000497/0.3304, allocations: 418.9 kB / 0.5337 GB, free: 10.79 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.3305, allocations: 9.5 kB / 0.5337 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.695e-05/0.3305, allocations: 32.22 kB / 0.5338 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.513e-05/0.3305, allocations: 10.47 kB / 0.5338 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002205/0.3308, allocations: 204.8 kB / 0.534 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.3308, allocations: 5.75 kB / 0.534 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.361e-05/0.3308, allocations: 10.72 kB / 0.534 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.331, allocations: 54.02 kB / 0.534 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.331, allocations: 5.031 kB / 0.534 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.331, allocations: 7.938 kB / 0.5341 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.331, allocations: 1 kB / 0.5341 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.939e-05/0.3311, allocations: 28.66 kB / 0.5341 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004218/0.3316, allocations: 303.8 kB / 0.5344 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001158/0.3317, allocations: 47.53 kB / 0.5344 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.613e-05/0.3318, allocations: 22.53 kB / 0.5344 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.3318, allocations: 0 / 0.5344 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/0.3318, allocations: 32.41 kB / 0.5345 GB, free: 10.02 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.3318, allocations: 0 / 0.5345 GB, free: 10.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009741/0.3328, allocations: 245.5 kB / 0.5347 GB, free: 9.887 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.325e-05/0.3329, allocations: 52.78 kB / 0.5348 GB, free: 9.824 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002052/0.3331, allocations: 213.8 kB / 0.535 GB, free: 9.676 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.3331, allocations: 27.08 kB / 0.535 GB, free: 9.645 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.73e-05/0.3332, allocations: 105.6 kB / 0.5351 GB, free: 9.543 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.55e-05/0.3332, allocations: 30.38 kB / 0.5351 GB, free: 9.516 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.264e-05/0.3333, allocations: 24.58 kB / 0.5351 GB, free: 9.492 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.3334, allocations: 327 kB / 0.5355 GB, free: 9.168 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.991e-05/0.3335, allocations: 27.11 kB / 0.5355 GB, free: 9.156 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.561e-05/0.3336, allocations: 33.84 kB / 0.5355 GB, free: 9.141 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001675/0.3338, allocations: 74.17 kB / 0.5356 GB, free: 9.102 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.3338, allocations: 0 / 0.5356 GB, free: 9.102 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002252/0.334, allocations: 120.2 kB / 0.5357 GB, free: 9.023 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.3341, allocations: 5.5 kB / 0.5357 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.3341, allocations: 0 / 0.5357 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.3341, allocations: 1.375 kB / 0.5357 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.3342, allocations: 17.73 kB / 0.5357 GB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.3342, allocations: 5.312 kB / 0.5357 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.392e-05/0.3343, allocations: 6.75 kB / 0.5357 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.3343, allocations: 1.375 kB / 0.5357 GB, free: 9.012 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 (8): * Single equations (assignments): 8 * 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.0001076/0.3344, allocations: 130.2 kB / 0.5359 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.266e-05/0.3344, allocations: 11.94 kB / 0.5359 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003315/0.3348, allocations: 142.5 kB / 0.536 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.3348, allocations: 1.094 kB / 0.536 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.677e-06/0.3348, allocations: 5.062 kB / 0.536 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.3348, allocations: 0 / 0.536 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005715/0.3354, allocations: 415.1 kB / 0.5364 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.3354, allocations: 1.25 kB / 0.5364 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.502e-05/0.3355, allocations: 21.17 kB / 0.5364 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.636e-06/0.3355, allocations: 1.406 kB / 0.5364 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.3355, allocations: 9.062 kB / 0.5364 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.3355, allocations: 1.062 kB / 0.5364 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.3355, allocations: 1.531 kB / 0.5364 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003535/0.3359, allocations: 224.6 kB / 0.5367 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.266e-05/0.3359, allocations: 87.55 kB / 0.5367 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/0.336, allocations: 1.25 kB / 0.5367 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.048e-05/0.3361, allocations: 3.406 kB / 0.5367 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.528e-05/0.3361, allocations: 7.688 kB / 0.5367 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.3361, allocations: 6.562 kB / 0.5368 GB, free: 8.066 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001615/0.3363, allocations: 163.5 kB / 0.5369 GB, free: 7.957 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3363, allocations: 4 kB / 0.5369 GB, free: 7.953 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002613/0.3366, allocations: 22.78 kB / 0.5369 GB, free: 7.945 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.001769/0.3383, allocations: 1.104 MB / 0.538 GB, free: 7.078 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002791/0.3386, allocations: 75.42 kB / 0.5381 GB, free: 7.047 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3386, allocations: 0 / 0.5381 GB, free: 7.047 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001164/0.3388, allocations: 43.81 kB / 0.5381 GB, free: 7.027 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004371/0.3392, allocations: 26.61 kB / 0.5382 GB, free: 7.012 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002021/0.3412, allocations: 1.701 MB / 0.5398 GB, free: 5.566 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003948/0.3417, allocations: 0.7155 MB / 0.5405 GB, free: 4.848 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000108/0.3418, allocations: 28.92 kB / 0.5405 GB, free: 4.832 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.43e-05/0.3419, allocations: 38.23 kB / 0.5406 GB, free: 4.801 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3419, allocations: 0 / 0.5406 GB, free: 4.801 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02084/0.3627, allocations: 3.164 MB / 0.5437 GB, free: 3.078 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.493/7.856, allocations: 8.75 kB / 0.5437 GB, free: 3.074 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test30_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test30.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.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,d2_t_new.y Variables in the result:clock.offset,clock.startTime,clock.y,d2_t_new.u,d2_t_new.y,d_t_new.u,d_t_new.y,der(d2_t_new.u),der(d_t_new.u),der(der(t_new.u[1])),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.table[4,1],t_new.table[4,2],t_new.table[5,1],t_new.table[5,2],t_new.table[6,1],t_new.table[6,2],t_new.u[1],t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time