Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001647/0.001647, allocations: 107.8 kB / 18.45 MB, free: 4.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002172/0.002172, allocations: 209.9 kB / 19.4 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.436/1.436, allocations: 227.4 MB / 247.6 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2047/0.2047, allocations: 46.1 MB / 345 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 75.88 kB / 482 MB, free: 4.098 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/0.2851, allocations: 62.44 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.002734/0.2878, allocations: 1.599 MB / 0.5332 GB, free: 12.37 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001675/0.2895, allocations: 1.163 MB / 0.5344 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.119e-05/0.2896, allocations: 1.312 kB / 0.5344 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002051/0.2898, allocations: 36.52 kB / 0.5344 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003031/0.2901, allocations: 77.12 kB / 0.5345 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003196/0.2905, allocations: 107.3 kB / 0.5346 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001534/0.2906, allocations: 71.22 kB / 0.5346 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.305e-05/0.2907, allocations: 10.5 kB / 0.5347 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.184e-05/0.2908, allocations: 30.36 kB / 0.5347 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001375/0.2909, allocations: 34.53 kB / 0.5347 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.945e-05/0.291, allocations: 5.188 kB / 0.5347 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001867/0.2912, allocations: 98.48 kB / 0.5348 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.629e-05/0.2912, allocations: 19.27 kB / 0.5348 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.64e-05/0.2913, allocations: 16.53 kB / 0.5349 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002761/0.2915, allocations: 146.9 kB / 0.535 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.2916, allocations: 1.25 kB / 0.535 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2916, allocations: 0 / 0.535 GB, free: 11.05 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.2916, allocations: 0 / 0.535 GB, free: 11.05 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000494/0.2921, allocations: 400.4 kB / 0.5354 GB, free: 10.64 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.2921, allocations: 9.219 kB / 0.5354 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.194e-05/0.2922, allocations: 8.688 kB / 0.5354 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001979/0.2924, allocations: 193.7 kB / 0.5356 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-06/0.2924, allocations: 1.75 kB / 0.5356 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.1e-05/0.2924, allocations: 1.75 kB / 0.5356 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.2926, allocations: 71.83 kB / 0.5357 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.2926, allocations: 5.375 kB / 0.5357 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.2926, allocations: 0 / 0.5357 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.2926, allocations: 5.375 kB / 0.5357 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.338e-05/0.2927, allocations: 25.72 kB / 0.5357 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003834/0.2931, allocations: 288.2 kB / 0.536 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000208/0.2933, allocations: 52.3 kB / 0.536 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.555e-05/0.2934, allocations: 19.73 kB / 0.536 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/0.2934, allocations: 1.375 kB / 0.536 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.2934, allocations: 34.64 kB / 0.5361 GB, free: 9.918 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.233e-06/0.2935, allocations: 1.375 kB / 0.5361 GB, free: 9.918 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005992/0.2941, allocations: 153.8 kB / 0.5362 GB, free: 9.824 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.643e-05/0.2941, allocations: 82.48 kB / 0.5363 GB, free: 9.727 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001456/0.2943, allocations: 141.3 kB / 0.5364 GB, free: 9.605 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.2943, allocations: 27.08 kB / 0.5365 GB, free: 9.574 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.676e-05/0.2944, allocations: 90.89 kB / 0.5365 GB, free: 9.484 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.595e-05/0.2944, allocations: 26.39 kB / 0.5366 GB, free: 9.461 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.712e-05/0.2944, allocations: 13.84 kB / 0.5366 GB, free: 9.445 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.2946, allocations: 325.5 kB / 0.5369 GB, free: 9.121 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.646e-05/0.2946, allocations: 22.98 kB / 0.5369 GB, free: 9.109 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.077e-05/0.2947, allocations: 36.42 kB / 0.5369 GB, free: 9.082 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001432/0.2949, allocations: 50.97 kB / 0.537 GB, free: 9.055 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.2949, allocations: 1.219 kB / 0.537 GB, free: 9.055 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002038/0.2951, allocations: 83.3 kB / 0.5371 GB, free: 9 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.2951, allocations: 8.562 kB / 0.5371 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.2951, allocations: 1.5 kB / 0.5371 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.2951, allocations: 0 / 0.5371 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.972e-05/0.2952, allocations: 13.95 kB / 0.5371 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.2952, allocations: 0 / 0.5371 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.174e-05/0.2953, allocations: 11.27 kB / 0.5371 GB, free: 8.984 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.2953, allocations: 10.22 kB / 0.5371 GB, free: 8.977 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 (5): * Single equations (assignments): 5 * 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.399e-05/0.2954, allocations: 113.2 kB / 0.5372 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.706e-05/0.2954, allocations: 4.312 kB / 0.5372 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002552/0.2957, allocations: 108.6 kB / 0.5373 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.2957, allocations: 0 / 0.5373 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.2957, allocations: 5.188 kB / 0.5373 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.2957, allocations: 0 / 0.5373 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004556/0.2962, allocations: 355.1 kB / 0.5377 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.2962, allocations: 5.531 kB / 0.5377 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.186e-05/0.2963, allocations: 16.48 kB / 0.5377 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.2963, allocations: 1.062 kB / 0.5377 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.2963, allocations: 5.156 kB / 0.5377 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.2963, allocations: 3.938 kB / 0.5377 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2963, allocations: 0 / 0.5377 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002373/0.2966, allocations: 183.4 kB / 0.5379 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.571e-05/0.2966, allocations: 79.2 kB / 0.538 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.967e-05/0.2966, allocations: 4.812 kB / 0.538 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.228e-05/0.2967, allocations: 10.92 kB / 0.538 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.074e-05/0.2968, allocations: 6.281 kB / 0.538 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.2968, allocations: 1.062 kB / 0.538 GB, free: 8.129 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.182e-05/0.2969, allocations: 116.6 kB / 0.5381 GB, free: 8.035 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.663e-06/0.2969, allocations: 0 / 0.5381 GB, free: 8.035 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003038/0.2972, allocations: 44.72 kB / 0.5381 GB, free: 8.016 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.00108/0.2983, allocations: 498.1 kB / 0.5386 GB, free: 7.758 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002182/0.2985, allocations: 54.98 kB / 0.5387 GB, free: 7.734 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2985, allocations: 0 / 0.5387 GB, free: 7.734 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.71e-05/0.2986, allocations: 33.2 kB / 0.5387 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.0003227/0.2989, allocations: 18.23 kB / 0.5387 GB, free: 7.711 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004034/0.2994, allocations: 199.3 kB / 0.5389 GB, free: 7.531 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002593/0.2996, allocations: 0.6933 MB / 0.5396 GB, free: 6.824 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.341e-05/0.2997, allocations: 23.48 kB / 0.5396 GB, free: 6.812 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2997, allocations: 0 / 0.5396 GB, free: 6.812 MB / 398.1 MB Notification: Performance of Templates: time 0.003878/0.3036, allocations: 1.959 MB / 0.5415 GB, free: 5.805 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches