Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.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.CombiTable2Ds.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001542/0.001542, allocations: 109 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00178/0.00178, allocations: 214.8 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.499/1.499, allocations: 227.4 MB / 247.6 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2384/0.2384, allocations: 46.1 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 80.09 kB / 482 MB, free: 4.055 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4047/0.4061, allocations: 62.42 MB / 0.5317 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test28): time 0.003339/0.4095, allocations: 1.681 MB / 0.5333 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00105/0.4105, allocations: 0.5583 MB / 0.5339 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.757e-05/0.4106, allocations: 1.375 kB / 0.5339 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00026/0.4109, allocations: 55.17 kB / 0.5339 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003636/0.4113, allocations: 100.6 kB / 0.534 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00038/0.4117, allocations: 130.6 kB / 0.5341 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001664/0.4118, allocations: 87.5 kB / 0.5342 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.412, allocations: 21.84 kB / 0.5342 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.062e-05/0.412, allocations: 29.61 kB / 0.5343 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001151/0.4122, allocations: 53.81 kB / 0.5343 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.4122, allocations: 4.125 kB / 0.5343 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.4123, allocations: 52.92 kB / 0.5344 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.372e-05/0.4124, allocations: 28.16 kB / 0.5344 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.382e-05/0.4124, allocations: 37.23 kB / 0.5344 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001956/0.4126, allocations: 106 kB / 0.5345 GB, free: 11.45 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.615e-06/0.4126, allocations: 1.344 kB / 0.5345 GB, free: 11.45 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.4127, allocations: 3.938 kB / 0.5345 GB, free: 11.45 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.4127, allocations: 0 / 0.5345 GB, free: 11.45 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.0005563/0.4132, allocations: 420.4 kB / 0.5349 GB, free: 11.03 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.4133, allocations: 8.656 kB / 0.535 GB, free: 11.03 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.473e-05/0.4133, allocations: 14.81 kB / 0.535 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002084/0.4135, allocations: 206.6 kB / 0.5352 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.4136, allocations: 1.188 kB / 0.5352 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.04e-05/0.4136, allocations: 7.469 kB / 0.5352 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.4138, allocations: 63.7 kB / 0.5352 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.4138, allocations: 5.562 kB / 0.5352 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.4138, allocations: 0 / 0.5352 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.4138, allocations: 0.75 kB / 0.5352 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001417/0.414, allocations: 50.22 kB / 0.5353 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004178/0.4144, allocations: 306 kB / 0.5356 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000245/0.4147, allocations: 54.75 kB / 0.5356 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.496e-05/0.4147, allocations: 29.98 kB / 0.5357 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.4148, allocations: 0 / 0.5357 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.4148, allocations: 35.94 kB / 0.5357 GB, free: 10.28 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 8.72e-07/0.4148, allocations: 0 / 0.5357 GB, free: 10.28 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001396/0.4162, allocations: 393.5 kB / 0.5361 GB, free: 10.09 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.905e-05/0.4163, allocations: 60.69 kB / 0.5361 GB, free: 10.02 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002097/0.4165, allocations: 194.5 kB / 0.5363 GB, free: 9.871 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.4165, allocations: 25.7 kB / 0.5363 GB, free: 9.84 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.572e-05/0.4166, allocations: 109.5 kB / 0.5364 GB, free: 9.734 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.481e-05/0.4166, allocations: 39.56 kB / 0.5365 GB, free: 9.699 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.895e-05/0.4167, allocations: 25.61 kB / 0.5365 GB, free: 9.676 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.4168, allocations: 326.5 kB / 0.5368 GB, free: 9.352 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/0.417, allocations: 38.41 kB / 0.5369 GB, free: 9.336 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001121/0.4171, allocations: 49.34 kB / 0.5369 GB, free: 9.312 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002321/0.4173, allocations: 96.56 kB / 0.537 GB, free: 9.266 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.4173, allocations: 0 / 0.537 GB, free: 9.266 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003033/0.4176, allocations: 149.7 kB / 0.5371 GB, free: 9.176 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.4177, allocations: 9.562 kB / 0.5371 GB, free: 9.172 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.4177, allocations: 0 / 0.5371 GB, free: 9.172 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.4177, allocations: 0.875 kB / 0.5371 GB, free: 9.172 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.4178, allocations: 28.61 kB / 0.5372 GB, free: 9.164 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.4178, allocations: 3.984 kB / 0.5372 GB, free: 9.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.595e-05/0.4179, allocations: 6.812 kB / 0.5372 GB, free: 9.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.437e-06/0.4179, allocations: 2.281 kB / 0.5372 GB, free: 9.16 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.0001022/0.418, allocations: 132 kB / 0.5373 GB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.765e-05/0.4181, allocations: 13.47 kB / 0.5373 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003863/0.4185, allocations: 166.5 kB / 0.5375 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.4185, allocations: 5.25 kB / 0.5375 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.4185, allocations: 0.5625 kB / 0.5375 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.4185, allocations: 0 / 0.5375 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006567/0.4192, allocations: 472.5 kB / 0.5379 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.4192, allocations: 0 / 0.5379 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/0.4193, allocations: 28.86 kB / 0.538 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.4193, allocations: 1.094 kB / 0.538 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.4193, allocations: 14.27 kB / 0.538 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.4193, allocations: 1 kB / 0.538 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4193, allocations: 5.188 kB / 0.538 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003588/0.4197, allocations: 256 kB / 0.5382 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.464e-05/0.4197, allocations: 83.48 kB / 0.5383 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.989e-05/0.4198, allocations: 10.28 kB / 0.5383 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.076e-05/0.4199, allocations: 10.7 kB / 0.5383 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.408e-05/0.4199, allocations: 3.719 kB / 0.5383 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.4199, allocations: 11.61 kB / 0.5383 GB, free: 8.141 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001269/0.4201, allocations: 146 kB / 0.5385 GB, free: 8.039 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4201, allocations: 0.75 kB / 0.5385 GB, free: 8.039 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002771/0.4204, allocations: 29.89 kB / 0.5385 GB, free: 8.027 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.00104/0.4214, allocations: 455.1 kB / 0.5389 GB, free: 7.793 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000319/0.4217, allocations: 110.3 kB / 0.5391 GB, free: 7.746 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.4217, allocations: 0 / 0.5391 GB, free: 7.746 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001477/0.4219, allocations: 62.95 kB / 0.5391 GB, free: 7.719 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003657/0.4223, allocations: 33.45 kB / 0.5391 GB, free: 7.703 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006475/0.4229, allocations: 316.2 kB / 0.5394 GB, free: 7.453 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000428/0.4234, allocations: 0.7081 MB / 0.5401 GB, free: 6.742 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.812e-05/0.4234, allocations: 20.34 kB / 0.5402 GB, free: 6.73 MB / 398.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4234, allocations: 0 / 0.5402 GB, free: 6.73 MB / 398.1 MB Notification: Performance of Templates: time 0.003877/0.4273, allocations: 1.942 MB / 0.5421 GB, free: 5.719 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches