Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.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.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001464/0.001465, allocations: 115.7 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001928/0.001928, allocations: 217.9 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.341/1.341, allocations: 227.4 MB / 247.6 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.2018/0.2018, allocations: 46.11 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 75.88 kB / 482 MB, free: 4.043 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3032/0.3046, allocations: 62.44 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.003825/0.3085, allocations: 1.619 MB / 0.5333 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001317/0.3098, allocations: 0.5375 MB / 0.5338 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.181e-05/0.3099, allocations: 1.375 kB / 0.5338 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003403/0.3102, allocations: 77.95 kB / 0.5339 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003514/0.3106, allocations: 92.78 kB / 0.5339 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003397/0.3109, allocations: 107.4 kB / 0.5341 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002474/0.3112, allocations: 82.03 kB / 0.5341 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.3113, allocations: 15.98 kB / 0.5341 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.871e-05/0.3114, allocations: 30.72 kB / 0.5342 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001336/0.3116, allocations: 51.64 kB / 0.5342 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.067e-05/0.3116, allocations: 3.594 kB / 0.5342 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000138/0.3117, allocations: 48.97 kB / 0.5343 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.621e-05/0.3118, allocations: 18.31 kB / 0.5343 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.674e-05/0.3119, allocations: 38.05 kB / 0.5343 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002728/0.3122, allocations: 95.8 kB / 0.5344 GB, free: 11.51 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.3122, allocations: 1.094 kB / 0.5344 GB, free: 11.51 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3122, allocations: 0 / 0.5344 GB, free: 11.51 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.3122, allocations: 0 / 0.5344 GB, free: 11.51 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.0005716/0.3128, allocations: 412.7 kB / 0.5348 GB, free: 11.09 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.337e-05/0.3129, allocations: 9.438 kB / 0.5348 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.206e-05/0.3129, allocations: 17.16 kB / 0.5348 GB, free: 11.08 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000232/0.3132, allocations: 203.1 kB / 0.535 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.3132, allocations: 5.438 kB / 0.535 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.506e-05/0.3132, allocations: 7.625 kB / 0.535 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.3134, allocations: 50.44 kB / 0.5351 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.3134, allocations: 3.984 kB / 0.5351 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.3135, allocations: 5.188 kB / 0.5351 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.3135, allocations: 1.188 kB / 0.5351 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001324/0.3136, allocations: 26.78 kB / 0.5351 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004983/0.3141, allocations: 298.1 kB / 0.5354 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001485/0.3143, allocations: 42.31 kB / 0.5355 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.764e-05/0.3144, allocations: 16.44 kB / 0.5355 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.3144, allocations: 1.094 kB / 0.5355 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.3144, allocations: 39.69 kB / 0.5355 GB, free: 10.38 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.483e-06/0.3145, allocations: 0 / 0.5355 GB, free: 10.38 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.001225/0.3157, allocations: 217.6 kB / 0.5357 GB, free: 10.26 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/0.3157, allocations: 52.53 kB / 0.5358 GB, free: 10.2 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003013/0.3161, allocations: 220.2 kB / 0.536 GB, free: 10.03 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.3161, allocations: 25.7 kB / 0.536 GB, free: 9.996 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.17e-05/0.3162, allocations: 105.6 kB / 0.5361 GB, free: 9.895 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.954e-05/0.3162, allocations: 27.67 kB / 0.5361 GB, free: 9.871 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.493e-05/0.3163, allocations: 27.16 kB / 0.5362 GB, free: 9.844 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.3165, allocations: 323 kB / 0.5365 GB, free: 9.523 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001164/0.3166, allocations: 20.36 kB / 0.5365 GB, free: 9.516 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.3167, allocations: 31.09 kB / 0.5365 GB, free: 9.5 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000311/0.317, allocations: 68.67 kB / 0.5366 GB, free: 9.461 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.317, allocations: 0 / 0.5366 GB, free: 9.461 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003213/0.3174, allocations: 95.34 kB / 0.5367 GB, free: 9.402 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.3174, allocations: 5.031 kB / 0.5367 GB, free: 9.402 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.3174, allocations: 1.344 kB / 0.5367 GB, free: 9.402 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.3174, allocations: 3.938 kB / 0.5367 GB, free: 9.398 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001484/0.3176, allocations: 18.64 kB / 0.5367 GB, free: 9.395 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.3176, allocations: 4 kB / 0.5367 GB, free: 9.391 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.587e-05/0.3177, allocations: 15.8 kB / 0.5367 GB, free: 9.379 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.3177, allocations: 1.281 kB / 0.5367 GB, free: 9.379 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.0001356/0.3179, allocations: 119.1 kB / 0.5368 GB, free: 9.262 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.309e-05/0.318, allocations: 13.75 kB / 0.5368 GB, free: 9.254 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003808/0.3183, allocations: 119.6 kB / 0.537 GB, free: 9.168 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.3184, allocations: 5.031 kB / 0.537 GB, free: 9.164 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.3184, allocations: 0 / 0.537 GB, free: 9.164 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/0.3184, allocations: 3.938 kB / 0.537 GB, free: 9.16 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008003/0.3192, allocations: 402.8 kB / 0.5373 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.3192, allocations: 3.984 kB / 0.5373 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.9e-05/0.3193, allocations: 14.16 kB / 0.5374 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/0.3193, allocations: 4.969 kB / 0.5374 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/0.3194, allocations: 9.141 kB / 0.5374 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.3194, allocations: 1.031 kB / 0.5374 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.3194, allocations: 1.125 kB / 0.5374 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003904/0.3198, allocations: 207.4 kB / 0.5376 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.12e-05/0.3198, allocations: 88.7 kB / 0.5377 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.396e-05/0.3199, allocations: 1.156 kB / 0.5377 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/0.32, allocations: 7.281 kB / 0.5377 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.749e-05/0.3201, allocations: 11.81 kB / 0.5377 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.3201, allocations: 2.656 kB / 0.5377 GB, free: 8.465 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001666/0.3202, allocations: 154.1 kB / 0.5378 GB, free: 8.359 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.853e-06/0.3203, allocations: 0 / 0.5378 GB, free: 8.359 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000447/0.3207, allocations: 22 kB / 0.5379 GB, free: 8.352 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.001608/0.3223, allocations: 453.4 kB / 0.5383 GB, free: 8.121 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003437/0.3227, allocations: 70.47 kB / 0.5384 GB, free: 8.09 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.3227, allocations: 1.156 kB / 0.5384 GB, free: 8.09 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001385/0.3229, allocations: 40.73 kB / 0.5384 GB, free: 8.07 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000535/0.3234, allocations: 19.7 kB / 0.5384 GB, free: 8.062 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000695/0.3241, allocations: 270.7 kB / 0.5387 GB, free: 7.836 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003315/0.3245, allocations: 0.7141 MB / 0.5394 GB, free: 7.117 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.147e-05/0.3245, allocations: 17.84 kB / 0.5394 GB, free: 7.109 MB / 398.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3245, allocations: 4.062 kB / 0.5394 GB, free: 7.105 MB / 398.1 MB Notification: Performance of Templates: time 0.004781/0.3293, allocations: 1.728 MB / 0.5411 GB, free: 6.211 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches