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.00151/0.00151, allocations: 112.4 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.001754/0.001754, allocations: 208 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.437/1.437, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2244/0.2244, allocations: 46.1 MB / 344.9 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001554/0.001554, allocations: 72.09 kB / 482 MB, free: 4.008 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3102/0.3117, allocations: 62.45 MB / 0.5317 GB, free: 13.81 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test28): time 0.002839/0.3146, allocations: 1.675 MB / 0.5333 GB, free: 12.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009076/0.3155, allocations: 0.5493 MB / 0.5339 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.326e-05/0.3156, allocations: 1.375 kB / 0.5339 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000213/0.3158, allocations: 55.17 kB / 0.5339 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003128/0.3162, allocations: 105.8 kB / 0.534 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003078/0.3165, allocations: 129.2 kB / 0.5341 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001532/0.3166, allocations: 83.84 kB / 0.5342 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.3168, allocations: 25.69 kB / 0.5343 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.338e-05/0.3168, allocations: 34.03 kB / 0.5343 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001274/0.317, allocations: 49.58 kB / 0.5343 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/0.317, allocations: 3.344 kB / 0.5343 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001034/0.3171, allocations: 56.81 kB / 0.5344 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.959e-05/0.3172, allocations: 20.77 kB / 0.5344 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.442e-05/0.3172, allocations: 38.36 kB / 0.5344 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001816/0.3174, allocations: 105.2 kB / 0.5345 GB, free: 11.65 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3174, allocations: 1.188 kB / 0.5345 GB, free: 11.65 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3174, allocations: 7.938 kB / 0.5346 GB, free: 11.64 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.3174, allocations: 0 / 0.5346 GB, free: 11.64 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.0005148/0.318, allocations: 424.4 kB / 0.535 GB, free: 11.21 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.318, allocations: 8.938 kB / 0.535 GB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.129e-05/0.318, allocations: 13.94 kB / 0.535 GB, free: 11.2 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001803/0.3182, allocations: 203.3 kB / 0.5352 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.438e-06/0.3182, allocations: 1.5 kB / 0.5352 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.39e-05/0.3183, allocations: 7.688 kB / 0.5352 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/0.3185, allocations: 66.92 kB / 0.5352 GB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.3185, allocations: 5.062 kB / 0.5353 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.248e-06/0.3185, allocations: 0 / 0.5353 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.3185, allocations: 5.109 kB / 0.5353 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001341/0.3186, allocations: 39.47 kB / 0.5353 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003569/0.319, allocations: 301.3 kB / 0.5356 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002375/0.3193, allocations: 63.7 kB / 0.5356 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.338e-05/0.3193, allocations: 24.53 kB / 0.5357 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.615e-05/0.3194, allocations: 1.562 kB / 0.5357 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/0.3194, allocations: 30.56 kB / 0.5357 GB, free: 10.48 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.3194, allocations: 0 / 0.5357 GB, free: 10.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001412/0.3208, allocations: 402.5 kB / 0.5361 GB, free: 10.27 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.605e-05/0.3209, allocations: 60.84 kB / 0.5361 GB, free: 10.2 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001747/0.321, allocations: 189.5 kB / 0.5363 GB, free: 10.06 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.3211, allocations: 30.67 kB / 0.5363 GB, free: 10.03 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.198e-05/0.3211, allocations: 104.4 kB / 0.5364 GB, free: 9.926 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.001e-05/0.3212, allocations: 41.17 kB / 0.5365 GB, free: 9.891 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.162e-05/0.3212, allocations: 24.98 kB / 0.5365 GB, free: 9.867 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.807e-05/0.3213, allocations: 326.5 kB / 0.5368 GB, free: 9.543 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001268/0.3215, allocations: 38.59 kB / 0.5369 GB, free: 9.527 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001174/0.3216, allocations: 44.94 kB / 0.5369 GB, free: 9.508 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002573/0.3218, allocations: 99.53 kB / 0.537 GB, free: 9.457 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.3219, allocations: 1.25 kB / 0.537 GB, free: 9.457 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003166/0.3222, allocations: 149.5 kB / 0.5371 GB, free: 9.367 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.3222, allocations: 4.969 kB / 0.5371 GB, free: 9.367 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.3222, allocations: 1.031 kB / 0.5371 GB, free: 9.367 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.3222, allocations: 0 / 0.5371 GB, free: 9.367 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.3223, allocations: 37.16 kB / 0.5372 GB, free: 9.352 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.3224, allocations: 3.938 kB / 0.5372 GB, free: 9.348 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.156e-05/0.3224, allocations: 6.031 kB / 0.5372 GB, free: 9.348 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/0.3224, allocations: 11.25 kB / 0.5372 GB, free: 9.34 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 8.745e-05/0.3225, allocations: 123.7 kB / 0.5373 GB, free: 9.219 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.33e-05/0.3226, allocations: 13.12 kB / 0.5373 GB, free: 9.211 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003847/0.323, allocations: 170.5 kB / 0.5375 GB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.323, allocations: 5.094 kB / 0.5375 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.323, allocations: 0 / 0.5375 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.323, allocations: 5.141 kB / 0.5375 GB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006342/0.3237, allocations: 470.9 kB / 0.538 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.3237, allocations: 1.719 kB / 0.538 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/0.3238, allocations: 28.69 kB / 0.538 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.3238, allocations: 1.156 kB / 0.538 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.3238, allocations: 5.156 kB / 0.538 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.3238, allocations: 2.469 kB / 0.538 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.3238, allocations: 4 kB / 0.538 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003762/0.3242, allocations: 260.2 kB / 0.5382 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.944e-05/0.3242, allocations: 88.11 kB / 0.5383 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/0.3243, allocations: 1.188 kB / 0.5383 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.795e-05/0.3244, allocations: 10.61 kB / 0.5383 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.123e-05/0.3244, allocations: 16.7 kB / 0.5384 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.3244, allocations: 4 kB / 0.5384 GB, free: 8.324 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001212/0.3246, allocations: 146 kB / 0.5385 GB, free: 8.223 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3246, allocations: 0 / 0.5385 GB, free: 8.223 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004115/0.325, allocations: 29.45 kB / 0.5385 GB, free: 8.211 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.001011/0.326, allocations: 451.4 kB / 0.539 GB, free: 7.98 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003147/0.3263, allocations: 105.4 kB / 0.5391 GB, free: 7.938 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3263, allocations: 1.344 kB / 0.5391 GB, free: 7.938 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000146/0.3265, allocations: 66.83 kB / 0.5391 GB, free: 7.906 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003374/0.3268, allocations: 28.02 kB / 0.5391 GB, free: 7.887 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005464/0.3274, allocations: 306.2 kB / 0.5394 GB, free: 7.645 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002779/0.3277, allocations: 0.7166 MB / 0.5401 GB, free: 6.926 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.669e-05/0.3277, allocations: 15.16 kB / 0.5402 GB, free: 6.918 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3277, allocations: 1.312 kB / 0.5402 GB, free: 6.918 MB / 398.1 MB Notification: Performance of Templates: time 0.003543/0.3313, allocations: 1.947 MB / 0.5421 GB, free: 5.906 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