Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test30,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.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00143/0.00143, allocations: 111.7 kB / 18.45 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001379/0.001379, allocations: 213.9 kB / 19.41 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.484/1.484, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2335/0.2335, allocations: 46.1 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001536, allocations: 80.08 kB / 482 MB, free: 4.039 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4083/0.4099, allocations: 62.43 MB / 0.5317 GB, free: 13.83 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.003239/0.4132, allocations: 1.673 MB / 0.5333 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001132/0.4143, allocations: 0.5794 MB / 0.5339 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.376e-05/0.4144, allocations: 5.375 kB / 0.5339 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003/0.4147, allocations: 75.33 kB / 0.534 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000318/0.4151, allocations: 101.8 kB / 0.5341 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000468/0.4155, allocations: 188.5 kB / 0.5342 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001954/0.4157, allocations: 93.17 kB / 0.5343 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.4159, allocations: 18.34 kB / 0.5343 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.825e-05/0.4159, allocations: 41.27 kB / 0.5344 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.4161, allocations: 62.86 kB / 0.5344 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.661e-05/0.4161, allocations: 3.344 kB / 0.5345 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001203/0.4162, allocations: 49.61 kB / 0.5345 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.134e-05/0.4163, allocations: 26.72 kB / 0.5345 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.764e-05/0.4164, allocations: 42.53 kB / 0.5346 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002241/0.4166, allocations: 117.5 kB / 0.5347 GB, free: 11.58 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.4166, allocations: 3.938 kB / 0.5347 GB, free: 11.58 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4166, allocations: 0 / 0.5347 GB, free: 11.58 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.447e-06/0.4167, allocations: 0 / 0.5347 GB, free: 11.58 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.0005635/0.4172, allocations: 427.3 kB / 0.5351 GB, free: 11.15 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.4173, allocations: 9.125 kB / 0.5351 GB, free: 11.15 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.545e-05/0.4173, allocations: 10.62 kB / 0.5351 GB, free: 11.14 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002127/0.4175, allocations: 205.1 kB / 0.5353 GB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.4176, allocations: 5.438 kB / 0.5353 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.717e-05/0.4176, allocations: 7.984 kB / 0.5353 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001948/0.4178, allocations: 73.12 kB / 0.5354 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.4178, allocations: 3.938 kB / 0.5354 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.4178, allocations: 5.156 kB / 0.5354 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/0.4178, allocations: 1.125 kB / 0.5354 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001529/0.418, allocations: 45.36 kB / 0.5354 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004939/0.4185, allocations: 328.9 kB / 0.5358 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000255/0.4188, allocations: 56.48 kB / 0.5358 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.136e-05/0.4189, allocations: 34.72 kB / 0.5358 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.4189, allocations: 0 / 0.5358 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/0.4189, allocations: 31.94 kB / 0.5359 GB, free: 10.39 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 8.61e-07/0.4189, allocations: 0 / 0.5359 GB, free: 10.39 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001429/0.4204, allocations: 435.1 kB / 0.5363 GB, free: 10.17 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.858e-05/0.4204, allocations: 56.41 kB / 0.5363 GB, free: 10.11 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002329/0.4207, allocations: 214.9 kB / 0.5365 GB, free: 9.957 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.4207, allocations: 29.7 kB / 0.5366 GB, free: 9.922 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.525e-05/0.4208, allocations: 106.5 kB / 0.5367 GB, free: 9.82 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.947e-05/0.4208, allocations: 36.28 kB / 0.5367 GB, free: 9.789 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5e-05/0.4209, allocations: 26.55 kB / 0.5367 GB, free: 9.766 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.421, allocations: 326.2 kB / 0.537 GB, free: 9.441 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001365/0.4212, allocations: 56.73 kB / 0.5371 GB, free: 9.414 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001285/0.4213, allocations: 52.64 kB / 0.5371 GB, free: 9.391 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002756/0.4216, allocations: 124.8 kB / 0.5373 GB, free: 9.328 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.4216, allocations: 0 / 0.5373 GB, free: 9.328 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003434/0.4219, allocations: 172.4 kB / 0.5374 GB, free: 9.227 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.422, allocations: 6.031 kB / 0.5374 GB, free: 9.227 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.422, allocations: 0 / 0.5374 GB, free: 9.227 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.422, allocations: 1.312 kB / 0.5374 GB, free: 9.227 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.4221, allocations: 32.41 kB / 0.5375 GB, free: 9.215 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.4221, allocations: 0 / 0.5375 GB, free: 9.215 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.185e-05/0.4222, allocations: 10.48 kB / 0.5375 GB, free: 9.211 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.4222, allocations: 9.938 kB / 0.5375 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 (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.0001135/0.4223, allocations: 135.5 kB / 0.5376 GB, free: 9.074 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.066e-05/0.4224, allocations: 13.88 kB / 0.5376 GB, free: 9.066 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004431/0.4228, allocations: 187.7 kB / 0.5378 GB, free: 8.949 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.4229, allocations: 5.719 kB / 0.5378 GB, free: 8.945 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.4229, allocations: 7.984 kB / 0.5378 GB, free: 8.938 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.4229, allocations: 0.9062 kB / 0.5378 GB, free: 8.938 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007175/0.4236, allocations: 0.4956 MB / 0.5383 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.4236, allocations: 4 kB / 0.5383 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001048/0.4237, allocations: 29.25 kB / 0.5383 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.4237, allocations: 5.062 kB / 0.5383 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.4238, allocations: 6.781 kB / 0.5384 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.4238, allocations: 1.5 kB / 0.5384 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.4238, allocations: 3.938 kB / 0.5384 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003913/0.4242, allocations: 285.9 kB / 0.5386 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.106e-05/0.4242, allocations: 88.3 kB / 0.5387 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.4243, allocations: 2.031 kB / 0.5387 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.288e-05/0.4244, allocations: 14.58 kB / 0.5387 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.34e-05/0.4244, allocations: 8.266 kB / 0.5387 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.327e-06/0.4244, allocations: 2.969 kB / 0.5387 GB, free: 8.129 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001502/0.4246, allocations: 168.5 kB / 0.5389 GB, free: 8.016 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4246, allocations: 7.938 kB / 0.5389 GB, free: 8.008 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002858/0.4249, allocations: 30.77 kB / 0.5389 GB, free: 7.996 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.001106/0.426, allocations: 453.5 kB / 0.5394 GB, free: 7.766 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003652/0.4264, allocations: 128.7 kB / 0.5395 GB, free: 7.711 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.4264, allocations: 0 / 0.5395 GB, free: 7.711 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001735/0.4266, allocations: 71.27 kB / 0.5396 GB, free: 7.68 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003872/0.427, allocations: 24.45 kB / 0.5396 GB, free: 7.664 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000701/0.4277, allocations: 342.1 kB / 0.5399 GB, free: 7.406 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003317/0.428, allocations: 0.7172 MB / 0.5406 GB, free: 6.691 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.544e-05/0.4281, allocations: 25.2 kB / 0.5406 GB, free: 6.676 MB / 398.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4281, allocations: 3.938 kB / 0.5406 GB, free: 6.672 MB / 398.1 MB Notification: Performance of Templates: time 0.004409/0.4325, allocations: 2.126 MB / 0.5427 GB, free: 5.566 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches