Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001194/0.001194, allocations: 122.8 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001127/0.001127, allocations: 205.2 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.516/1.516, allocations: 227.4 MB / 246.9 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3152/0.3152, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001634/0.001634, allocations: 79.88 kB / 481.3 MB, free: 4.023 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4243/0.426, allocations: 62.43 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.003098/0.4291, allocations: 1.615 MB / 0.5326 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001167/0.4303, allocations: 0.535 MB / 0.5331 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.251e-05/0.4304, allocations: 0 / 0.5331 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005107/0.431, allocations: 126.1 kB / 0.5332 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004427/0.4314, allocations: 127.8 kB / 0.5334 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003801/0.4318, allocations: 94.64 kB / 0.5335 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002786/0.4321, allocations: 101.2 kB / 0.5335 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001598/0.4323, allocations: 16.25 kB / 0.5336 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.414e-05/0.4324, allocations: 53.81 kB / 0.5336 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001843/0.4326, allocations: 81.16 kB / 0.5337 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.206e-05/0.4326, allocations: 4.125 kB / 0.5337 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001503/0.4328, allocations: 48.84 kB / 0.5337 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.185e-05/0.4329, allocations: 26.86 kB / 0.5338 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.374e-05/0.4329, allocations: 34.56 kB / 0.5338 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003143/0.4333, allocations: 128 kB / 0.5339 GB, free: 11.45 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.4333, allocations: 0 / 0.5339 GB, free: 11.45 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.946e-06/0.4333, allocations: 0 / 0.5339 GB, free: 11.45 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.132e-05/0.4333, allocations: 1.375 kB / 0.5339 GB, free: 11.45 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000751/0.4341, allocations: 444.7 kB / 0.5343 GB, free: 11 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.4341, allocations: 9.344 kB / 0.5344 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.822e-05/0.4342, allocations: 19.38 kB / 0.5344 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002295/0.4344, allocations: 217.2 kB / 0.5346 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.4344, allocations: 2.406 kB / 0.5346 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.047e-05/0.4345, allocations: 10.61 kB / 0.5346 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.4346, allocations: 50.06 kB / 0.5346 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.4347, allocations: 1.188 kB / 0.5346 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.4347, allocations: 0 / 0.5346 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.4347, allocations: 0.9688 kB / 0.5346 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000103/0.4348, allocations: 30.88 kB / 0.5347 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004348/0.4352, allocations: 308.1 kB / 0.535 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/0.4354, allocations: 41.98 kB / 0.535 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.094e-05/0.4354, allocations: 20.61 kB / 0.535 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.537e-05/0.4355, allocations: 4.938 kB / 0.535 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/0.4355, allocations: 31.56 kB / 0.5351 GB, free: 10.27 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.4355, allocations: 4 kB / 0.5351 GB, free: 10.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009395/0.4365, allocations: 240 kB / 0.5353 GB, free: 10.13 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.477e-05/0.4365, allocations: 52.56 kB / 0.5353 GB, free: 10.07 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003099/0.4368, allocations: 278.9 kB / 0.5356 GB, free: 9.891 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.406e-05/0.4369, allocations: 30.95 kB / 0.5356 GB, free: 9.855 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.049e-05/0.437, allocations: 112.1 kB / 0.5357 GB, free: 9.75 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.597e-05/0.437, allocations: 31.14 kB / 0.5358 GB, free: 9.723 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.205e-05/0.4371, allocations: 19.44 kB / 0.5358 GB, free: 9.703 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.4372, allocations: 327.1 kB / 0.5361 GB, free: 9.379 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.004e-05/0.4373, allocations: 30.19 kB / 0.5361 GB, free: 9.363 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.187e-05/0.4374, allocations: 26.23 kB / 0.5362 GB, free: 9.352 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001547/0.4375, allocations: 72.11 kB / 0.5362 GB, free: 9.309 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.4375, allocations: 0 / 0.5362 GB, free: 9.309 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000202/0.4377, allocations: 101.3 kB / 0.5363 GB, free: 9.246 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.4378, allocations: 9.688 kB / 0.5363 GB, free: 9.242 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.4378, allocations: 0 / 0.5363 GB, free: 9.242 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.4378, allocations: 1.5 kB / 0.5363 GB, free: 9.242 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.4379, allocations: 16.8 kB / 0.5364 GB, free: 9.238 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.439e-06/0.4379, allocations: 5.375 kB / 0.5364 GB, free: 9.234 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.538e-05/0.438, allocations: 10.61 kB / 0.5364 GB, free: 9.227 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.438, allocations: 2.438 kB / 0.5364 GB, free: 9.227 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 0.0001103/0.4381, allocations: 137 kB / 0.5365 GB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.649e-05/0.4381, allocations: 14.66 kB / 0.5365 GB, free: 9.09 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002817/0.4384, allocations: 119.2 kB / 0.5366 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.4384, allocations: 1.406 kB / 0.5366 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.4385, allocations: 4 kB / 0.5366 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/0.4385, allocations: 3.938 kB / 0.5366 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005178/0.439, allocations: 416.3 kB / 0.537 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.439, allocations: 0 / 0.537 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.411e-05/0.4391, allocations: 22.27 kB / 0.5371 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.4391, allocations: 4.812 kB / 0.5371 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.789e-06/0.4391, allocations: 5 kB / 0.5371 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.4391, allocations: 5.281 kB / 0.5371 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.4391, allocations: 0.9688 kB / 0.5371 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002612/0.4394, allocations: 206 kB / 0.5373 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.876e-05/0.4395, allocations: 92.36 kB / 0.5374 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.341e-05/0.4395, allocations: 5.062 kB / 0.5374 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.744e-05/0.4396, allocations: 11.17 kB / 0.5374 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.599e-05/0.4396, allocations: 3.344 kB / 0.5374 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.4396, allocations: 7.188 kB / 0.5374 GB, free: 8.293 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002079/0.4398, allocations: 212.1 kB / 0.5376 GB, free: 8.164 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4398, allocations: 1.156 kB / 0.5376 GB, free: 8.164 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002708/0.4401, allocations: 22.59 kB / 0.5376 GB, free: 8.156 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 (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 Backend phase and start with SimCode phase: time 0.001044/0.4412, allocations: 456.1 kB / 0.538 GB, free: 7.918 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002224/0.4414, allocations: 61.67 kB / 0.5381 GB, free: 7.895 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.4414, allocations: 1.125 kB / 0.5381 GB, free: 7.895 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.275e-05/0.4415, allocations: 44.7 kB / 0.5381 GB, free: 7.871 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000367/0.4419, allocations: 23.25 kB / 0.5382 GB, free: 7.859 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005992/0.4425, allocations: 304 kB / 0.5385 GB, free: 7.648 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004189/0.4429, allocations: 0.72 MB / 0.5392 GB, free: 6.934 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.959e-05/0.443, allocations: 11.67 kB / 0.5392 GB, free: 6.926 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.425e-05/0.443, allocations: 17.11 kB / 0.5392 GB, free: 6.914 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.443, allocations: 1.219 kB / 0.5392 GB, free: 6.914 MB / 398.1 MB Notification: Performance of Templates: time 0.004624/0.4477, allocations: 1.394 MB / 0.5406 GB, free: 6.203 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches