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.001468/0.001468, allocations: 105.1 kB / 18.45 MB, free: 4.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001476/0.001477, allocations: 210.8 kB / 19.41 MB, free: 3.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.406/1.406, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2344/0.2344, allocations: 46.1 MB / 344.9 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 75.88 kB / 482 MB, free: 4.109 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3342/0.3357, allocations: 62.44 MB / 0.5317 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.003375/0.3391, allocations: 2.109 MB / 0.5337 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001966/0.3411, allocations: 1.284 MB / 0.535 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001087/0.3413, allocations: 2.125 kB / 0.535 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002323/0.3415, allocations: 49.02 kB / 0.535 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004762/0.342, allocations: 222.3 kB / 0.5352 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009596/0.343, allocations: 457.6 kB / 0.5357 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003945/0.3434, allocations: 326.1 kB / 0.536 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001686/0.3435, allocations: 67.28 kB / 0.5361 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002425/0.3438, allocations: 143.9 kB / 0.5362 GB, free: 10.19 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002529/0.3441, allocations: 202.7 kB / 0.5364 GB, free: 10.08 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.586e-05/0.3441, allocations: 15.19 kB / 0.5364 GB, free: 10.08 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001456/0.3443, allocations: 66.23 kB / 0.5365 GB, free: 10.06 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001625/0.3444, allocations: 143.5 kB / 0.5366 GB, free: 9.977 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001615/0.3446, allocations: 175.8 kB / 0.5368 GB, free: 9.836 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004474/0.345, allocations: 418.2 kB / 0.5372 GB, free: 9.57 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3451, allocations: 0 / 0.5372 GB, free: 9.57 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.106e-06/0.3451, allocations: 1.031 kB / 0.5372 GB, free: 9.57 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.3451, allocations: 3.938 kB / 0.5372 GB, free: 9.566 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.001033/0.3461, allocations: 0.792 MB / 0.5379 GB, free: 8.875 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.3462, allocations: 14.88 kB / 0.538 GB, free: 8.871 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004227/0.3466, allocations: 96.44 kB / 0.538 GB, free: 8.824 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006355/0.3472, allocations: 474.1 kB / 0.5385 GB, free: 8.449 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.3473, allocations: 3.875 kB / 0.5385 GB, free: 8.449 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.774e-05/0.3473, allocations: 15.44 kB / 0.5385 GB, free: 8.441 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003014/0.3476, allocations: 148.5 kB / 0.5387 GB, free: 8.332 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.3476, allocations: 0 / 0.5387 GB, free: 8.332 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.3477, allocations: 5.344 kB / 0.5387 GB, free: 8.328 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.3477, allocations: 3.094 kB / 0.5387 GB, free: 8.328 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002836/0.348, allocations: 96.61 kB / 0.5388 GB, free: 8.289 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009032/0.3489, allocations: 0.6825 MB / 0.5394 GB, free: 7.719 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002683/0.3492, allocations: 122.6 kB / 0.5395 GB, free: 7.633 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001529/0.3493, allocations: 61.97 kB / 0.5396 GB, free: 7.594 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.227e-05/0.3494, allocations: 2.344 kB / 0.5396 GB, free: 7.594 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.3494, allocations: 43.64 kB / 0.5396 GB, free: 7.543 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.643e-06/0.3494, allocations: 0 / 0.5396 GB, free: 7.543 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.001921/0.3513, allocations: 0.6741 MB / 0.5403 GB, free: 7.16 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.214e-05/0.3514, allocations: 79.89 kB / 0.5404 GB, free: 7.066 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009869/0.3524, allocations: 0.9032 MB / 0.5413 GB, free: 6.641 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.3524, allocations: 31.08 kB / 0.5413 GB, free: 6.605 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000198/0.3526, allocations: 261.1 kB / 0.5415 GB, free: 6.375 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.959e-05/0.3527, allocations: 74.97 kB / 0.5416 GB, free: 6.309 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.811e-05/0.3528, allocations: 34.64 kB / 0.5416 GB, free: 6.281 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.3529, allocations: 385 kB / 0.542 GB, free: 5.914 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002446/0.3532, allocations: 89.38 kB / 0.5421 GB, free: 5.875 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002498/0.3535, allocations: 111.7 kB / 0.5422 GB, free: 5.812 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005006/0.354, allocations: 205.7 kB / 0.5424 GB, free: 5.711 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.354, allocations: 0 / 0.5424 GB, free: 5.711 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000657/0.3546, allocations: 297.3 kB / 0.5427 GB, free: 5.559 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.3547, allocations: 8.438 kB / 0.5427 GB, free: 5.555 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.3547, allocations: 1.344 kB / 0.5427 GB, free: 5.555 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.3547, allocations: 1.188 kB / 0.5427 GB, free: 5.555 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002806/0.355, allocations: 54.2 kB / 0.5427 GB, free: 5.539 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.355, allocations: 5.031 kB / 0.5428 GB, free: 5.535 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001752/0.3552, allocations: 24.78 kB / 0.5428 GB, free: 5.523 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.951e-05/0.3552, allocations: 4.719 kB / 0.5428 GB, free: 5.523 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.0002162/0.3554, allocations: 222.7 kB / 0.543 GB, free: 5.359 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.3555, allocations: 57.03 kB / 0.543 GB, free: 5.328 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007732/0.3563, allocations: 353.2 kB / 0.5434 GB, free: 5.133 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.3563, allocations: 2.406 kB / 0.5434 GB, free: 5.133 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.3563, allocations: 5.406 kB / 0.5434 GB, free: 5.129 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/0.3564, allocations: 1.422 kB / 0.5434 GB, free: 5.129 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001339/0.3577, allocations: 0.8922 MB / 0.5443 GB, free: 4.434 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.3577, allocations: 4 kB / 0.5443 GB, free: 4.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002343/0.358, allocations: 50.14 kB / 0.5443 GB, free: 4.418 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.358, allocations: 1.031 kB / 0.5443 GB, free: 4.418 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.238e-05/0.358, allocations: 10.36 kB / 0.5443 GB, free: 4.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.358, allocations: 4.844 kB / 0.5443 GB, free: 4.406 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.358, allocations: 0.9688 kB / 0.5443 GB, free: 4.406 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007183/0.3587, allocations: 484.8 kB / 0.5448 GB, free: 3.973 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001337/0.3589, allocations: 136.4 kB / 0.5449 GB, free: 3.82 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.89e-05/0.3589, allocations: 7.938 kB / 0.5449 GB, free: 3.812 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002275/0.3592, allocations: 19.92 kB / 0.545 GB, free: 3.793 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.858e-05/0.3592, allocations: 23.97 kB / 0.545 GB, free: 3.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.744e-05/0.3593, allocations: 7.984 kB / 0.545 GB, free: 3.762 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007267/0.36, allocations: 0.6591 MB / 0.5456 GB, free: 3.109 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.36, allocations: 0 / 0.5456 GB, free: 3.109 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003761/0.3604, allocations: 63.98 kB / 0.5457 GB, free: 3.047 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.0009252/0.3613, allocations: 410.2 kB / 0.5461 GB, free: 2.777 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005816/0.3619, allocations: 226.5 kB / 0.5463 GB, free: 2.559 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3619, allocations: 0 / 0.5463 GB, free: 2.559 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002731/0.3622, allocations: 123.8 kB / 0.5464 GB, free: 2.438 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005923/0.3628, allocations: 90.67 kB / 0.5465 GB, free: 2.355 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001419/0.3642, allocations: 0.9644 MB / 0.5474 GB, free: 1.352 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004188/0.3647, allocations: 0.8616 MB / 0.5483 GB, free: 476 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001376/0.3648, allocations: 47.41 kB / 0.5483 GB, free: 428 kB / 398.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3648, allocations: 0 / 0.5483 GB, free: 428 kB / 398.1 MB Notification: Performance of Templates: time 0.009913/0.3747, allocations: 6.074 MB / 0.5543 GB, free: 10.36 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