Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001519/0.001519, allocations: 116.2 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.001501/0.001502, allocations: 210 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.459/1.459, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2294/0.2294, allocations: 46.11 MB / 345 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001566, allocations: 71.88 kB / 482 MB, free: 4.016 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4226/0.4242, allocations: 62.43 MB / 0.5317 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.003038/0.4273, allocations: 1.609 MB / 0.5332 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001024/0.4283, allocations: 0.5591 MB / 0.5338 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.963e-05/0.4284, allocations: 1.375 kB / 0.5338 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002303/0.4286, allocations: 23.97 kB / 0.5338 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002889/0.4289, allocations: 76.38 kB / 0.5339 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003071/0.4293, allocations: 121.1 kB / 0.534 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001513/0.4294, allocations: 72.69 kB / 0.5341 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.4295, allocations: 10.88 kB / 0.5341 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.813e-05/0.4296, allocations: 30.86 kB / 0.5341 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.715e-05/0.4297, allocations: 33.45 kB / 0.5341 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.4297, allocations: 4.125 kB / 0.5341 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001652/0.4299, allocations: 102.5 kB / 0.5342 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.157e-05/0.4299, allocations: 18.33 kB / 0.5343 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.57e-05/0.43, allocations: 25.48 kB / 0.5343 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002603/0.4303, allocations: 141.4 kB / 0.5344 GB, free: 11.48 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.4303, allocations: 3.984 kB / 0.5344 GB, free: 11.48 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4303, allocations: 0 / 0.5344 GB, free: 11.48 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.256e-06/0.4303, allocations: 0 / 0.5344 GB, free: 11.48 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005088/0.4308, allocations: 403.8 kB / 0.5348 GB, free: 11.07 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.4309, allocations: 8.75 kB / 0.5348 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.647e-05/0.4309, allocations: 8.906 kB / 0.5348 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002084/0.4311, allocations: 201.7 kB / 0.535 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.4311, allocations: 1.5 kB / 0.535 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.755e-05/0.4312, allocations: 6.688 kB / 0.535 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.4313, allocations: 63.8 kB / 0.5351 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.4314, allocations: 0.9062 kB / 0.5351 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.4314, allocations: 1.312 kB / 0.5351 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.4314, allocations: 0 / 0.5351 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.316e-05/0.4315, allocations: 29.52 kB / 0.5351 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004381/0.4319, allocations: 300 kB / 0.5354 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001147/0.4321, allocations: 51.11 kB / 0.5355 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.928e-05/0.4321, allocations: 23 kB / 0.5355 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.394e-05/0.4322, allocations: 1.156 kB / 0.5355 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.4322, allocations: 35.69 kB / 0.5355 GB, free: 10.34 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.4322, allocations: 0 / 0.5355 GB, free: 10.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006172/0.4328, allocations: 178.3 kB / 0.5357 GB, free: 10.24 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.892e-05/0.4329, allocations: 82.2 kB / 0.5358 GB, free: 10.14 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.4331, allocations: 156.8 kB / 0.5359 GB, free: 10.01 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.4331, allocations: 30.83 kB / 0.5359 GB, free: 9.977 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.624e-05/0.4331, allocations: 95.5 kB / 0.536 GB, free: 9.883 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.252e-05/0.4332, allocations: 22.02 kB / 0.536 GB, free: 9.863 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.29e-05/0.4332, allocations: 24.64 kB / 0.5361 GB, free: 9.84 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.905e-05/0.4333, allocations: 321.1 kB / 0.5364 GB, free: 9.52 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.041e-05/0.4334, allocations: 28.34 kB / 0.5364 GB, free: 9.508 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.271e-05/0.4335, allocations: 49.5 kB / 0.5365 GB, free: 9.473 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001628/0.4337, allocations: 73.22 kB / 0.5365 GB, free: 9.434 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.4337, allocations: 0 / 0.5365 GB, free: 9.434 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002201/0.4339, allocations: 120.2 kB / 0.5366 GB, free: 9.355 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.4339, allocations: 9.438 kB / 0.5366 GB, free: 9.352 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.434, allocations: 0 / 0.5366 GB, free: 9.352 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.434, allocations: 0 / 0.5366 GB, free: 9.352 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.4341, allocations: 17.77 kB / 0.5367 GB, free: 9.348 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.79e-06/0.4341, allocations: 5.375 kB / 0.5367 GB, free: 9.344 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.472e-05/0.4342, allocations: 4.125 kB / 0.5367 GB, free: 9.344 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.4342, allocations: 5.312 kB / 0.5367 GB, free: 9.34 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 8 * 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 8.836e-05/0.4343, allocations: 119.3 kB / 0.5368 GB, free: 9.219 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.482e-05/0.4343, allocations: 6.656 kB / 0.5368 GB, free: 9.215 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002739/0.4346, allocations: 124.9 kB / 0.5369 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.4346, allocations: 5.062 kB / 0.5369 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.4346, allocations: 0 / 0.5369 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.4346, allocations: 1.25 kB / 0.5369 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004574/0.4351, allocations: 394.4 kB / 0.5373 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.4351, allocations: 0 / 0.5373 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.503e-05/0.4352, allocations: 15.61 kB / 0.5373 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.4352, allocations: 1.156 kB / 0.5373 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.4352, allocations: 3.938 kB / 0.5373 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.4352, allocations: 5.25 kB / 0.5373 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4352, allocations: 0 / 0.5373 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002401/0.4354, allocations: 194.6 kB / 0.5375 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.126e-05/0.4355, allocations: 91.12 kB / 0.5376 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.174e-05/0.4355, allocations: 5 kB / 0.5376 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.019e-05/0.4356, allocations: 7.031 kB / 0.5376 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.614e-05/0.4357, allocations: 10.58 kB / 0.5376 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-06/0.4357, allocations: 2.188 kB / 0.5376 GB, free: 8.445 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.303e-05/0.4358, allocations: 112.9 kB / 0.5377 GB, free: 8.355 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4358, allocations: 1.125 kB / 0.5377 GB, free: 8.355 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002992/0.4361, allocations: 46.08 kB / 0.5378 GB, free: 8.336 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 7 * 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.001133/0.4372, allocations: 498 kB / 0.5382 GB, free: 8.078 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002426/0.4375, allocations: 74.05 kB / 0.5383 GB, free: 8.047 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.4375, allocations: 0 / 0.5383 GB, free: 8.047 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.874e-05/0.4376, allocations: 38.06 kB / 0.5384 GB, free: 8.031 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003435/0.4379, allocations: 17.39 kB / 0.5384 GB, free: 8.027 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004441/0.4384, allocations: 216.1 kB / 0.5386 GB, free: 7.84 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002436/0.4386, allocations: 0.6963 MB / 0.5393 GB, free: 7.133 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.495e-05/0.4387, allocations: 18.77 kB / 0.5393 GB, free: 7.121 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.4387, allocations: 1.219 kB / 0.5393 GB, free: 7.121 MB / 398.1 MB Notification: Performance of Templates: time 0.004377/0.4431, allocations: 2.129 MB / 0.5414 GB, free: 6.02 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches