Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.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.Test5,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.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,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.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001131/0.001131, allocations: 114.3 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.00126/0.00126, allocations: 210 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.461/1.461, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2164/0.2164, allocations: 46.11 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.001361, allocations: 76.16 kB / 482 MB, free: 4.012 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3881/0.3895, allocations: 62.44 MB / 0.5317 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.003271/0.3928, allocations: 1.621 MB / 0.5333 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001057/0.3939, allocations: 0.5324 MB / 0.5338 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.994e-05/0.394, allocations: 1.375 kB / 0.5338 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003228/0.3943, allocations: 93.89 kB / 0.5339 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003397/0.3947, allocations: 114.6 kB / 0.534 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002883/0.395, allocations: 91.2 kB / 0.5341 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001818/0.3952, allocations: 81.41 kB / 0.5342 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.3953, allocations: 20.56 kB / 0.5342 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.806e-05/0.3954, allocations: 39.97 kB / 0.5342 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/0.3955, allocations: 55.84 kB / 0.5343 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.523e-05/0.3955, allocations: 3.312 kB / 0.5343 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001032/0.3956, allocations: 41.12 kB / 0.5343 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.09e-05/0.3957, allocations: 29.25 kB / 0.5343 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.715e-05/0.3958, allocations: 37.36 kB / 0.5344 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002088/0.396, allocations: 103.3 kB / 0.5345 GB, free: 11.48 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.396, allocations: 3.938 kB / 0.5345 GB, free: 11.48 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.396, allocations: 0 / 0.5345 GB, free: 11.48 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.396, allocations: 0 / 0.5345 GB, free: 11.48 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.0005244/0.3965, allocations: 423.2 kB / 0.5349 GB, free: 11.05 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.3966, allocations: 9.594 kB / 0.5349 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.944e-05/0.3967, allocations: 14.59 kB / 0.5349 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002224/0.3969, allocations: 200.8 kB / 0.5351 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.3969, allocations: 5.5 kB / 0.5351 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.523e-05/0.3969, allocations: 6.656 kB / 0.5351 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.3971, allocations: 54.39 kB / 0.5352 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.3971, allocations: 1.125 kB / 0.5352 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.3971, allocations: 0 / 0.5352 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.3971, allocations: 1.25 kB / 0.5352 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.694e-05/0.3972, allocations: 34.69 kB / 0.5352 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003964/0.3976, allocations: 300.8 kB / 0.5355 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001072/0.3978, allocations: 47.11 kB / 0.5355 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.844e-05/0.3978, allocations: 15.84 kB / 0.5355 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.3978, allocations: 5.312 kB / 0.5355 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/0.3979, allocations: 34.56 kB / 0.5356 GB, free: 10.33 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.3979, allocations: 1.375 kB / 0.5356 GB, free: 10.33 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008458/0.3987, allocations: 225.6 kB / 0.5358 GB, free: 10.21 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.276e-05/0.3988, allocations: 56.72 kB / 0.5358 GB, free: 10.14 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000221/0.399, allocations: 234.5 kB / 0.5361 GB, free: 9.98 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.399, allocations: 25.7 kB / 0.5361 GB, free: 9.949 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.172e-05/0.3991, allocations: 114.2 kB / 0.5362 GB, free: 9.84 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.946e-05/0.3991, allocations: 28.2 kB / 0.5362 GB, free: 9.816 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.027e-05/0.3992, allocations: 18.44 kB / 0.5362 GB, free: 9.797 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.3993, allocations: 332 kB / 0.5366 GB, free: 9.469 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.279e-05/0.3994, allocations: 21.45 kB / 0.5366 GB, free: 9.461 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.587e-05/0.3995, allocations: 26.09 kB / 0.5366 GB, free: 9.449 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/0.3996, allocations: 64.12 kB / 0.5367 GB, free: 9.414 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.3996, allocations: 0 / 0.5367 GB, free: 9.414 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002022/0.3998, allocations: 104.1 kB / 0.5368 GB, free: 9.348 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.3999, allocations: 7.656 kB / 0.5368 GB, free: 9.348 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.3999, allocations: 4 kB / 0.5368 GB, free: 9.344 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.3999, allocations: 1.031 kB / 0.5368 GB, free: 9.344 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.4, allocations: 17.92 kB / 0.5368 GB, free: 9.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.4, allocations: 1.031 kB / 0.5368 GB, free: 9.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.646e-05/0.4001, allocations: 15.17 kB / 0.5368 GB, free: 9.328 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.4001, allocations: 6.094 kB / 0.5368 GB, free: 9.324 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.000101/0.4002, allocations: 126.7 kB / 0.5369 GB, free: 9.203 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.632e-05/0.4002, allocations: 13.38 kB / 0.537 GB, free: 9.195 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002685/0.4005, allocations: 120.7 kB / 0.5371 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.4005, allocations: 1.094 kB / 0.5371 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.4005, allocations: 1.219 kB / 0.5371 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.4005, allocations: 11.92 kB / 0.5371 GB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005/0.401, allocations: 405 kB / 0.5375 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.401, allocations: 0 / 0.5375 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.301e-05/0.4011, allocations: 22.39 kB / 0.5375 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-06/0.4011, allocations: 5.156 kB / 0.5375 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.4012, allocations: 5.094 kB / 0.5375 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.4012, allocations: 1 kB / 0.5375 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4012, allocations: 4.031 kB / 0.5375 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000243/0.4014, allocations: 201.4 kB / 0.5377 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.42e-05/0.4015, allocations: 91.3 kB / 0.5378 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.952e-05/0.4015, allocations: 2.219 kB / 0.5378 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.34e-05/0.4016, allocations: 15.42 kB / 0.5378 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.798e-05/0.4016, allocations: 7.219 kB / 0.5378 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.4016, allocations: 2.344 kB / 0.5378 GB, free: 8.398 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001595/0.4018, allocations: 181.7 kB / 0.538 GB, free: 8.277 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4018, allocations: 0.9062 kB / 0.538 GB, free: 8.277 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002601/0.4021, allocations: 17.78 kB / 0.538 GB, free: 8.273 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.001082/0.4032, allocations: 458.8 kB / 0.5384 GB, free: 8.035 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002192/0.4034, allocations: 62.64 kB / 0.5385 GB, free: 8.012 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.4034, allocations: 0 / 0.5385 GB, free: 8.012 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.47e-05/0.4035, allocations: 34.33 kB / 0.5385 GB, free: 8 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003661/0.4039, allocations: 38.95 kB / 0.5386 GB, free: 7.973 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005622/0.4044, allocations: 294.2 kB / 0.5388 GB, free: 7.746 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002722/0.4047, allocations: 0.7097 MB / 0.5395 GB, free: 7.035 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.865e-05/0.4048, allocations: 13.91 kB / 0.5396 GB, free: 7.031 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4048, allocations: 3.938 kB / 0.5396 GB, free: 7.027 MB / 398.1 MB Notification: Performance of Templates: time 0.003767/0.4086, allocations: 1.809 MB / 0.5413 GB, free: 6.086 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches