Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.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.Test23,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test23,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001461/0.001461, allocations: 121.7 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.001838/0.001838, allocations: 199.8 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.538/1.538, 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.2444/0.2444, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001524, allocations: 71.89 kB / 480.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3417/0.3432, allocations: 62.44 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.003315/0.3466, allocations: 1.599 MB / 0.5321 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002051/0.3487, allocations: 1.15 MB / 0.5332 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001096/0.3488, allocations: 3.938 kB / 0.5332 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002615/0.3491, allocations: 26.06 kB / 0.5332 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003752/0.3495, allocations: 80.09 kB / 0.5333 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003353/0.3499, allocations: 98.44 kB / 0.5334 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000186/0.3501, allocations: 61.97 kB / 0.5335 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.3502, allocations: 18.84 kB / 0.5335 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.046e-05/0.3503, allocations: 25.48 kB / 0.5335 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001595/0.3504, allocations: 38.78 kB / 0.5336 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.768e-05/0.3505, allocations: 4.125 kB / 0.5336 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002423/0.3507, allocations: 94.81 kB / 0.5336 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.425e-05/0.3508, allocations: 16.05 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.728e-05/0.3508, allocations: 27.98 kB / 0.5337 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003265/0.3512, allocations: 140.7 kB / 0.5338 GB, free: 10.87 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.3512, allocations: 5.359 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3512, allocations: 0 / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.3512, allocations: 0 / 0.5338 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.000579/0.3518, allocations: 396.5 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.3518, allocations: 9.344 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.67e-05/0.3519, allocations: 35.91 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.699e-05/0.3519, allocations: 8.469 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002305/0.3522, allocations: 193 kB / 0.5344 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.374e-06/0.3522, allocations: 5.281 kB / 0.5344 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.177e-05/0.3522, allocations: 1.5 kB / 0.5344 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001778/0.3524, allocations: 68.08 kB / 0.5345 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.3524, allocations: 1.125 kB / 0.5345 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.3524, allocations: 0 / 0.5345 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.3525, allocations: 0.9688 kB / 0.5345 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.3526, allocations: 24.45 kB / 0.5345 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000404/0.353, allocations: 287.5 kB / 0.5348 GB, free: 9.793 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002217/0.3532, allocations: 39.34 kB / 0.5349 GB, free: 9.762 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.487e-05/0.3533, allocations: 15.59 kB / 0.5349 GB, free: 9.75 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.3533, allocations: 5.188 kB / 0.5349 GB, free: 9.746 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/0.3533, allocations: 36.06 kB / 0.5349 GB, free: 9.703 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.343e-06/0.3534, allocations: 0 / 0.5349 GB, free: 9.703 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006468/0.354, allocations: 140.7 kB / 0.535 GB, free: 9.617 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.882e-05/0.3541, allocations: 78.2 kB / 0.5351 GB, free: 9.523 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001881/0.3543, allocations: 144.5 kB / 0.5353 GB, free: 9.402 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.102e-05/0.3543, allocations: 31.16 kB / 0.5353 GB, free: 9.367 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.575e-05/0.3544, allocations: 94.89 kB / 0.5354 GB, free: 9.273 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.591e-05/0.3544, allocations: 26.42 kB / 0.5354 GB, free: 9.25 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-05/0.3545, allocations: 17.8 kB / 0.5354 GB, free: 9.23 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.3546, allocations: 320.1 kB / 0.5357 GB, free: 8.91 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.614e-05/0.3547, allocations: 19.3 kB / 0.5357 GB, free: 8.902 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.215e-05/0.3548, allocations: 38.12 kB / 0.5358 GB, free: 8.871 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001367/0.355, allocations: 52.28 kB / 0.5358 GB, free: 8.84 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.355, allocations: 0 / 0.5358 GB, free: 8.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002194/0.3552, allocations: 84.5 kB / 0.5359 GB, free: 8.781 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.3552, allocations: 5.562 kB / 0.5359 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.3552, allocations: 0 / 0.5359 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.3553, allocations: 1.094 kB / 0.5359 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.209e-05/0.3554, allocations: 13.3 kB / 0.5359 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.3554, allocations: 5.031 kB / 0.5359 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.671e-05/0.3554, allocations: 11.75 kB / 0.5359 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.3554, allocations: 1 kB / 0.5359 GB, free: 8.766 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.0001131/0.3556, allocations: 114.2 kB / 0.536 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.669e-05/0.3556, allocations: 11.12 kB / 0.5361 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002685/0.3559, allocations: 89.36 kB / 0.5361 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.3559, allocations: 0 / 0.5361 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.3559, allocations: 1.312 kB / 0.5361 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.3559, allocations: 7.938 kB / 0.5362 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005099/0.3564, allocations: 346.2 kB / 0.5365 GB, free: 8.215 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.3565, allocations: 1.375 kB / 0.5365 GB, free: 8.215 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.652e-05/0.3565, allocations: 16.83 kB / 0.5365 GB, free: 8.207 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.3566, allocations: 1.5 kB / 0.5365 GB, free: 8.207 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.3566, allocations: 3.938 kB / 0.5365 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.3566, allocations: 192 / 0.5365 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.3566, allocations: 5.125 kB / 0.5365 GB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002715/0.3569, allocations: 184.1 kB / 0.5367 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.556e-05/0.3569, allocations: 82.48 kB / 0.5368 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.421e-05/0.357, allocations: 5.312 kB / 0.5368 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.051e-05/0.3571, allocations: 6.734 kB / 0.5368 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.388e-05/0.3571, allocations: 2.75 kB / 0.5368 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.281e-06/0.3571, allocations: 1.375 kB / 0.5368 GB, free: 7.93 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001083/0.3572, allocations: 122.4 kB / 0.5369 GB, free: 7.828 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3572, allocations: 0 / 0.5369 GB, free: 7.828 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003165/0.3576, allocations: 31.38 kB / 0.5369 GB, free: 7.82 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.001644/0.3592, allocations: 1.099 MB / 0.538 GB, free: 6.965 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002387/0.3595, allocations: 52.16 kB / 0.5381 GB, free: 6.941 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3595, allocations: 0 / 0.5381 GB, free: 6.941 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.543e-05/0.3596, allocations: 23.98 kB / 0.5381 GB, free: 6.934 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000381/0.36, allocations: 26.17 kB / 0.5381 GB, free: 6.918 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001923/0.3619, allocations: 1.423 MB / 0.5395 GB, free: 5.602 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003083/0.3622, allocations: 0.6929 MB / 0.5402 GB, free: 4.895 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.374e-05/0.3623, allocations: 23.97 kB / 0.5402 GB, free: 4.879 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.047e-05/0.3624, allocations: 26.17 kB / 0.5402 GB, free: 4.863 MB / 398.1 MB Notification: Performance of SimCode: time 1.192e-06/0.3624, allocations: 0 / 0.5402 GB, free: 4.863 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0256/0.388, allocations: 3.22 MB / 0.5434 GB, free: 3.012 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.031/8.419, allocations: 9.125 kB / 0.5434 GB, free: 3.004 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test23_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test23.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.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.u,t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time