Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.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.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001769/0.001769, allocations: 118.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001998/0.001998, allocations: 197.2 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.393/1.393, allocations: 227.4 MB / 246.9 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.214/0.214, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001626/0.001626, allocations: 76.09 kB / 480.8 MB, free: 4.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3333/0.3349, allocations: 62.43 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.002842/0.3378, allocations: 1.607 MB / 0.5321 GB, free: 12.17 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001606/0.3395, allocations: 1.159 MB / 0.5332 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.395e-05/0.3395, allocations: 1.781 kB / 0.5332 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002151/0.3398, allocations: 23.44 kB / 0.5333 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002568/0.34, allocations: 82.5 kB / 0.5333 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002919/0.3403, allocations: 113.6 kB / 0.5334 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000145/0.3405, allocations: 66.52 kB / 0.5335 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.3406, allocations: 23.38 kB / 0.5335 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.337e-05/0.3407, allocations: 21.67 kB / 0.5335 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001472/0.3408, allocations: 39.73 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/0.3409, allocations: 2.75 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001679/0.341, allocations: 100.1 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.575e-05/0.3411, allocations: 14.67 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.785e-05/0.3411, allocations: 21.36 kB / 0.5337 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002481/0.3414, allocations: 140.8 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.3414, allocations: 1.375 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3414, allocations: 0 / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.337e-06/0.3414, allocations: 4 kB / 0.5339 GB, free: 10.86 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.0004839/0.3419, allocations: 403.8 kB / 0.5342 GB, free: 10.44 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.342, allocations: 9.625 kB / 0.5342 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.417e-05/0.342, allocations: 32.12 kB / 0.5343 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.486e-05/0.342, allocations: 7.594 kB / 0.5343 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001893/0.3422, allocations: 197.8 kB / 0.5345 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.317e-06/0.3423, allocations: 1.75 kB / 0.5345 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.091e-05/0.3423, allocations: 1.75 kB / 0.5345 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.3424, allocations: 73.08 kB / 0.5345 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.3425, allocations: 0 / 0.5345 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.3425, allocations: 9.297 kB / 0.5346 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.3425, allocations: 3.938 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.711e-05/0.3426, allocations: 21.73 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003715/0.343, allocations: 280.3 kB / 0.5348 GB, free: 9.785 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001947/0.3432, allocations: 48.44 kB / 0.5349 GB, free: 9.746 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.952e-05/0.3433, allocations: 21.12 kB / 0.5349 GB, free: 9.73 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.3433, allocations: 0 / 0.5349 GB, free: 9.73 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.3433, allocations: 35.94 kB / 0.5349 GB, free: 9.688 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.3433, allocations: 0 / 0.5349 GB, free: 9.688 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005378/0.3439, allocations: 153.9 kB / 0.5351 GB, free: 9.594 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.618e-05/0.3439, allocations: 78.48 kB / 0.5352 GB, free: 9.5 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.3441, allocations: 150.5 kB / 0.5353 GB, free: 9.371 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.3441, allocations: 25.7 kB / 0.5353 GB, free: 9.34 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.552e-05/0.3442, allocations: 92.11 kB / 0.5354 GB, free: 9.25 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.304e-05/0.3442, allocations: 21.02 kB / 0.5354 GB, free: 9.23 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.525e-05/0.3442, allocations: 19.03 kB / 0.5355 GB, free: 9.211 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.3444, allocations: 329.2 kB / 0.5358 GB, free: 8.883 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.369e-05/0.3445, allocations: 19.67 kB / 0.5358 GB, free: 8.875 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.394e-05/0.3446, allocations: 32.11 kB / 0.5358 GB, free: 8.852 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001349/0.3447, allocations: 51.45 kB / 0.5359 GB, free: 8.824 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.3447, allocations: 0 / 0.5359 GB, free: 8.824 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001881/0.3449, allocations: 95.28 kB / 0.536 GB, free: 8.758 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.3449, allocations: 8.906 kB / 0.536 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.3449, allocations: 1.094 kB / 0.536 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.345, allocations: 0 / 0.536 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.784e-05/0.345, allocations: 14.52 kB / 0.536 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.89e-06/0.3451, allocations: 0 / 0.536 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.913e-05/0.3451, allocations: 8.094 kB / 0.536 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.024e-06/0.3451, allocations: 1.375 kB / 0.536 GB, free: 8.746 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 0.0001027/0.3452, allocations: 121.3 kB / 0.5361 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.707e-05/0.3453, allocations: 8.656 kB / 0.5361 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002416/0.3455, allocations: 95.56 kB / 0.5362 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.3455, allocations: 5.172 kB / 0.5362 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.3455, allocations: 0 / 0.5362 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.3455, allocations: 3.938 kB / 0.5362 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004446/0.346, allocations: 360 kB / 0.5366 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.346, allocations: 9.062 kB / 0.5366 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.644e-05/0.3461, allocations: 13.06 kB / 0.5366 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.3461, allocations: 1.062 kB / 0.5366 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.547e-06/0.3461, allocations: 3.938 kB / 0.5366 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.3461, allocations: 5.078 kB / 0.5366 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3461, allocations: 0 / 0.5366 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002353/0.3464, allocations: 179.4 kB / 0.5368 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.523e-05/0.3464, allocations: 86.22 kB / 0.5369 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.221e-05/0.3464, allocations: 5.094 kB / 0.5369 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.407e-05/0.3465, allocations: 3.531 kB / 0.5369 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.708e-05/0.3466, allocations: 6.359 kB / 0.5369 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.94e-06/0.3466, allocations: 1.188 kB / 0.5369 GB, free: 7.895 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001004/0.3467, allocations: 116.8 kB / 0.537 GB, free: 7.801 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3467, allocations: 0 / 0.537 GB, free: 7.801 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003146/0.347, allocations: 40.14 kB / 0.537 GB, free: 7.785 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.001804/0.3488, allocations: 1.11 MB / 0.5381 GB, free: 6.922 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002509/0.3491, allocations: 54.91 kB / 0.5382 GB, free: 6.898 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3491, allocations: 0 / 0.5382 GB, free: 6.898 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001101/0.3492, allocations: 37.03 kB / 0.5382 GB, free: 6.879 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003888/0.3496, allocations: 22.2 kB / 0.5382 GB, free: 6.871 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001877/0.3515, allocations: 1.447 MB / 0.5396 GB, free: 5.543 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003016/0.3518, allocations: 0.6971 MB / 0.5403 GB, free: 4.832 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.755e-05/0.3519, allocations: 31.16 kB / 0.5403 GB, free: 4.812 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.507e-05/0.352, allocations: 33.55 kB / 0.5404 GB, free: 4.789 MB / 398.1 MB Notification: Performance of SimCode: time 6.21e-07/0.352, allocations: 0 / 0.5404 GB, free: 4.789 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02317/0.3752, allocations: 3.243 MB / 0.5435 GB, free: 2.93 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.671/8.046, allocations: 9.016 kB / 0.5435 GB, free: 2.926 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test20_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test20.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.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