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.001153/0.001153, allocations: 118.3 kB / 17.78 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001268/0.001268, allocations: 201.2 kB / 18.74 MB, free: 4.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.355/1.355, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2104/0.2104, allocations: 46.12 MB / 344.3 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 91.83 kB / 481.4 MB, free: 3.992 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3275/0.3289, allocations: 62.43 MB / 0.5311 GB, free: 13.55 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.003324/0.3323, allocations: 2.098 MB / 0.5331 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001994/0.3343, allocations: 1.294 MB / 0.5344 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001453/0.3345, allocations: 2.75 kB / 0.5344 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002294/0.3347, allocations: 53.02 kB / 0.5344 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004662/0.3352, allocations: 218.5 kB / 0.5347 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009563/0.3362, allocations: 455.8 kB / 0.5351 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003883/0.3366, allocations: 331.9 kB / 0.5354 GB, free: 10.22 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000158/0.3368, allocations: 59.98 kB / 0.5355 GB, free: 10.19 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002555/0.337, allocations: 142.9 kB / 0.5356 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002723/0.3373, allocations: 203.6 kB / 0.5358 GB, free: 9.992 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.199e-05/0.3373, allocations: 15.06 kB / 0.5358 GB, free: 9.992 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001527/0.3375, allocations: 70.34 kB / 0.5359 GB, free: 9.969 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000165/0.3377, allocations: 144.1 kB / 0.536 GB, free: 9.887 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001402/0.3378, allocations: 170.7 kB / 0.5362 GB, free: 9.75 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004601/0.3383, allocations: 410.6 kB / 0.5366 GB, free: 9.496 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3383, allocations: 0 / 0.5366 GB, free: 9.496 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.896e-06/0.3383, allocations: 1.094 kB / 0.5366 GB, free: 9.496 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.3383, allocations: 3.938 kB / 0.5366 GB, free: 9.492 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.00113/0.3395, allocations: 0.8271 MB / 0.5374 GB, free: 8.766 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.3395, allocations: 11.28 kB / 0.5374 GB, free: 8.766 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004653/0.34, allocations: 91.77 kB / 0.5375 GB, free: 8.723 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006952/0.3407, allocations: 486.8 kB / 0.5379 GB, free: 8.336 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.3407, allocations: 9 kB / 0.5379 GB, free: 8.332 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.493e-05/0.3408, allocations: 18.97 kB / 0.538 GB, free: 8.32 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003325/0.3411, allocations: 138.5 kB / 0.5381 GB, free: 8.223 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.3411, allocations: 5.141 kB / 0.5381 GB, free: 8.219 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.677e-05/0.3412, allocations: 5.219 kB / 0.5381 GB, free: 8.215 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.3412, allocations: 7.25 kB / 0.5381 GB, free: 8.211 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002954/0.3415, allocations: 104.5 kB / 0.5382 GB, free: 8.164 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008679/0.3423, allocations: 0.6714 MB / 0.5389 GB, free: 7.605 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002857/0.3426, allocations: 120.9 kB / 0.539 GB, free: 7.52 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001529/0.3428, allocations: 67.02 kB / 0.539 GB, free: 7.477 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.067e-05/0.3428, allocations: 10.28 kB / 0.5391 GB, free: 7.469 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.3429, allocations: 32 kB / 0.5391 GB, free: 7.43 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.403e-06/0.3429, allocations: 0 / 0.5391 GB, free: 7.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.001987/0.3449, allocations: 0.6996 MB / 0.5398 GB, free: 7.023 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.459e-05/0.3449, allocations: 79.3 kB / 0.5398 GB, free: 6.93 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009693/0.3459, allocations: 0.8993 MB / 0.5407 GB, free: 6.508 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/0.3459, allocations: 30.86 kB / 0.5408 GB, free: 6.473 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002031/0.3462, allocations: 261.1 kB / 0.541 GB, free: 6.242 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.741e-05/0.3462, allocations: 70.48 kB / 0.5411 GB, free: 6.18 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.714e-05/0.3463, allocations: 43.19 kB / 0.5411 GB, free: 6.145 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.3465, allocations: 373.8 kB / 0.5415 GB, free: 5.789 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002658/0.3468, allocations: 92.61 kB / 0.5416 GB, free: 5.746 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002778/0.347, allocations: 108.9 kB / 0.5417 GB, free: 5.688 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005288/0.3476, allocations: 212.7 kB / 0.5419 GB, free: 5.578 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.3476, allocations: 0 / 0.5419 GB, free: 5.578 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007072/0.3483, allocations: 309.6 kB / 0.5422 GB, free: 5.414 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.3483, allocations: 5.5 kB / 0.5422 GB, free: 5.414 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.3483, allocations: 0 / 0.5422 GB, free: 5.414 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.3484, allocations: 1.125 kB / 0.5422 GB, free: 5.414 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002859/0.3487, allocations: 54.47 kB / 0.5422 GB, free: 5.398 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.3487, allocations: 1.375 kB / 0.5422 GB, free: 5.398 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001819/0.3489, allocations: 27.7 kB / 0.5422 GB, free: 5.383 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.986e-05/0.3489, allocations: 9.609 kB / 0.5423 GB, free: 5.379 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.0002107/0.3491, allocations: 210.4 kB / 0.5425 GB, free: 5.227 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.3492, allocations: 61.08 kB / 0.5425 GB, free: 5.191 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008303/0.3501, allocations: 353.9 kB / 0.5429 GB, free: 4.996 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.3501, allocations: 2.719 kB / 0.5429 GB, free: 4.996 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.3501, allocations: 1.156 kB / 0.5429 GB, free: 4.996 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.3501, allocations: 4.094 kB / 0.5429 GB, free: 4.992 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001382/0.3515, allocations: 0.8887 MB / 0.5437 GB, free: 4.301 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.3515, allocations: 1.531 kB / 0.5437 GB, free: 4.301 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002379/0.3517, allocations: 53.3 kB / 0.5438 GB, free: 4.285 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.3518, allocations: 1.188 kB / 0.5438 GB, free: 4.285 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.098e-05/0.3518, allocations: 6.703 kB / 0.5438 GB, free: 4.281 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.3518, allocations: 5.094 kB / 0.5438 GB, free: 4.277 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.3518, allocations: 1.062 kB / 0.5438 GB, free: 4.277 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007326/0.3525, allocations: 487.6 kB / 0.5443 GB, free: 3.797 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001308/0.3527, allocations: 148.7 kB / 0.5444 GB, free: 3.633 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.067e-05/0.3527, allocations: 0 / 0.5444 GB, free: 3.633 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000238/0.353, allocations: 31.91 kB / 0.5444 GB, free: 3.602 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.795e-05/0.353, allocations: 19.97 kB / 0.5444 GB, free: 3.582 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/0.3531, allocations: 8 kB / 0.5445 GB, free: 3.574 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006866/0.3538, allocations: 0.6552 MB / 0.5451 GB, free: 2.926 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3538, allocations: 0 / 0.5451 GB, free: 2.926 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003643/0.3541, allocations: 63.94 kB / 0.5452 GB, free: 2.863 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.0009108/0.3551, allocations: 405 kB / 0.5455 GB, free: 2.594 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000619/0.3557, allocations: 222.5 kB / 0.5458 GB, free: 2.379 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3557, allocations: 0 / 0.5458 GB, free: 2.379 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003089/0.356, allocations: 131.8 kB / 0.5459 GB, free: 2.25 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005799/0.3566, allocations: 84.41 kB / 0.546 GB, free: 2.172 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001288/0.3579, allocations: 0.9739 MB / 0.5469 GB, free: 1.164 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004182/0.3583, allocations: 0.8761 MB / 0.5478 GB, free: 272 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001903/0.3585, allocations: 83.2 kB / 0.5478 GB, free: 188 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001183/0.3587, allocations: 47.41 kB / 0.5479 GB, free: 140 kB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3587, allocations: 0 / 0.5479 GB, free: 140 kB / 398.1 MB Notification: Performance of Templates: time 0.008345/0.367, allocations: 4.39 MB / 0.5522 GB, free: 11.77 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches