Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test11.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.CombiTable1Ds.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test11") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001198/0.001198, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002351/0.002351, allocations: 201.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.57/1.57, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2515/0.2515, allocations: 46.11 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001704/0.001704, allocations: 75.88 kB / 481.3 MB, free: 4.062 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4679/0.4696, allocations: 62.43 MB / 0.531 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test11): time 0.003238/0.4729, allocations: 1.598 MB / 0.5326 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00111/0.474, allocations: 0.5276 MB / 0.5331 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.638e-05/0.4741, allocations: 1.375 kB / 0.5331 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002775/0.4744, allocations: 38.7 kB / 0.5331 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003167/0.4748, allocations: 77.75 kB / 0.5332 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003016/0.4751, allocations: 94.31 kB / 0.5333 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001778/0.4753, allocations: 56.66 kB / 0.5333 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.4754, allocations: 18.84 kB / 0.5334 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.673e-05/0.4755, allocations: 20.12 kB / 0.5334 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.118e-05/0.4756, allocations: 26.67 kB / 0.5334 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.4756, allocations: 2.75 kB / 0.5334 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.709e-05/0.4757, allocations: 36.61 kB / 0.5334 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.467e-05/0.4758, allocations: 17.42 kB / 0.5335 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.615e-05/0.4758, allocations: 23.92 kB / 0.5335 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002081/0.476, allocations: 82.48 kB / 0.5336 GB, free: 11.66 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.476, allocations: 0 / 0.5336 GB, free: 11.66 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4761, allocations: 3.938 kB / 0.5336 GB, free: 11.66 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.185e-05/0.4761, allocations: 1.375 kB / 0.5336 GB, free: 11.66 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.0006761/0.4768, allocations: 402.2 kB / 0.5339 GB, free: 11.24 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.4768, allocations: 8.25 kB / 0.534 GB, free: 11.24 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.841e-05/0.4769, allocations: 16.95 kB / 0.534 GB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002065/0.4771, allocations: 191.8 kB / 0.5342 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.4771, allocations: 384 / 0.5342 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.953e-05/0.4771, allocations: 6.688 kB / 0.5342 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001748/0.4773, allocations: 51.3 kB / 0.5342 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.06e-05/0.4773, allocations: 0 / 0.5342 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.754e-05/0.4774, allocations: 5.375 kB / 0.5342 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.4774, allocations: 0 / 0.5342 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001009/0.4775, allocations: 25.72 kB / 0.5342 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000488/0.478, allocations: 276.1 kB / 0.5345 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002672/0.4783, allocations: 40.44 kB / 0.5345 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.678e-05/0.4783, allocations: 26.44 kB / 0.5346 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.86e-05/0.4784, allocations: 1.375 kB / 0.5346 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.4784, allocations: 31.94 kB / 0.5346 GB, free: 10.55 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.573e-06/0.4784, allocations: 0 / 0.5346 GB, free: 10.55 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006469/0.4791, allocations: 146.1 kB / 0.5347 GB, free: 10.46 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.486e-05/0.4791, allocations: 52.41 kB / 0.5348 GB, free: 10.4 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002126/0.4794, allocations: 186.8 kB / 0.535 GB, free: 10.25 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.4794, allocations: 25.7 kB / 0.535 GB, free: 10.22 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.607e-05/0.4795, allocations: 104.8 kB / 0.5351 GB, free: 10.12 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.189e-05/0.4795, allocations: 21.62 kB / 0.5351 GB, free: 10.1 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-05/0.4796, allocations: 22.22 kB / 0.5351 GB, free: 10.08 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.4797, allocations: 321.4 kB / 0.5354 GB, free: 9.758 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.408e-05/0.4798, allocations: 18.3 kB / 0.5355 GB, free: 9.75 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.294e-05/0.4799, allocations: 19.52 kB / 0.5355 GB, free: 9.742 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001411/0.48, allocations: 47.45 kB / 0.5355 GB, free: 9.715 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.48, allocations: 0 / 0.5355 GB, free: 9.715 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001916/0.4802, allocations: 81.17 kB / 0.5356 GB, free: 9.66 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.4802, allocations: 5.031 kB / 0.5356 GB, free: 9.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.4803, allocations: 1.312 kB / 0.5356 GB, free: 9.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.4803, allocations: 0 / 0.5356 GB, free: 9.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.419e-05/0.4804, allocations: 21.95 kB / 0.5356 GB, free: 9.648 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.4804, allocations: 0 / 0.5356 GB, free: 9.648 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.04e-05/0.4804, allocations: 15.42 kB / 0.5356 GB, free: 9.637 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.4805, allocations: 0.9688 kB / 0.5356 GB, free: 9.637 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 (5): * Single equations (assignments): 5 * 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.0001006/0.4806, allocations: 116.9 kB / 0.5358 GB, free: 9.52 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.136e-05/0.4806, allocations: 8.203 kB / 0.5358 GB, free: 9.516 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002737/0.4809, allocations: 93.77 kB / 0.5358 GB, free: 9.449 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.4809, allocations: 1.188 kB / 0.5359 GB, free: 9.449 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.4809, allocations: 1.156 kB / 0.5359 GB, free: 9.449 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.4809, allocations: 3.938 kB / 0.5359 GB, free: 9.445 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004543/0.4814, allocations: 348.5 kB / 0.5362 GB, free: 9.094 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.738e-06/0.4814, allocations: 3.984 kB / 0.5362 GB, free: 9.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.628e-05/0.4815, allocations: 10.09 kB / 0.5362 GB, free: 9.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.4815, allocations: 1.062 kB / 0.5362 GB, free: 9.09 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.4815, allocations: 11.94 kB / 0.5362 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.4815, allocations: 1.219 kB / 0.5362 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.4815, allocations: 0 / 0.5362 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002626/0.4818, allocations: 180 kB / 0.5364 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.306e-05/0.4818, allocations: 87.45 kB / 0.5365 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/0.4819, allocations: 5.094 kB / 0.5365 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.205e-05/0.4819, allocations: 7.234 kB / 0.5365 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.294e-05/0.482, allocations: 6.281 kB / 0.5365 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.482, allocations: 1.094 kB / 0.5365 GB, free: 8.805 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001453/0.4821, allocations: 140 kB / 0.5366 GB, free: 8.703 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4822, allocations: 1.156 kB / 0.5366 GB, free: 8.703 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002559/0.4824, allocations: 17.56 kB / 0.5366 GB, free: 8.695 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 (5): * Single equations (assignments): 5 * 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.001077/0.4835, allocations: 402 kB / 0.537 GB, free: 8.48 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002177/0.4837, allocations: 50.84 kB / 0.5371 GB, free: 8.457 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4837, allocations: 0 / 0.5371 GB, free: 8.457 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.568e-05/0.4838, allocations: 23.86 kB / 0.5371 GB, free: 8.449 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003769/0.4842, allocations: 17.8 kB / 0.5371 GB, free: 8.441 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005291/0.4847, allocations: 190.8 kB / 0.5373 GB, free: 8.289 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003695/0.4851, allocations: 0.7077 MB / 0.538 GB, free: 7.57 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.149e-05/0.4852, allocations: 17.19 kB / 0.538 GB, free: 7.559 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.235e-05/0.4852, allocations: 12.72 kB / 0.538 GB, free: 7.551 MB / 398.1 MB Notification: Performance of SimCode: time 2.11e-07/0.4852, allocations: 0 / 0.538 GB, free: 7.551 MB / 398.1 MB Notification: Performance of Templates: time 0.004397/0.4896, allocations: 1.127 MB / 0.5391 GB, free: 6.969 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test11.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test11.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches