Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.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.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test24",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001096/0.001096, allocations: 122.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001189/0.001189, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.354/1.354, 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.2372/0.2372, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001525/0.001525, allocations: 83.86 kB / 480.8 MB, free: 4.559 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3436/0.3452, allocations: 62.44 MB / 0.5305 GB, free: 13.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test24): time 0.003061/0.3483, allocations: 1.599 MB / 0.5321 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001728/0.35, allocations: 1.157 MB / 0.5332 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.63e-05/0.3501, allocations: 0 / 0.5332 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002377/0.3504, allocations: 29.42 kB / 0.5332 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003081/0.3507, allocations: 81.31 kB / 0.5333 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002729/0.351, allocations: 90.45 kB / 0.5334 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001497/0.3512, allocations: 66.58 kB / 0.5335 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.3513, allocations: 18.73 kB / 0.5335 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.345e-05/0.3513, allocations: 25.7 kB / 0.5335 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001558/0.3515, allocations: 39.05 kB / 0.5336 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.3515, allocations: 3.406 kB / 0.5336 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001729/0.3517, allocations: 95.67 kB / 0.5336 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.041e-05/0.3518, allocations: 19.44 kB / 0.5337 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.95e-05/0.3518, allocations: 20.59 kB / 0.5337 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002587/0.3521, allocations: 141 kB / 0.5338 GB, free: 10.77 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3521, allocations: 0 / 0.5338 GB, free: 10.77 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3521, allocations: 0 / 0.5338 GB, free: 10.77 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.3521, allocations: 0 / 0.5338 GB, free: 10.77 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.0005248/0.3526, allocations: 408.1 kB / 0.5342 GB, free: 10.35 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.3527, allocations: 10.5 kB / 0.5342 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.952e-05/0.3527, allocations: 30.75 kB / 0.5342 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.942e-05/0.3528, allocations: 8.75 kB / 0.5343 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002324/0.353, allocations: 193.4 kB / 0.5344 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.353, allocations: 5.766 kB / 0.5344 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.142e-05/0.3531, allocations: 6.25 kB / 0.5345 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/0.3532, allocations: 63.22 kB / 0.5345 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.3533, allocations: 0 / 0.5345 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.3533, allocations: 1.562 kB / 0.5345 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.3533, allocations: 7.922 kB / 0.5345 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.29e-05/0.3534, allocations: 28.81 kB / 0.5346 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003723/0.3538, allocations: 274.8 kB / 0.5348 GB, free: 9.691 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002085/0.354, allocations: 44.88 kB / 0.5349 GB, free: 9.656 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.556e-05/0.3541, allocations: 23 kB / 0.5349 GB, free: 9.637 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.3541, allocations: 1.344 kB / 0.5349 GB, free: 9.637 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.3541, allocations: 30.56 kB / 0.5349 GB, free: 9.598 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.3541, allocations: 1.562 kB / 0.5349 GB, free: 9.598 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005705/0.3547, allocations: 139.8 kB / 0.535 GB, free: 9.512 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.842e-05/0.3548, allocations: 78.48 kB / 0.5351 GB, free: 9.418 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001555/0.3549, allocations: 149.2 kB / 0.5353 GB, free: 9.293 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.355, allocations: 25.7 kB / 0.5353 GB, free: 9.262 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.443e-05/0.355, allocations: 94.88 kB / 0.5354 GB, free: 9.168 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.555e-05/0.355, allocations: 26.39 kB / 0.5354 GB, free: 9.145 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.782e-05/0.3551, allocations: 17.84 kB / 0.5354 GB, free: 9.125 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.3552, allocations: 321.5 kB / 0.5357 GB, free: 8.805 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.943e-05/0.3553, allocations: 21.61 kB / 0.5357 GB, free: 8.793 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.303e-05/0.3554, allocations: 31.45 kB / 0.5358 GB, free: 8.77 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/0.3555, allocations: 52.39 kB / 0.5358 GB, free: 8.738 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.3555, allocations: 0 / 0.5358 GB, free: 8.738 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001846/0.3557, allocations: 79.8 kB / 0.5359 GB, free: 8.684 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.3557, allocations: 9.5 kB / 0.5359 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.3558, allocations: 1.375 kB / 0.5359 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.3558, allocations: 0 / 0.5359 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.609e-05/0.3558, allocations: 13.61 kB / 0.5359 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.3559, allocations: 1.375 kB / 0.5359 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.811e-05/0.3559, allocations: 6.688 kB / 0.5359 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.3559, allocations: 5.375 kB / 0.5359 GB, free: 8.668 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.274e-05/0.356, allocations: 118 kB / 0.536 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.573e-05/0.3561, allocations: 12.03 kB / 0.5361 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002367/0.3563, allocations: 88.16 kB / 0.5361 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/0.3563, allocations: 1.375 kB / 0.5361 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.3563, allocations: 0 / 0.5361 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.3564, allocations: 3.938 kB / 0.5361 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004232/0.3568, allocations: 342.6 kB / 0.5365 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.3568, allocations: 9.359 kB / 0.5365 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.666e-05/0.3569, allocations: 21.44 kB / 0.5365 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.3569, allocations: 0 / 0.5365 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.3569, allocations: 5.312 kB / 0.5365 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.3569, allocations: 0 / 0.5365 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3569, allocations: 0 / 0.5365 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002198/0.3571, allocations: 180.6 kB / 0.5367 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.346e-05/0.3572, allocations: 86.48 kB / 0.5368 GB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/0.3572, allocations: 5.062 kB / 0.5368 GB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.557e-05/0.3573, allocations: 7.047 kB / 0.5368 GB, free: 7.828 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.976e-05/0.3573, allocations: 2.156 kB / 0.5368 GB, free: 7.828 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.3573, allocations: 2.094 kB / 0.5368 GB, free: 7.828 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001004/0.3574, allocations: 117.6 kB / 0.5369 GB, free: 7.73 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3575, allocations: 1.062 kB / 0.5369 GB, free: 7.73 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003017/0.3578, allocations: 35.55 kB / 0.5369 GB, free: 7.719 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.001611/0.3594, allocations: 1.098 MB / 0.538 GB, free: 6.867 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002183/0.3596, allocations: 48.28 kB / 0.538 GB, free: 6.848 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.3596, allocations: 3.938 kB / 0.5381 GB, free: 6.844 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.832e-05/0.3597, allocations: 27.73 kB / 0.5381 GB, free: 6.832 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003603/0.3601, allocations: 22.86 kB / 0.5381 GB, free: 6.816 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001748/0.3618, allocations: 1.419 MB / 0.5395 GB, free: 5.508 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002842/0.3621, allocations: 0.6925 MB / 0.5402 GB, free: 4.801 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.448e-05/0.3622, allocations: 23.12 kB / 0.5402 GB, free: 4.785 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.237e-05/0.3623, allocations: 31.02 kB / 0.5402 GB, free: 4.766 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3623, allocations: 0 / 0.5402 GB, free: 4.766 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02402/0.3863, allocations: 3.232 MB / 0.5434 GB, free: 2.902 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.521/7.908, allocations: 5.219 kB / 0.5434 GB, free: 2.898 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test24_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test24.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.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