Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001217/0.001217, allocations: 113.7 kB / 18.45 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.001267/0.001267, allocations: 206.7 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.46/1.46, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2387/0.2387, allocations: 46.1 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 71.88 kB / 482 MB, free: 4.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.413/0.4143, allocations: 62.43 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.003851/0.4182, allocations: 2.041 MB / 0.5337 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002451/0.4207, allocations: 1.351 MB / 0.535 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001723/0.4209, allocations: 6.688 kB / 0.535 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003038/0.4212, allocations: 50.45 kB / 0.535 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005468/0.4218, allocations: 221.1 kB / 0.5352 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001448/0.4232, allocations: 0.5989 MB / 0.5358 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004595/0.4237, allocations: 314.2 kB / 0.5361 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002213/0.4239, allocations: 74.28 kB / 0.5362 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002726/0.4242, allocations: 144.8 kB / 0.5363 GB, free: 10.08 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002591/0.4245, allocations: 186 kB / 0.5365 GB, free: 9.984 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.451e-05/0.4245, allocations: 17.78 kB / 0.5365 GB, free: 9.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001814/0.4247, allocations: 64.5 kB / 0.5366 GB, free: 9.961 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000188/0.4249, allocations: 144.5 kB / 0.5367 GB, free: 9.883 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001584/0.4251, allocations: 169.6 kB / 0.5369 GB, free: 9.746 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005252/0.4256, allocations: 403.1 kB / 0.5373 GB, free: 9.496 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.269e-06/0.4256, allocations: 1.094 kB / 0.5373 GB, free: 9.496 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4257, allocations: 0 / 0.5373 GB, free: 9.496 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.4257, allocations: 0 / 0.5373 GB, free: 9.496 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.001177/0.4269, allocations: 0.7771 MB / 0.538 GB, free: 8.812 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.4269, allocations: 9.75 kB / 0.538 GB, free: 8.812 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003922/0.4273, allocations: 71.92 kB / 0.5381 GB, free: 8.777 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007791/0.4281, allocations: 465 kB / 0.5386 GB, free: 8.414 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.4281, allocations: 8.625 kB / 0.5386 GB, free: 8.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.291e-05/0.4282, allocations: 19.12 kB / 0.5386 GB, free: 8.398 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003527/0.4285, allocations: 141.2 kB / 0.5387 GB, free: 8.301 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/0.4286, allocations: 0 / 0.5387 GB, free: 8.301 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.998e-05/0.4286, allocations: 5.062 kB / 0.5387 GB, free: 8.297 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.4286, allocations: 7.156 kB / 0.5387 GB, free: 8.293 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002519/0.4289, allocations: 100.6 kB / 0.5388 GB, free: 8.246 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001121/0.43, allocations: 0.6877 MB / 0.5395 GB, free: 7.68 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002484/0.4303, allocations: 117.3 kB / 0.5396 GB, free: 7.594 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001117/0.4304, allocations: 49.34 kB / 0.5397 GB, free: 7.559 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.224e-05/0.4304, allocations: 6.594 kB / 0.5397 GB, free: 7.555 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.4304, allocations: 39.06 kB / 0.5397 GB, free: 7.508 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.213e-06/0.4305, allocations: 0.875 kB / 0.5397 GB, free: 7.508 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.00152/0.432, allocations: 0.5447 MB / 0.5402 GB, free: 7.184 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.988e-05/0.4321, allocations: 79.67 kB / 0.5403 GB, free: 7.09 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0011/0.4332, allocations: 0.8995 MB / 0.5412 GB, free: 6.672 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.4332, allocations: 29.7 kB / 0.5412 GB, free: 6.637 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002218/0.4334, allocations: 264.9 kB / 0.5415 GB, free: 6.402 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.024e-05/0.4335, allocations: 54.45 kB / 0.5415 GB, free: 6.355 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.745e-05/0.4336, allocations: 32.73 kB / 0.5416 GB, free: 6.328 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001865/0.4338, allocations: 373.1 kB / 0.5419 GB, free: 5.973 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001739/0.4339, allocations: 62.67 kB / 0.542 GB, free: 5.945 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001819/0.4341, allocations: 84.94 kB / 0.542 GB, free: 5.895 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003459/0.4345, allocations: 160.9 kB / 0.5422 GB, free: 5.809 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.4345, allocations: 3.938 kB / 0.5422 GB, free: 5.805 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005256/0.435, allocations: 236 kB / 0.5424 GB, free: 5.68 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.4351, allocations: 9.094 kB / 0.5424 GB, free: 5.676 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.4351, allocations: 4 kB / 0.5424 GB, free: 5.672 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.4351, allocations: 1.438 kB / 0.5424 GB, free: 5.672 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002132/0.4353, allocations: 44.89 kB / 0.5425 GB, free: 5.656 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.4353, allocations: 1.188 kB / 0.5425 GB, free: 5.656 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001281/0.4355, allocations: 13.58 kB / 0.5425 GB, free: 5.648 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.4355, allocations: 4.469 kB / 0.5425 GB, free: 5.648 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 (16): * Single equations (assignments): 16 * 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.0002531/0.4357, allocations: 221.7 kB / 0.5427 GB, free: 5.488 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001351/0.4359, allocations: 59.7 kB / 0.5428 GB, free: 5.453 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000665/0.4366, allocations: 287.9 kB / 0.543 GB, free: 5.289 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.4366, allocations: 1.844 kB / 0.5431 GB, free: 5.289 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.4366, allocations: 1.094 kB / 0.5431 GB, free: 5.289 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/0.4366, allocations: 1.031 kB / 0.5431 GB, free: 5.289 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001304/0.4379, allocations: 0.8132 MB / 0.5438 GB, free: 4.641 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.4379, allocations: 1.188 kB / 0.5438 GB, free: 4.641 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001682/0.4381, allocations: 35.47 kB / 0.5439 GB, free: 4.633 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.6e-06/0.4381, allocations: 5 kB / 0.5439 GB, free: 4.629 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.101e-05/0.4381, allocations: 6.281 kB / 0.5439 GB, free: 4.625 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.4381, allocations: 9 kB / 0.5439 GB, free: 4.617 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.4382, allocations: 5.125 kB / 0.5439 GB, free: 4.613 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005922/0.4387, allocations: 411.6 kB / 0.5443 GB, free: 4.309 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001878/0.4389, allocations: 136.6 kB / 0.5444 GB, free: 4.184 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.724e-05/0.439, allocations: 1.156 kB / 0.5444 GB, free: 4.184 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001893/0.4392, allocations: 21.7 kB / 0.5445 GB, free: 4.168 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.668e-05/0.4393, allocations: 11.05 kB / 0.5445 GB, free: 4.164 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.687e-05/0.4393, allocations: 12.48 kB / 0.5445 GB, free: 4.156 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007489/0.44, allocations: 0.6598 MB / 0.5451 GB, free: 3.602 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4401, allocations: 0 / 0.5451 GB, free: 3.602 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003745/0.4404, allocations: 56 kB / 0.5452 GB, free: 3.547 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 (16): * Single equations (assignments): 16 * 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.001001/0.4414, allocations: 396.4 kB / 0.5455 GB, free: 3.289 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004484/0.4419, allocations: 167.8 kB / 0.5457 GB, free: 3.125 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.4419, allocations: 0 / 0.5457 GB, free: 3.125 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000193/0.4421, allocations: 91.88 kB / 0.5458 GB, free: 3.035 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006127/0.4427, allocations: 81.58 kB / 0.5459 GB, free: 2.961 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001486/0.4442, allocations: 0.9526 MB / 0.5468 GB, free: 1.965 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004863/0.4447, allocations: 0.8652 MB / 0.5476 GB, free: 1.07 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/0.4449, allocations: 47.41 kB / 0.5477 GB, free: 1.027 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4449, allocations: 0 / 0.5477 GB, free: 1.027 MB / 398.1 MB Notification: Performance of Templates: time 0.009593/0.4545, allocations: 5.849 MB / 0.5534 GB, free: 11.19 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches