Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,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.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001308/0.001308, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001678/0.001678, allocations: 200.6 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.487/1.487, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2189/0.2189, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 75.88 kB / 481.3 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4194/0.4209, allocations: 62.43 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.003854/0.4248, allocations: 1.612 MB / 0.5326 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001319/0.4261, allocations: 0.5253 MB / 0.5331 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.314e-05/0.4262, allocations: 1.375 kB / 0.5331 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003054/0.4265, allocations: 27.97 kB / 0.5331 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003392/0.4269, allocations: 76.38 kB / 0.5332 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003136/0.4272, allocations: 90.64 kB / 0.5333 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001737/0.4274, allocations: 65.92 kB / 0.5333 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.4275, allocations: 10.69 kB / 0.5333 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.36e-05/0.4276, allocations: 27.75 kB / 0.5334 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.536e-05/0.4277, allocations: 22.58 kB / 0.5334 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.4277, allocations: 1.438 kB / 0.5334 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.4278, allocations: 32.45 kB / 0.5334 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.674e-05/0.4279, allocations: 20.41 kB / 0.5334 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.075e-05/0.428, allocations: 20.8 kB / 0.5335 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002201/0.4282, allocations: 83.72 kB / 0.5335 GB, free: 11.63 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.4282, allocations: 0 / 0.5335 GB, free: 11.63 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.225e-06/0.4282, allocations: 0 / 0.5335 GB, free: 11.63 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.4282, allocations: 0 / 0.5335 GB, free: 11.63 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.0006931/0.4289, allocations: 388.4 kB / 0.5339 GB, free: 11.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.669e-05/0.429, allocations: 10.19 kB / 0.5339 GB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.634e-05/0.4291, allocations: 7.703 kB / 0.5339 GB, free: 11.22 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003092/0.4294, allocations: 191.7 kB / 0.5341 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.4294, allocations: 4.375 kB / 0.5341 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.484e-05/0.4294, allocations: 6.562 kB / 0.5341 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002103/0.4296, allocations: 55.8 kB / 0.5342 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.992e-05/0.4297, allocations: 1.312 kB / 0.5342 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.4297, allocations: 0 / 0.5342 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.4297, allocations: 1.312 kB / 0.5342 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000105/0.4298, allocations: 19.89 kB / 0.5342 GB, free: 10.94 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005069/0.4303, allocations: 279.9 kB / 0.5345 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002733/0.4306, allocations: 47.06 kB / 0.5345 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.268e-05/0.4307, allocations: 15.75 kB / 0.5345 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.498e-05/0.4307, allocations: 1.094 kB / 0.5345 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.351e-05/0.4308, allocations: 31.84 kB / 0.5346 GB, free: 10.55 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.61e-07/0.4308, allocations: 0 / 0.5346 GB, free: 10.55 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007177/0.4315, allocations: 153.4 kB / 0.5347 GB, free: 10.45 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.019e-05/0.4316, allocations: 51.41 kB / 0.5348 GB, free: 10.39 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002083/0.4318, allocations: 147 kB / 0.5349 GB, free: 10.27 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.4318, allocations: 33.64 kB / 0.5349 GB, free: 10.23 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.513e-05/0.4319, allocations: 95.62 kB / 0.535 GB, free: 10.13 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.564e-05/0.4319, allocations: 18.05 kB / 0.535 GB, free: 10.12 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.254e-05/0.432, allocations: 22.28 kB / 0.5351 GB, free: 10.09 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000178/0.4322, allocations: 325 kB / 0.5354 GB, free: 9.77 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.295e-05/0.4323, allocations: 18.8 kB / 0.5354 GB, free: 9.762 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.21e-05/0.4323, allocations: 18.45 kB / 0.5354 GB, free: 9.754 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001503/0.4325, allocations: 47.73 kB / 0.5354 GB, free: 9.727 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.4325, allocations: 0 / 0.5354 GB, free: 9.727 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000222/0.4327, allocations: 84.47 kB / 0.5355 GB, free: 9.668 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/0.4328, allocations: 6.281 kB / 0.5355 GB, free: 9.668 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.4328, allocations: 0 / 0.5355 GB, free: 9.668 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/0.4328, allocations: 0 / 0.5355 GB, free: 9.668 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.726e-05/0.4329, allocations: 18.73 kB / 0.5355 GB, free: 9.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.4329, allocations: 0 / 0.5355 GB, free: 9.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.604e-05/0.433, allocations: 7.609 kB / 0.5356 GB, free: 9.656 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.433, allocations: 1.375 kB / 0.5356 GB, free: 9.656 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.0001174/0.4331, allocations: 125.5 kB / 0.5357 GB, free: 9.527 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.379e-05/0.4331, allocations: 9.141 kB / 0.5357 GB, free: 9.523 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002661/0.4334, allocations: 85.03 kB / 0.5358 GB, free: 9.461 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.4334, allocations: 0 / 0.5358 GB, free: 9.461 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.4334, allocations: 1.375 kB / 0.5358 GB, free: 9.461 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.4334, allocations: 3.984 kB / 0.5358 GB, free: 9.457 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000478/0.4339, allocations: 354.4 kB / 0.5361 GB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.4339, allocations: 0 / 0.5361 GB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.096e-05/0.434, allocations: 13.61 kB / 0.5361 GB, free: 9.094 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.434, allocations: 1.375 kB / 0.5361 GB, free: 9.094 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.434, allocations: 0 / 0.5361 GB, free: 9.094 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.4341, allocations: 9.25 kB / 0.5361 GB, free: 9.086 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.4341, allocations: 0 / 0.5361 GB, free: 9.086 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002622/0.4343, allocations: 179.3 kB / 0.5363 GB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.236e-05/0.4344, allocations: 83.81 kB / 0.5364 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.898e-05/0.4344, allocations: 8.062 kB / 0.5364 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.933e-05/0.4345, allocations: 12 kB / 0.5364 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.114e-05/0.4346, allocations: 5.359 kB / 0.5364 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.4346, allocations: 5.312 kB / 0.5364 GB, free: 8.805 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001388/0.4348, allocations: 121.2 kB / 0.5365 GB, free: 8.711 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4348, allocations: 0 / 0.5365 GB, free: 8.711 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002883/0.4351, allocations: 14.94 kB / 0.5365 GB, free: 8.707 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.001066/0.4361, allocations: 399.5 kB / 0.5369 GB, free: 8.496 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002342/0.4364, allocations: 44.84 kB / 0.537 GB, free: 8.48 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.4364, allocations: 0 / 0.537 GB, free: 8.48 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.18e-05/0.4365, allocations: 27.36 kB / 0.537 GB, free: 8.469 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004119/0.4369, allocations: 18.69 kB / 0.537 GB, free: 8.461 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005335/0.4375, allocations: 181.9 kB / 0.5372 GB, free: 8.301 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003159/0.4378, allocations: 0.6907 MB / 0.5379 GB, free: 7.598 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.096e-05/0.4378, allocations: 17.08 kB / 0.5379 GB, free: 7.586 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.636e-05/0.4379, allocations: 16.67 kB / 0.5379 GB, free: 7.574 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4379, allocations: 0 / 0.5379 GB, free: 7.574 MB / 398.1 MB Notification: Performance of Templates: time 0.004196/0.4421, allocations: 1.119 MB / 0.539 GB, free: 6.992 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches