Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00111/0.00111, allocations: 117.7 kB / 18.46 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.001318/0.001318, allocations: 204.8 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.4/1.4, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2063/0.2063, allocations: 46.1 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 79.83 kB / 482 MB, free: 4.055 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.294/0.2955, allocations: 62.43 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.003359/0.2989, allocations: 2.101 MB / 0.5337 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001984/0.3009, allocations: 1.29 MB / 0.535 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.53e-05/0.301, allocations: 3.531 kB / 0.535 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000239/0.3012, allocations: 51.8 kB / 0.535 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004715/0.3017, allocations: 215.6 kB / 0.5352 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009155/0.3026, allocations: 457 kB / 0.5357 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003933/0.303, allocations: 328 kB / 0.536 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001459/0.3032, allocations: 60.17 kB / 0.536 GB, free: 10.26 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002682/0.3035, allocations: 143.9 kB / 0.5362 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002951/0.3038, allocations: 202.8 kB / 0.5364 GB, free: 10.06 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.141e-05/0.3038, allocations: 15.62 kB / 0.5364 GB, free: 10.06 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001387/0.304, allocations: 69.25 kB / 0.5365 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001559/0.3041, allocations: 148.1 kB / 0.5366 GB, free: 9.953 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001762/0.3043, allocations: 171.7 kB / 0.5368 GB, free: 9.816 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004446/0.3048, allocations: 414.2 kB / 0.5372 GB, free: 9.555 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3048, allocations: 0 / 0.5372 GB, free: 9.555 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3048, allocations: 7.875 kB / 0.5372 GB, free: 9.547 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.3048, allocations: 1.188 kB / 0.5372 GB, free: 9.547 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.001016/0.3058, allocations: 0.7979 MB / 0.5379 GB, free: 8.852 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.958e-05/0.3059, allocations: 10.59 kB / 0.538 GB, free: 8.852 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004626/0.3063, allocations: 96.86 kB / 0.538 GB, free: 8.805 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006089/0.3069, allocations: 473.5 kB / 0.5385 GB, free: 8.43 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/0.307, allocations: 8.031 kB / 0.5385 GB, free: 8.426 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.307e-05/0.3071, allocations: 23.03 kB / 0.5385 GB, free: 8.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002997/0.3074, allocations: 141.9 kB / 0.5387 GB, free: 8.309 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.3074, allocations: 1.188 kB / 0.5387 GB, free: 8.309 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.186e-05/0.3074, allocations: 5.094 kB / 0.5387 GB, free: 8.305 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.874e-05/0.3074, allocations: 2.281 kB / 0.5387 GB, free: 8.305 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000294/0.3077, allocations: 101.1 kB / 0.5388 GB, free: 8.262 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009174/0.3087, allocations: 0.67 MB / 0.5394 GB, free: 7.703 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000305/0.309, allocations: 130 kB / 0.5395 GB, free: 7.609 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001474/0.3091, allocations: 62.7 kB / 0.5396 GB, free: 7.57 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.402e-05/0.3092, allocations: 6.734 kB / 0.5396 GB, free: 7.566 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.3092, allocations: 35.69 kB / 0.5396 GB, free: 7.523 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.252e-06/0.3092, allocations: 0 / 0.5396 GB, free: 7.523 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.002013/0.3112, allocations: 0.6828 MB / 0.5403 GB, free: 7.133 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.3113, allocations: 79.86 kB / 0.5404 GB, free: 7.039 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001044/0.3123, allocations: 0.8943 MB / 0.5413 GB, free: 6.621 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.189e-05/0.3124, allocations: 30.8 kB / 0.5413 GB, free: 6.586 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000187/0.3126, allocations: 260.8 kB / 0.5415 GB, free: 6.355 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.851e-05/0.3127, allocations: 75.12 kB / 0.5416 GB, free: 6.289 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.396e-05/0.3128, allocations: 38.73 kB / 0.5417 GB, free: 6.258 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.3129, allocations: 381.7 kB / 0.542 GB, free: 5.895 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002558/0.3132, allocations: 92.89 kB / 0.5421 GB, free: 5.852 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002871/0.3135, allocations: 104 kB / 0.5422 GB, free: 5.797 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005328/0.314, allocations: 217.2 kB / 0.5424 GB, free: 5.684 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3141, allocations: 1.094 kB / 0.5424 GB, free: 5.684 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007578/0.3148, allocations: 296.2 kB / 0.5427 GB, free: 5.531 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.3148, allocations: 5.594 kB / 0.5427 GB, free: 5.531 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.3149, allocations: 0 / 0.5427 GB, free: 5.531 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.3149, allocations: 2.312 kB / 0.5427 GB, free: 5.531 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003041/0.3152, allocations: 58.44 kB / 0.5428 GB, free: 5.512 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.3152, allocations: 1.344 kB / 0.5428 GB, free: 5.512 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000188/0.3154, allocations: 23.48 kB / 0.5428 GB, free: 5.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.931e-05/0.3154, allocations: 8.453 kB / 0.5428 GB, free: 5.496 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.0002514/0.3157, allocations: 218.6 kB / 0.543 GB, free: 5.336 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/0.3158, allocations: 57.91 kB / 0.5431 GB, free: 5.305 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008654/0.3167, allocations: 357.2 kB / 0.5434 GB, free: 5.105 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.3167, allocations: 2.875 kB / 0.5434 GB, free: 5.105 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.3167, allocations: 0.875 kB / 0.5434 GB, free: 5.105 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.3167, allocations: 5.312 kB / 0.5434 GB, free: 5.102 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001475/0.3182, allocations: 0.884 MB / 0.5443 GB, free: 4.414 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.3182, allocations: 0 / 0.5443 GB, free: 4.414 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002468/0.3184, allocations: 50.2 kB / 0.5443 GB, free: 4.402 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.3185, allocations: 1.375 kB / 0.5443 GB, free: 4.402 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.027e-05/0.3185, allocations: 10.64 kB / 0.5443 GB, free: 4.395 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.3185, allocations: 5 kB / 0.5443 GB, free: 4.391 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3185, allocations: 1.188 kB / 0.5443 GB, free: 4.391 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008323/0.3193, allocations: 483.1 kB / 0.5448 GB, free: 3.949 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.3195, allocations: 136.4 kB / 0.5449 GB, free: 3.797 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.219e-05/0.3195, allocations: 4 kB / 0.5449 GB, free: 3.793 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002737/0.3198, allocations: 27.91 kB / 0.545 GB, free: 3.766 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.78e-05/0.3199, allocations: 15.98 kB / 0.545 GB, free: 3.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.679e-05/0.3199, allocations: 11.98 kB / 0.545 GB, free: 3.738 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007569/0.3207, allocations: 0.6552 MB / 0.5456 GB, free: 3.09 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3207, allocations: 0 / 0.5456 GB, free: 3.09 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003817/0.321, allocations: 64 kB / 0.5457 GB, free: 3.027 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.0009332/0.322, allocations: 418.4 kB / 0.5461 GB, free: 2.746 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006719/0.3227, allocations: 222.5 kB / 0.5463 GB, free: 2.531 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3227, allocations: 0 / 0.5463 GB, free: 2.531 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003074/0.323, allocations: 131.8 kB / 0.5464 GB, free: 2.402 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006495/0.3237, allocations: 87.81 kB / 0.5465 GB, free: 2.324 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001374/0.325, allocations: 0.9644 MB / 0.5474 GB, free: 1.32 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005105/0.3256, allocations: 0.8655 MB / 0.5483 GB, free: 440 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001351/0.3257, allocations: 43.42 kB / 0.5483 GB, free: 396 kB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3257, allocations: 0 / 0.5483 GB, free: 396 kB / 398.1 MB Notification: Performance of Templates: time 0.009398/0.3351, allocations: 6.075 MB / 0.5543 GB, free: 10.32 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches