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.001765/0.001765, allocations: 118.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002235/0.002235, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.495/1.495, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2366/0.2366, allocations: 46.1 MB / 344.3 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 80.14 kB / 481.3 MB, free: 4.082 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.422/0.4234, allocations: 62.44 MB / 0.531 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.00305/0.4265, allocations: 1.612 MB / 0.5326 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001078/0.4276, allocations: 0.5374 MB / 0.5331 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.605e-05/0.4277, allocations: 1.375 kB / 0.5331 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004413/0.4282, allocations: 126.8 kB / 0.5332 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003866/0.4286, allocations: 122.4 kB / 0.5334 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003429/0.4289, allocations: 91.19 kB / 0.5334 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002513/0.4292, allocations: 97.16 kB / 0.5335 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001654/0.4294, allocations: 20.25 kB / 0.5336 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001043/0.4295, allocations: 53.81 kB / 0.5336 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001824/0.4297, allocations: 82.53 kB / 0.5337 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.4297, allocations: 2.75 kB / 0.5337 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001232/0.4298, allocations: 42.23 kB / 0.5337 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.432e-05/0.4299, allocations: 30.72 kB / 0.5338 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.296e-05/0.43, allocations: 38.34 kB / 0.5338 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002742/0.4303, allocations: 119.2 kB / 0.5339 GB, free: 11.5 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.4303, allocations: 4 kB / 0.5339 GB, free: 11.5 MB / 398.1 MB Notification: Performance of FrontEnd: time 5.09e-06/0.4303, allocations: 1.344 kB / 0.5339 GB, free: 11.5 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.4303, allocations: 3.938 kB / 0.5339 GB, free: 11.5 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.0007298/0.4311, allocations: 435.2 kB / 0.5343 GB, free: 11.06 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.57e-05/0.4311, allocations: 8.562 kB / 0.5343 GB, free: 11.06 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.698e-05/0.4312, allocations: 15.44 kB / 0.5344 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002671/0.4315, allocations: 209.9 kB / 0.5346 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.4315, allocations: 5.5 kB / 0.5346 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.167e-05/0.4315, allocations: 7.281 kB / 0.5346 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001827/0.4317, allocations: 57.86 kB / 0.5346 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.4317, allocations: 1.312 kB / 0.5346 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.4317, allocations: 3.984 kB / 0.5346 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.4318, allocations: 1.312 kB / 0.5346 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000105/0.4319, allocations: 30.38 kB / 0.5347 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004472/0.4323, allocations: 307.4 kB / 0.535 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001124/0.4325, allocations: 47.38 kB / 0.535 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.633e-05/0.4325, allocations: 23.56 kB / 0.535 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/0.4325, allocations: 1.219 kB / 0.535 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.4326, allocations: 31.5 kB / 0.5351 GB, free: 10.33 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.4326, allocations: 0 / 0.5351 GB, free: 10.33 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009219/0.4335, allocations: 240.8 kB / 0.5353 GB, free: 10.19 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.681e-05/0.4336, allocations: 52.59 kB / 0.5353 GB, free: 10.13 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002925/0.4339, allocations: 278.3 kB / 0.5356 GB, free: 9.949 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.4339, allocations: 27.08 kB / 0.5356 GB, free: 9.918 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.497e-05/0.434, allocations: 115 kB / 0.5357 GB, free: 9.809 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.274e-05/0.434, allocations: 31.67 kB / 0.5358 GB, free: 9.781 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.781e-05/0.4341, allocations: 19.22 kB / 0.5358 GB, free: 9.762 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.4342, allocations: 327 kB / 0.5361 GB, free: 9.438 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.724e-05/0.4343, allocations: 22.98 kB / 0.5361 GB, free: 9.43 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.648e-05/0.4344, allocations: 30.41 kB / 0.5361 GB, free: 9.414 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001601/0.4345, allocations: 71.27 kB / 0.5362 GB, free: 9.371 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4345, allocations: 0 / 0.5362 GB, free: 9.371 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002113/0.4348, allocations: 97.05 kB / 0.5363 GB, free: 9.312 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.4348, allocations: 5.438 kB / 0.5363 GB, free: 9.312 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.4348, allocations: 1.219 kB / 0.5363 GB, free: 9.312 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.4348, allocations: 0 / 0.5363 GB, free: 9.312 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.4349, allocations: 18.48 kB / 0.5363 GB, free: 9.309 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.421e-06/0.4349, allocations: 0 / 0.5363 GB, free: 9.309 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.146e-05/0.435, allocations: 23.17 kB / 0.5364 GB, free: 9.289 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.435, allocations: 2.906 kB / 0.5364 GB, free: 9.289 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.0001058/0.4351, allocations: 136.4 kB / 0.5365 GB, free: 9.16 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.818e-05/0.4352, allocations: 11.28 kB / 0.5365 GB, free: 9.156 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002797/0.4354, allocations: 117.4 kB / 0.5366 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.4355, allocations: 2.094 kB / 0.5366 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.4355, allocations: 0 / 0.5366 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.4355, allocations: 3.938 kB / 0.5366 GB, free: 9.074 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005265/0.436, allocations: 420.2 kB / 0.537 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.436, allocations: 1.125 kB / 0.537 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.11e-05/0.4361, allocations: 21.48 kB / 0.537 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.4361, allocations: 5.188 kB / 0.537 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.4361, allocations: 5.344 kB / 0.537 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.4361, allocations: 1.312 kB / 0.537 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.4361, allocations: 1.344 kB / 0.537 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002626/0.4364, allocations: 213 kB / 0.5373 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.247e-05/0.4365, allocations: 92.47 kB / 0.5373 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.954e-05/0.4365, allocations: 5.219 kB / 0.5373 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.141e-05/0.4366, allocations: 3.656 kB / 0.5373 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.931e-05/0.4366, allocations: 12.17 kB / 0.5374 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.4366, allocations: 10.31 kB / 0.5374 GB, free: 8.352 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001907/0.4368, allocations: 212.4 kB / 0.5376 GB, free: 8.223 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4368, allocations: 0 / 0.5376 GB, free: 8.223 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002532/0.4371, allocations: 19.19 kB / 0.5376 GB, free: 8.219 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.001077/0.4382, allocations: 455.3 kB / 0.538 GB, free: 7.98 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002299/0.4384, allocations: 65.72 kB / 0.5381 GB, free: 7.953 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4384, allocations: 0.5938 kB / 0.5381 GB, free: 7.953 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.57e-05/0.4385, allocations: 41.33 kB / 0.5381 GB, free: 7.934 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003712/0.4389, allocations: 27.33 kB / 0.5382 GB, free: 7.922 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006153/0.4395, allocations: 302 kB / 0.5384 GB, free: 7.715 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002915/0.4398, allocations: 0.7247 MB / 0.5391 GB, free: 6.992 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.287e-05/0.4399, allocations: 16.66 kB / 0.5392 GB, free: 6.98 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.535e-05/0.4399, allocations: 16.89 kB / 0.5392 GB, free: 6.969 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4399, allocations: 0 / 0.5392 GB, free: 6.969 MB / 398.1 MB Notification: Performance of Templates: time 0.004157/0.4441, allocations: 1.389 MB / 0.5405 GB, free: 6.262 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