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.001109/0.001109, allocations: 118.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.001124/0.001124, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, 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.2247/0.2247, allocations: 46.1 MB / 344.3 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 75.88 kB / 481.3 MB, free: 4.102 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4489/0.4503, allocations: 62.44 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test22): time 0.003503/0.4538, allocations: 2.029 MB / 0.533 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002165/0.456, allocations: 1.249 MB / 0.5342 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001286/0.4562, allocations: 2.969 kB / 0.5342 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000265/0.4564, allocations: 44.19 kB / 0.5343 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000505/0.457, allocations: 214.2 kB / 0.5345 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009752/0.458, allocations: 442 kB / 0.5349 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003593/0.4583, allocations: 291.2 kB / 0.5352 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001603/0.4585, allocations: 58.5 kB / 0.5352 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002252/0.4587, allocations: 133.5 kB / 0.5353 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002335/0.459, allocations: 182.5 kB / 0.5355 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.801e-05/0.459, allocations: 13.47 kB / 0.5355 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001581/0.4592, allocations: 68.2 kB / 0.5356 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001672/0.4594, allocations: 139.4 kB / 0.5357 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001389/0.4595, allocations: 165.5 kB / 0.5359 GB, free: 9.992 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004449/0.46, allocations: 383.8 kB / 0.5363 GB, free: 9.754 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.46, allocations: 0 / 0.5363 GB, free: 9.754 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.46, allocations: 1.375 kB / 0.5363 GB, free: 9.754 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.46, 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.001008/0.461, allocations: 0.7727 MB / 0.537 GB, free: 9.07 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.461, allocations: 14.67 kB / 0.537 GB, free: 9.066 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002852/0.4613, allocations: 75.98 kB / 0.5371 GB, free: 9.027 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000704/0.4621, allocations: 452 kB / 0.5375 GB, free: 8.672 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.4621, allocations: 8.625 kB / 0.5375 GB, free: 8.668 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.465e-05/0.4621, allocations: 14.72 kB / 0.5375 GB, free: 8.66 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002736/0.4624, allocations: 128.8 kB / 0.5377 GB, free: 8.566 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.4624, allocations: 5.109 kB / 0.5377 GB, free: 8.562 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.4624, allocations: 1.094 kB / 0.5377 GB, free: 8.562 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.4625, allocations: 6.062 kB / 0.5377 GB, free: 8.559 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002021/0.4627, allocations: 78.7 kB / 0.5378 GB, free: 8.523 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000911/0.4636, allocations: 0.6719 MB / 0.5384 GB, free: 7.961 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001965/0.4638, allocations: 112.3 kB / 0.5385 GB, free: 7.875 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.502e-05/0.4639, allocations: 41.02 kB / 0.5386 GB, free: 7.848 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.695e-05/0.4639, allocations: 2.219 kB / 0.5386 GB, free: 7.848 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.464, allocations: 43.42 kB / 0.5386 GB, free: 7.797 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.332e-06/0.464, allocations: 0 / 0.5386 GB, free: 7.797 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001344/0.4653, allocations: 0.5049 MB / 0.5391 GB, free: 7.496 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.695e-05/0.4654, allocations: 80.23 kB / 0.5392 GB, free: 7.402 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009912/0.4664, allocations: 0.8921 MB / 0.54 GB, free: 6.984 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.4664, allocations: 30.89 kB / 0.5401 GB, free: 6.949 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002008/0.4666, allocations: 259.9 kB / 0.5403 GB, free: 6.719 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.274e-05/0.4667, allocations: 52.81 kB / 0.5404 GB, free: 6.672 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.605e-05/0.4667, allocations: 40.95 kB / 0.5404 GB, free: 6.637 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.4669, allocations: 369.3 kB / 0.5408 GB, free: 6.285 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001604/0.4671, allocations: 61.64 kB / 0.5408 GB, free: 6.254 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001658/0.4673, allocations: 74.52 kB / 0.5409 GB, free: 6.211 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003325/0.4676, allocations: 134.5 kB / 0.541 GB, free: 6.141 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.4676, allocations: 0 / 0.541 GB, free: 6.141 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.00047/0.4681, allocations: 226.7 kB / 0.5412 GB, free: 6.016 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.4681, allocations: 9.094 kB / 0.5412 GB, free: 6.012 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.4681, allocations: 0 / 0.5412 GB, free: 6.012 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.4681, allocations: 1.531 kB / 0.5412 GB, free: 6.012 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001972/0.4683, allocations: 40.88 kB / 0.5413 GB, free: 6 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.4684, allocations: 1.031 kB / 0.5413 GB, free: 6 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001214/0.4685, allocations: 15.2 kB / 0.5413 GB, free: 5.992 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.549e-05/0.4685, allocations: 4.594 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.0002085/0.4687, allocations: 212.8 kB / 0.5415 GB, free: 5.836 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.624e-05/0.4688, allocations: 56.03 kB / 0.5416 GB, free: 5.805 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005952/0.4694, allocations: 259 kB / 0.5418 GB, free: 5.66 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.4694, allocations: 6.609 kB / 0.5418 GB, free: 5.656 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.4694, allocations: 0 / 0.5418 GB, free: 5.656 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.4695, allocations: 1.188 kB / 0.5418 GB, free: 5.656 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001164/0.4706, allocations: 0.779 MB / 0.5426 GB, free: 5.023 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.4706, allocations: 0 / 0.5426 GB, free: 5.023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001665/0.4708, allocations: 43.91 kB / 0.5426 GB, free: 5.008 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.4708, allocations: 1.094 kB / 0.5426 GB, free: 5.008 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.4708, allocations: 2.281 kB / 0.5426 GB, free: 5.008 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.4709, allocations: 5.062 kB / 0.5426 GB, free: 5.004 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.4709, allocations: 5.062 kB / 0.5426 GB, free: 5 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005451/0.4714, allocations: 398 kB / 0.543 GB, free: 4.699 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001642/0.4716, allocations: 132 kB / 0.5431 GB, free: 4.578 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.896e-05/0.4716, allocations: 9.297 kB / 0.5431 GB, free: 4.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001817/0.4718, allocations: 18.28 kB / 0.5432 GB, free: 4.559 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.16e-05/0.4719, allocations: 18.69 kB / 0.5432 GB, free: 4.547 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.4719, allocations: 5 kB / 0.5432 GB, free: 4.547 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007261/0.4727, allocations: 0.6501 MB / 0.5438 GB, free: 4.242 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4727, allocations: 1.344 kB / 0.5438 GB, free: 4.242 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003653/0.473, allocations: 59.42 kB / 0.5439 GB, free: 4.207 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.0009092/0.4739, allocations: 402.9 kB / 0.5443 GB, free: 3.938 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004097/0.4744, allocations: 142.7 kB / 0.5444 GB, free: 3.801 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.4744, allocations: 0 / 0.5444 GB, free: 3.801 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001797/0.4746, allocations: 75.89 kB / 0.5445 GB, free: 3.727 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000576/0.4751, allocations: 88.89 kB / 0.5446 GB, free: 3.648 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.4764, allocations: 0.9038 MB / 0.5454 GB, free: 2.707 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004214/0.4768, allocations: 0.8677 MB / 0.5463 GB, free: 1.812 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001579/0.477, allocations: 75.55 kB / 0.5464 GB, free: 1.742 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.778e-05/0.4771, allocations: 39.42 kB / 0.5464 GB, free: 1.707 MB / 398.1 MB Notification: Performance of SimCode: time 2.61e-07/0.4771, allocations: 0 / 0.5464 GB, free: 1.707 MB / 398.1 MB Notification: Performance of Templates: time 0.008282/0.4854, allocations: 4.134 MB / 0.5504 GB, free: 13.58 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