Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.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.CombiTable1Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001276/0.001277, allocations: 117.2 kB / 17.78 MB, free: 5.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001376/0.001377, allocations: 200.6 kB / 18.72 MB, free: 4.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.481/1.481, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2254/0.2254, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.0013, allocations: 72.11 kB / 481.3 MB, free: 4.055 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4188/0.4202, allocations: 62.44 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.003128/0.4233, allocations: 1.62 MB / 0.5326 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009699/0.4243, allocations: 0.5481 MB / 0.5331 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.586e-05/0.4244, allocations: 1.375 kB / 0.5331 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003203/0.4247, allocations: 126 kB / 0.5333 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002991/0.425, allocations: 119.5 kB / 0.5334 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002871/0.4253, allocations: 121.8 kB / 0.5335 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001794/0.4255, allocations: 100.3 kB / 0.5336 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.691e-05/0.4256, allocations: 14.09 kB / 0.5336 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.122e-05/0.4257, allocations: 45.78 kB / 0.5336 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001432/0.4259, allocations: 82.69 kB / 0.5337 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.983e-05/0.4259, allocations: 6.406 kB / 0.5337 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.426, allocations: 49.19 kB / 0.5338 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.763e-05/0.4261, allocations: 28.33 kB / 0.5338 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.785e-05/0.4262, allocations: 42.47 kB / 0.5338 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002169/0.4264, allocations: 120.2 kB / 0.5339 GB, free: 11.46 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.4264, allocations: 0 / 0.5339 GB, free: 11.46 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.4264, allocations: 0 / 0.5339 GB, free: 11.46 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.4264, allocations: 1.125 kB / 0.5339 GB, free: 11.46 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.0006034/0.427, allocations: 440.4 kB / 0.5344 GB, free: 11.01 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.4271, allocations: 13.66 kB / 0.5344 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.141e-05/0.4271, allocations: 15.62 kB / 0.5344 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002422/0.4274, allocations: 217.8 kB / 0.5346 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.4274, allocations: 9.625 kB / 0.5346 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.796e-05/0.4274, allocations: 2.938 kB / 0.5346 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.4276, allocations: 63.48 kB / 0.5347 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.4276, allocations: 0 / 0.5347 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.4276, allocations: 1.375 kB / 0.5347 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.4277, allocations: 0 / 0.5347 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001052/0.4278, allocations: 32.47 kB / 0.5347 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004417/0.4282, allocations: 308.5 kB / 0.535 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001138/0.4283, allocations: 50.98 kB / 0.5351 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.93e-05/0.4284, allocations: 17.11 kB / 0.5351 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.4284, allocations: 1.375 kB / 0.5351 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.4285, allocations: 35.94 kB / 0.5351 GB, free: 10.27 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.4285, allocations: 0 / 0.5351 GB, free: 10.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009738/0.4294, allocations: 253 kB / 0.5353 GB, free: 10.13 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.395e-05/0.4295, allocations: 55.41 kB / 0.5354 GB, free: 10.06 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002922/0.4298, allocations: 283.2 kB / 0.5357 GB, free: 9.879 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.4298, allocations: 26.86 kB / 0.5357 GB, free: 9.848 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.644e-05/0.4299, allocations: 111.6 kB / 0.5358 GB, free: 9.742 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.07e-05/0.4299, allocations: 30.86 kB / 0.5358 GB, free: 9.715 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.902e-05/0.43, allocations: 20.19 kB / 0.5358 GB, free: 9.695 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.4301, allocations: 328.2 kB / 0.5362 GB, free: 9.371 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.698e-05/0.4302, allocations: 31.16 kB / 0.5362 GB, free: 9.355 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.487e-05/0.4303, allocations: 33.05 kB / 0.5362 GB, free: 9.34 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001646/0.4305, allocations: 74.47 kB / 0.5363 GB, free: 9.301 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.4305, allocations: 0 / 0.5363 GB, free: 9.301 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002325/0.4307, allocations: 114.7 kB / 0.5364 GB, free: 9.23 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.4307, allocations: 5.375 kB / 0.5364 GB, free: 9.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.4307, allocations: 3.938 kB / 0.5364 GB, free: 9.227 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.4308, allocations: 1.188 kB / 0.5364 GB, free: 9.227 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.68e-05/0.4309, allocations: 24.86 kB / 0.5364 GB, free: 9.215 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.4309, allocations: 1.094 kB / 0.5364 GB, free: 9.215 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.739e-05/0.4309, allocations: 11.89 kB / 0.5364 GB, free: 9.207 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.4309, allocations: 5.328 kB / 0.5365 GB, free: 9.203 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.0001015/0.431, allocations: 134.5 kB / 0.5366 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.851e-05/0.4311, allocations: 14.69 kB / 0.5366 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003073/0.4314, allocations: 148.5 kB / 0.5367 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.4314, allocations: 1.156 kB / 0.5367 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.4314, allocations: 0 / 0.5367 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.4314, allocations: 5.094 kB / 0.5367 GB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00054/0.432, allocations: 427.9 kB / 0.5372 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.432, allocations: 1.062 kB / 0.5372 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.06e-05/0.4321, allocations: 17.95 kB / 0.5372 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.4321, allocations: 7.969 kB / 0.5372 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.375e-06/0.4321, allocations: 1.375 kB / 0.5372 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.4321, allocations: 9.516 kB / 0.5372 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.4321, allocations: 1.438 kB / 0.5372 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002613/0.4324, allocations: 217.3 kB / 0.5374 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.218e-05/0.4324, allocations: 92.95 kB / 0.5375 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.995e-05/0.4325, allocations: 8.938 kB / 0.5375 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.98e-05/0.4326, allocations: 6.984 kB / 0.5375 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.618e-05/0.4326, allocations: 4.125 kB / 0.5375 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.103e-06/0.4326, allocations: 2.375 kB / 0.5375 GB, free: 8.246 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001773/0.4328, allocations: 212.3 kB / 0.5377 GB, free: 8.117 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4328, allocations: 1.406 kB / 0.5377 GB, free: 8.117 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002507/0.4331, allocations: 18.97 kB / 0.5377 GB, free: 8.113 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.0009651/0.434, allocations: 447.9 kB / 0.5382 GB, free: 7.879 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002398/0.4343, allocations: 83.92 kB / 0.5382 GB, free: 7.84 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.082e-06/0.4343, allocations: 4 kB / 0.5382 GB, free: 7.836 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.44e-05/0.4344, allocations: 41.11 kB / 0.5383 GB, free: 7.82 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003314/0.4347, allocations: 28.05 kB / 0.5383 GB, free: 7.805 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005543/0.4353, allocations: 318 kB / 0.5386 GB, free: 7.586 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002906/0.4356, allocations: 0.7262 MB / 0.5393 GB, free: 6.863 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.788e-05/0.4357, allocations: 21.05 kB / 0.5393 GB, free: 6.852 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.343e-05/0.4357, allocations: 17.39 kB / 0.5394 GB, free: 6.84 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.4357, allocations: 0 / 0.5394 GB, free: 6.84 MB / 398.1 MB Notification: Performance of Templates: time 0.004223/0.4399, allocations: 1.419 MB / 0.5407 GB, free: 6.125 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches