Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001194/0.001194, allocations: 116.2 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001124/0.001125, allocations: 210 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.462/1.462, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2128/0.2128, allocations: 46.11 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 79.86 kB / 482 MB, free: 4.031 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3155/0.317, allocations: 62.44 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test24): time 0.003064/0.3201, allocations: 1.599 MB / 0.5332 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00181/0.3219, allocations: 1.158 MB / 0.5344 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.653e-05/0.322, allocations: 9 kB / 0.5344 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002213/0.3223, allocations: 29.31 kB / 0.5344 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000279/0.3226, allocations: 81.28 kB / 0.5345 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003528/0.3229, allocations: 109.6 kB / 0.5346 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001856/0.3231, allocations: 67.47 kB / 0.5346 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.109e-05/0.3232, allocations: 14.78 kB / 0.5347 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.493e-05/0.3233, allocations: 25.73 kB / 0.5347 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001479/0.3235, allocations: 42.95 kB / 0.5347 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.959e-05/0.3235, allocations: 4.625 kB / 0.5347 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001724/0.3237, allocations: 90.5 kB / 0.5348 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.125e-05/0.3237, allocations: 15.45 kB / 0.5348 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.058e-05/0.3238, allocations: 25.67 kB / 0.5349 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002533/0.3241, allocations: 143.2 kB / 0.535 GB, free: 11.03 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.3241, allocations: 0 / 0.535 GB, free: 11.03 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3241, allocations: 0 / 0.535 GB, free: 11.03 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.3241, allocations: 0 / 0.535 GB, free: 11.03 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.0005679/0.3247, allocations: 400.7 kB / 0.5354 GB, free: 10.62 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.3247, allocations: 9.219 kB / 0.5354 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.616e-05/0.3248, allocations: 12.28 kB / 0.5354 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001994/0.325, allocations: 191.1 kB / 0.5356 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.325, allocations: 1.469 kB / 0.5356 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.063e-05/0.3251, allocations: 2.562 kB / 0.5356 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.3252, allocations: 68.56 kB / 0.5356 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.3252, allocations: 7.984 kB / 0.5357 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.3253, allocations: 1 kB / 0.5357 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.3253, allocations: 3.938 kB / 0.5357 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001053/0.3254, allocations: 26.22 kB / 0.5357 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004012/0.3258, allocations: 288.2 kB / 0.536 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002894/0.3261, allocations: 52.16 kB / 0.536 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.396e-05/0.3262, allocations: 21.19 kB / 0.536 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.3262, allocations: 0 / 0.536 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/0.3262, allocations: 31.94 kB / 0.5361 GB, free: 9.898 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.3262, allocations: 0 / 0.5361 GB, free: 9.898 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005949/0.3268, allocations: 153.9 kB / 0.5362 GB, free: 9.805 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.938e-05/0.3269, allocations: 78.48 kB / 0.5363 GB, free: 9.711 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001455/0.327, allocations: 144.9 kB / 0.5364 GB, free: 9.59 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.3271, allocations: 25.7 kB / 0.5364 GB, free: 9.559 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.146e-05/0.3271, allocations: 94.88 kB / 0.5365 GB, free: 9.465 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.109e-05/0.3272, allocations: 18.41 kB / 0.5366 GB, free: 9.449 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.921e-05/0.3272, allocations: 23.2 kB / 0.5366 GB, free: 9.426 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.3274, allocations: 320.2 kB / 0.5369 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.256e-05/0.3275, allocations: 24.36 kB / 0.5369 GB, free: 9.094 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.993e-05/0.3275, allocations: 39.38 kB / 0.5369 GB, free: 9.062 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/0.3277, allocations: 56.3 kB / 0.537 GB, free: 9.031 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.3277, allocations: 0 / 0.537 GB, free: 9.031 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001998/0.3279, allocations: 83.72 kB / 0.5371 GB, free: 8.977 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.328, allocations: 9.438 kB / 0.5371 GB, free: 8.973 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.328, allocations: 0 / 0.5371 GB, free: 8.973 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.328, allocations: 0 / 0.5371 GB, free: 8.973 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.712e-05/0.3281, allocations: 14.23 kB / 0.5371 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.3281, allocations: 0 / 0.5371 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.832e-05/0.3281, allocations: 8.125 kB / 0.5371 GB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.3282, allocations: 4.969 kB / 0.5371 GB, free: 8.961 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.468e-05/0.3282, allocations: 118.1 kB / 0.5372 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.787e-05/0.3283, allocations: 7.391 kB / 0.5372 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002564/0.3285, allocations: 100.7 kB / 0.5373 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.3286, allocations: 1.156 kB / 0.5373 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.194e-05/0.3286, allocations: 0 / 0.5373 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/0.3286, allocations: 0 / 0.5373 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004736/0.3291, allocations: 363.2 kB / 0.5377 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-06/0.3291, allocations: 1 kB / 0.5377 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.945e-05/0.3292, allocations: 17.55 kB / 0.5377 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.648e-06/0.3292, allocations: 1.062 kB / 0.5377 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.3292, allocations: 3.938 kB / 0.5377 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.3292, allocations: 5.188 kB / 0.5377 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.3292, allocations: 4 kB / 0.5377 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002623/0.3295, allocations: 186.9 kB / 0.5379 GB, free: 8.215 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.477e-05/0.3295, allocations: 83.23 kB / 0.538 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.515e-05/0.3296, allocations: 9.203 kB / 0.538 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.679e-05/0.3296, allocations: 6.469 kB / 0.538 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.495e-05/0.3297, allocations: 2.656 kB / 0.538 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.98e-06/0.3297, allocations: 1.25 kB / 0.538 GB, free: 8.105 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001071/0.3298, allocations: 114.5 kB / 0.5381 GB, free: 8.012 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3298, allocations: 0 / 0.5381 GB, free: 8.012 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003281/0.3302, allocations: 44.05 kB / 0.5381 GB, free: 7.992 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.001148/0.3313, allocations: 491.9 kB / 0.5386 GB, free: 7.738 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002505/0.3316, allocations: 54.58 kB / 0.5387 GB, free: 7.715 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3316, allocations: 0 / 0.5387 GB, free: 7.715 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.084e-05/0.3317, allocations: 29.14 kB / 0.5387 GB, free: 7.703 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003416/0.3321, allocations: 25.84 kB / 0.5387 GB, free: 7.695 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004667/0.3325, allocations: 199.4 kB / 0.5389 GB, free: 7.516 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002727/0.3328, allocations: 0.6972 MB / 0.5396 GB, free: 6.805 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.42e-05/0.3329, allocations: 19.17 kB / 0.5396 GB, free: 6.797 MB / 398.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3329, allocations: 3.938 kB / 0.5396 GB, free: 6.793 MB / 398.1 MB Notification: Performance of Templates: time 0.004574/0.3375, allocations: 1.967 MB / 0.5415 GB, free: 5.777 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches