Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001308/0.001308, allocations: 121.7 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001252/0.001253, allocations: 212.8 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.33/1.33, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2243/0.2243, allocations: 46.11 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001534/0.001534, allocations: 79.88 kB / 482 MB, free: 4.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3117/0.3132, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.003902/0.3172, allocations: 2.106 MB / 0.5337 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002573/0.3198, allocations: 1.395 MB / 0.5351 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000247/0.32, allocations: 8.062 kB / 0.5351 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003068/0.3204, allocations: 53.03 kB / 0.5351 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006398/0.321, allocations: 222.5 kB / 0.5354 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001529/0.3226, allocations: 0.6252 MB / 0.536 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000623/0.3232, allocations: 346.5 kB / 0.5363 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002321/0.3235, allocations: 75.67 kB / 0.5364 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003955/0.3239, allocations: 150.5 kB / 0.5365 GB, free: 9.949 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003533/0.3242, allocations: 206.8 kB / 0.5367 GB, free: 9.836 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.441e-05/0.3243, allocations: 14.5 kB / 0.5367 GB, free: 9.836 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002014/0.3245, allocations: 65.47 kB / 0.5368 GB, free: 9.816 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001775/0.3247, allocations: 149 kB / 0.5369 GB, free: 9.734 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001847/0.3249, allocations: 185 kB / 0.5371 GB, free: 9.586 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005351/0.3254, allocations: 422.3 kB / 0.5375 GB, free: 9.324 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.3254, allocations: 0 / 0.5375 GB, free: 9.324 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.3255, allocations: 0 / 0.5375 GB, free: 9.324 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.457e-05/0.3255, allocations: 1.281 kB / 0.5375 GB, free: 9.324 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001268/0.3267, allocations: 0.8073 MB / 0.5383 GB, free: 8.621 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.3268, allocations: 9.469 kB / 0.5383 GB, free: 8.621 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005127/0.3273, allocations: 100.4 kB / 0.5384 GB, free: 8.57 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007029/0.328, allocations: 478.3 kB / 0.5389 GB, free: 8.195 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.328, allocations: 9.344 kB / 0.5389 GB, free: 8.191 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.632e-05/0.3281, allocations: 14.41 kB / 0.5389 GB, free: 8.184 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003718/0.3285, allocations: 167.2 kB / 0.539 GB, free: 8.066 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.3285, allocations: 0.75 kB / 0.539 GB, free: 8.066 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.795e-05/0.3285, allocations: 4.969 kB / 0.539 GB, free: 8.062 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.3285, allocations: 3.469 kB / 0.5391 GB, free: 8.062 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000321/0.3288, allocations: 117.7 kB / 0.5392 GB, free: 8.012 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001145/0.33, allocations: 0.709 MB / 0.5399 GB, free: 7.438 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003147/0.3303, allocations: 135.4 kB / 0.54 GB, free: 7.344 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001751/0.3305, allocations: 69.48 kB / 0.5401 GB, free: 7.301 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.301e-05/0.3306, allocations: 11.45 kB / 0.5401 GB, free: 7.293 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.3306, allocations: 42.5 kB / 0.5401 GB, free: 7.242 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.343e-06/0.3306, allocations: 1.719 kB / 0.5401 GB, free: 7.242 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.002235/0.3328, allocations: 0.7463 MB / 0.5408 GB, free: 6.82 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.3329, allocations: 79.3 kB / 0.5409 GB, free: 6.727 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001154/0.3341, allocations: 0.9115 MB / 0.5418 GB, free: 6.297 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.867e-05/0.3341, allocations: 30.83 kB / 0.5418 GB, free: 6.262 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002048/0.3343, allocations: 261.1 kB / 0.5421 GB, free: 6.031 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.544e-05/0.3344, allocations: 71.17 kB / 0.5421 GB, free: 5.969 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.213e-05/0.3345, allocations: 40.27 kB / 0.5422 GB, free: 5.938 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.3346, allocations: 378.1 kB / 0.5425 GB, free: 5.578 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002994/0.3349, allocations: 110.1 kB / 0.5426 GB, free: 5.527 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003142/0.3353, allocations: 139.5 kB / 0.5428 GB, free: 5.449 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005862/0.3359, allocations: 245.8 kB / 0.543 GB, free: 5.328 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.3359, allocations: 5.062 kB / 0.543 GB, free: 5.324 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0008037/0.3367, allocations: 338.8 kB / 0.5433 GB, free: 5.148 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.3367, allocations: 5.5 kB / 0.5433 GB, free: 5.148 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.3367, allocations: 5.938 kB / 0.5434 GB, free: 5.145 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.3367, allocations: 0 / 0.5434 GB, free: 5.145 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002889/0.337, allocations: 62.44 kB / 0.5434 GB, free: 5.121 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.3371, allocations: 5.109 kB / 0.5434 GB, free: 5.117 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001995/0.3373, allocations: 16.39 kB / 0.5434 GB, free: 5.113 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.257e-05/0.3373, allocations: 12.61 kB / 0.5434 GB, free: 5.105 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (20): * Single equations (assignments): 20 * 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.0002294/0.3375, allocations: 219.1 kB / 0.5437 GB, free: 4.949 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001248/0.3377, allocations: 57.06 kB / 0.5437 GB, free: 4.918 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009023/0.3386, allocations: 402.1 kB / 0.5441 GB, free: 4.699 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.3386, allocations: 1.375 kB / 0.5441 GB, free: 4.699 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3386, allocations: 1.625 kB / 0.5441 GB, free: 4.699 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.3386, allocations: 7.984 kB / 0.5441 GB, free: 4.691 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001477/0.3401, allocations: 0.9511 MB / 0.545 GB, free: 3.715 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.3401, allocations: 3.938 kB / 0.545 GB, free: 3.711 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002534/0.3404, allocations: 51.95 kB / 0.5451 GB, free: 3.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/0.3404, allocations: 4 kB / 0.5451 GB, free: 3.656 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.03e-05/0.3404, allocations: 7.984 kB / 0.5451 GB, free: 3.648 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.59e-06/0.3404, allocations: 7.938 kB / 0.5451 GB, free: 3.641 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.3404, allocations: 0 / 0.5451 GB, free: 3.641 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008503/0.3413, allocations: 0.5018 MB / 0.5456 GB, free: 3.121 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001183/0.3414, allocations: 144.3 kB / 0.5457 GB, free: 2.961 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.083e-05/0.3415, allocations: 4 kB / 0.5457 GB, free: 2.957 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002608/0.3417, allocations: 23.91 kB / 0.5458 GB, free: 2.934 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.143e-05/0.3418, allocations: 23.97 kB / 0.5458 GB, free: 2.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-05/0.3419, allocations: 4 kB / 0.5458 GB, free: 2.906 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007511/0.3426, allocations: 0.663 MB / 0.5464 GB, free: 2.25 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3426, allocations: 0 / 0.5464 GB, free: 2.25 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004049/0.343, allocations: 68 kB / 0.5465 GB, free: 2.184 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 (20): * Single equations (assignments): 20 * 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.0009386/0.344, allocations: 399 kB / 0.5469 GB, free: 1.922 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007008/0.3447, allocations: 267.7 kB / 0.5471 GB, free: 1.66 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3447, allocations: 0 / 0.5471 GB, free: 1.66 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003391/0.3451, allocations: 144.3 kB / 0.5473 GB, free: 1.52 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006114/0.3457, allocations: 88.27 kB / 0.5474 GB, free: 1.438 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/0.3472, allocations: 1.026 MB / 0.5484 GB, free: 384 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004494/0.3476, allocations: 0.8809 MB / 0.5492 GB, free: 15.47 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001569/0.3478, allocations: 47.41 kB / 0.5493 GB, free: 15.42 MB / 414.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3478, allocations: 0 / 0.5493 GB, free: 15.42 MB / 414.1 MB Notification: Performance of Templates: time 0.009937/0.3578, allocations: 6.383 MB / 0.5555 GB, free: 9.047 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches