Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine_R.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.Test22") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine_R.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.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001266/0.001266, allocations: 122.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001384/0.001384, allocations: 197.2 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.452/1.452, allocations: 227.4 MB / 246.9 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.2489/0.2489, allocations: 46.1 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 75.88 kB / 481.3 MB, free: 4.094 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4347/0.4362, allocations: 62.44 MB / 0.531 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test22): time 0.003811/0.44, allocations: 2.03 MB / 0.533 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002066/0.4421, allocations: 1.236 MB / 0.5342 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001355/0.4423, allocations: 2.75 kB / 0.5342 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002795/0.4426, allocations: 45.09 kB / 0.5342 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005504/0.4432, allocations: 221.2 kB / 0.5345 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009733/0.4441, allocations: 438.8 kB / 0.5349 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004151/0.4446, allocations: 293.5 kB / 0.5352 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002026/0.4448, allocations: 57.39 kB / 0.5352 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002545/0.445, allocations: 134.6 kB / 0.5353 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002592/0.4453, allocations: 189.8 kB / 0.5355 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.635e-05/0.4453, allocations: 14.25 kB / 0.5355 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00017/0.4455, allocations: 68.83 kB / 0.5356 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001658/0.4457, allocations: 138.4 kB / 0.5357 GB, free: 10.13 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001371/0.4458, allocations: 164.9 kB / 0.5359 GB, free: 9.996 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000444/0.4463, allocations: 388.4 kB / 0.5363 GB, free: 9.754 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.4463, allocations: 0 / 0.5363 GB, free: 9.754 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.4463, allocations: 0.9688 kB / 0.5363 GB, free: 9.754 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.4463, allocations: 0 / 0.5363 GB, free: 9.754 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.0009659/0.4473, allocations: 0.7734 MB / 0.537 GB, free: 9.07 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.4473, allocations: 10.2 kB / 0.537 GB, free: 9.07 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002855/0.4476, allocations: 75.31 kB / 0.5371 GB, free: 9.031 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005959/0.4482, allocations: 449.1 kB / 0.5375 GB, free: 8.68 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.4483, allocations: 7.656 kB / 0.5375 GB, free: 8.676 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.44e-05/0.4483, allocations: 15.59 kB / 0.5375 GB, free: 8.668 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002713/0.4486, allocations: 133.1 kB / 0.5377 GB, free: 8.566 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.4486, allocations: 0.8125 kB / 0.5377 GB, free: 8.566 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.4486, allocations: 4.875 kB / 0.5377 GB, free: 8.562 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.4486, allocations: 2.844 kB / 0.5377 GB, free: 8.562 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001969/0.4488, allocations: 70.48 kB / 0.5378 GB, free: 8.535 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009476/0.4498, allocations: 0.6763 MB / 0.5384 GB, free: 7.969 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002109/0.45, allocations: 107.8 kB / 0.5385 GB, free: 7.887 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.762e-05/0.4501, allocations: 40.48 kB / 0.5386 GB, free: 7.859 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.922e-05/0.4502, allocations: 6.891 kB / 0.5386 GB, free: 7.855 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.4502, allocations: 48.19 kB / 0.5386 GB, free: 7.801 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.162e-06/0.4502, allocations: 224 / 0.5386 GB, free: 7.801 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001318/0.4515, allocations: 0.5003 MB / 0.5391 GB, free: 7.504 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.212e-05/0.4516, allocations: 91.16 kB / 0.5392 GB, free: 7.398 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001/0.4526, allocations: 0.8853 MB / 0.54 GB, free: 6.988 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.026e-05/0.4526, allocations: 30.73 kB / 0.5401 GB, free: 6.953 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001963/0.4528, allocations: 259.4 kB / 0.5403 GB, free: 6.723 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.084e-05/0.4529, allocations: 53.95 kB / 0.5404 GB, free: 6.676 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.77e-05/0.453, allocations: 32.52 kB / 0.5404 GB, free: 6.648 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.4531, allocations: 372.3 kB / 0.5408 GB, free: 6.293 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001544/0.4533, allocations: 58.73 kB / 0.5408 GB, free: 6.266 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001622/0.4535, allocations: 76.5 kB / 0.5409 GB, free: 6.219 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003201/0.4538, allocations: 138.2 kB / 0.541 GB, free: 6.145 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.4538, allocations: 4.781 kB / 0.541 GB, free: 6.141 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.00044/0.4543, allocations: 213.8 kB / 0.5412 GB, free: 6.027 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.4543, allocations: 5.344 kB / 0.5412 GB, free: 6.027 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.4543, allocations: 0.75 kB / 0.5412 GB, free: 6.027 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.4543, allocations: 1.094 kB / 0.5412 GB, free: 6.027 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000189/0.4545, allocations: 44.47 kB / 0.5413 GB, free: 6.012 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.4545, allocations: 1.094 kB / 0.5413 GB, free: 6.012 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001156/0.4546, allocations: 22.64 kB / 0.5413 GB, free: 5.996 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.68e-05/0.4547, allocations: 8.234 kB / 0.5413 GB, free: 5.992 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.0001856/0.4549, allocations: 204.8 kB / 0.5415 GB, free: 5.844 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/0.455, allocations: 57.08 kB / 0.5416 GB, free: 5.812 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005701/0.4555, allocations: 271.4 kB / 0.5418 GB, free: 5.656 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.4556, allocations: 2.531 kB / 0.5418 GB, free: 5.656 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.4556, allocations: 0 / 0.5418 GB, free: 5.656 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.4556, allocations: 1.062 kB / 0.5418 GB, free: 5.656 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001043/0.4566, allocations: 0.7785 MB / 0.5426 GB, free: 5.023 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.4566, allocations: 1.188 kB / 0.5426 GB, free: 5.023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001498/0.4568, allocations: 38.72 kB / 0.5426 GB, free: 5.012 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.4568, allocations: 1.125 kB / 0.5426 GB, free: 5.012 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/0.4568, allocations: 6.234 kB / 0.5426 GB, free: 5.008 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.4568, allocations: 6.844 kB / 0.5426 GB, free: 5.004 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.4568, allocations: 0 / 0.5426 GB, free: 5.004 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004956/0.4573, allocations: 406.6 kB / 0.543 GB, free: 4.695 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001333/0.4575, allocations: 132.9 kB / 0.5431 GB, free: 4.574 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.112e-05/0.4576, allocations: 5.438 kB / 0.5432 GB, free: 4.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001753/0.4577, allocations: 14.11 kB / 0.5432 GB, free: 4.562 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.893e-05/0.4578, allocations: 14.45 kB / 0.5432 GB, free: 4.555 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.4578, allocations: 4.375 kB / 0.5432 GB, free: 4.555 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007399/0.4586, allocations: 0.655 MB / 0.5438 GB, free: 4.246 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4586, allocations: 4 kB / 0.5438 GB, free: 4.242 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003485/0.4589, allocations: 56.97 kB / 0.5439 GB, free: 4.23 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.0008913/0.4598, allocations: 396.3 kB / 0.5443 GB, free: 3.973 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003857/0.4602, allocations: 143.8 kB / 0.5444 GB, free: 3.832 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.4602, allocations: 0 / 0.5444 GB, free: 3.832 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001698/0.4604, allocations: 83.89 kB / 0.5445 GB, free: 3.75 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005605/0.461, allocations: 85.09 kB / 0.5446 GB, free: 3.68 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/0.4622, allocations: 0.9038 MB / 0.5454 GB, free: 2.738 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004222/0.4626, allocations: 0.8638 MB / 0.5463 GB, free: 1.848 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001593/0.4628, allocations: 75.53 kB / 0.5464 GB, free: 1.777 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.024e-05/0.4629, allocations: 43.42 kB / 0.5464 GB, free: 1.738 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4629, allocations: 0 / 0.5464 GB, free: 1.738 MB / 398.1 MB Notification: Performance of Templates: time 0.007918/0.4708, allocations: 4.04 MB / 0.5503 GB, free: 13.71 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test22/Test22.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches