Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.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.CombiTable2Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001443/0.001443, allocations: 112.4 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.001653/0.001653, allocations: 208 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.415/1.415, allocations: 227.4 MB / 247.6 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2401/0.2401, allocations: 46.11 MB / 345 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00201/0.00201, allocations: 72.09 kB / 482 MB, free: 3.988 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4016/0.4036, allocations: 62.44 MB / 0.5317 GB, free: 13.56 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test29): time 0.00325/0.4069, allocations: 1.675 MB / 0.5333 GB, free: 12.26 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001104/0.4081, allocations: 0.58 MB / 0.5339 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.937e-05/0.4081, allocations: 1.375 kB / 0.5339 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002974/0.4085, allocations: 77.95 kB / 0.534 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003002/0.4088, allocations: 98.09 kB / 0.5341 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004525/0.4092, allocations: 177.8 kB / 0.5342 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001872/0.4094, allocations: 95.67 kB / 0.5343 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.4096, allocations: 19.22 kB / 0.5343 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.034e-05/0.4096, allocations: 48.27 kB / 0.5344 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001202/0.4098, allocations: 44.59 kB / 0.5344 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.693e-05/0.4098, allocations: 4.125 kB / 0.5344 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001144/0.4099, allocations: 60.95 kB / 0.5345 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.518e-05/0.41, allocations: 22.8 kB / 0.5345 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.397e-05/0.4101, allocations: 38.34 kB / 0.5345 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000218/0.4103, allocations: 125.5 kB / 0.5347 GB, free: 11.32 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.4103, allocations: 0 / 0.5347 GB, free: 11.32 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4103, allocations: 0 / 0.5347 GB, free: 11.32 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.4103, allocations: 1.375 kB / 0.5347 GB, free: 11.32 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005957/0.4109, allocations: 426.2 kB / 0.5351 GB, free: 10.89 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.411, allocations: 9.875 kB / 0.5351 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.261e-05/0.411, allocations: 14.28 kB / 0.5351 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002275/0.4112, allocations: 201.1 kB / 0.5353 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.4113, allocations: 5.625 kB / 0.5353 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.033e-05/0.4113, allocations: 2.562 kB / 0.5353 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.4115, allocations: 73.16 kB / 0.5354 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.4115, allocations: 1.312 kB / 0.5354 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.4115, allocations: 7.938 kB / 0.5354 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.824e-06/0.4116, allocations: 5.297 kB / 0.5354 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001465/0.4117, allocations: 40.72 kB / 0.5354 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004888/0.4122, allocations: 337.5 kB / 0.5357 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002435/0.4125, allocations: 56.95 kB / 0.5358 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.53e-05/0.4126, allocations: 30.12 kB / 0.5358 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/0.4126, allocations: 9.078 kB / 0.5358 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.4126, allocations: 31.72 kB / 0.5359 GB, free: 10.13 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 3.186e-06/0.4126, allocations: 96 / 0.5359 GB, free: 10.13 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001485/0.4141, allocations: 430.2 kB / 0.5363 GB, free: 9.914 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.4142, allocations: 60.62 kB / 0.5363 GB, free: 9.844 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002451/0.4144, allocations: 211 kB / 0.5365 GB, free: 9.699 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.4144, allocations: 33.69 kB / 0.5366 GB, free: 9.66 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.661e-05/0.4145, allocations: 98.67 kB / 0.5367 GB, free: 9.566 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.32e-05/0.4146, allocations: 39.55 kB / 0.5367 GB, free: 9.531 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.955e-05/0.4146, allocations: 26.95 kB / 0.5367 GB, free: 9.508 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.4148, allocations: 326.5 kB / 0.537 GB, free: 9.184 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.4149, allocations: 56.86 kB / 0.5371 GB, free: 9.156 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001285/0.415, allocations: 48.44 kB / 0.5371 GB, free: 9.137 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002824/0.4153, allocations: 128.1 kB / 0.5373 GB, free: 9.07 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.4153, allocations: 8.969 kB / 0.5373 GB, free: 9.062 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003513/0.4157, allocations: 168.4 kB / 0.5374 GB, free: 8.965 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.4157, allocations: 5.312 kB / 0.5374 GB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.4157, allocations: 1.375 kB / 0.5374 GB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.4158, allocations: 0 / 0.5374 GB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.4159, allocations: 32.38 kB / 0.5375 GB, free: 8.953 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.4159, allocations: 1.156 kB / 0.5375 GB, free: 8.953 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.236e-05/0.416, allocations: 9.453 kB / 0.5375 GB, free: 8.949 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.416, allocations: 7.094 kB / 0.5375 GB, free: 8.945 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 (11): * Single equations (assignments): 11 * 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.0001161/0.4161, allocations: 139.4 kB / 0.5376 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.018e-05/0.4162, allocations: 13.22 kB / 0.5376 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004473/0.4166, allocations: 184.5 kB / 0.5378 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.4166, allocations: 5.031 kB / 0.5378 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.4166, allocations: 4 kB / 0.5378 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.4166, allocations: 5.047 kB / 0.5378 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007442/0.4174, allocations: 0.5028 MB / 0.5383 GB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.4174, allocations: 1.219 kB / 0.5383 GB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001088/0.4175, allocations: 28.17 kB / 0.5383 GB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.4175, allocations: 5.016 kB / 0.5383 GB, free: 8.215 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.4176, allocations: 6.562 kB / 0.5383 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.4176, allocations: 5.5 kB / 0.5384 GB, free: 8.207 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.4176, allocations: 1.344 kB / 0.5384 GB, free: 8.207 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004005/0.418, allocations: 275.9 kB / 0.5386 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.98e-05/0.4181, allocations: 89.48 kB / 0.5387 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/0.4181, allocations: 1.219 kB / 0.5387 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.973e-05/0.4182, allocations: 18.52 kB / 0.5387 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.828e-05/0.4182, allocations: 12.23 kB / 0.5387 GB, free: 7.867 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.4183, allocations: 3.781 kB / 0.5387 GB, free: 7.867 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001587/0.4184, allocations: 167.7 kB / 0.5389 GB, free: 7.754 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4184, allocations: 0 / 0.5389 GB, free: 7.754 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002758/0.4187, allocations: 27.16 kB / 0.5389 GB, free: 7.746 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001091/0.4198, allocations: 453.5 kB / 0.5394 GB, free: 7.512 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003572/0.4202, allocations: 136.9 kB / 0.5395 GB, free: 7.449 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.4202, allocations: 0 / 0.5395 GB, free: 7.449 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001689/0.4204, allocations: 71.7 kB / 0.5396 GB, free: 7.418 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003762/0.4207, allocations: 23.08 kB / 0.5396 GB, free: 7.402 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006769/0.4214, allocations: 342.4 kB / 0.5399 GB, free: 7.145 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003085/0.4218, allocations: 0.7208 MB / 0.5406 GB, free: 6.426 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.369e-05/0.4218, allocations: 20.44 kB / 0.5406 GB, free: 6.414 MB / 398.1 MB Notification: Performance of SimCode: time 2.71e-07/0.4218, allocations: 0 / 0.5406 GB, free: 6.414 MB / 398.1 MB Notification: Performance of Templates: time 0.004454/0.4263, allocations: 2.137 MB / 0.5427 GB, free: 5.305 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches