Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test1,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.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001084/0.001084, allocations: 113 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001065/0.001065, allocations: 212.9 kB / 19.4 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.333/1.333, allocations: 227.4 MB / 247.6 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.203/0.203, allocations: 46.09 MB / 344.9 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 71.88 kB / 482 MB, free: 4.105 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.2894, allocations: 62.44 MB / 0.5317 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.002583/0.292, allocations: 1.6 MB / 0.5332 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000921/0.293, allocations: 0.5415 MB / 0.5338 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.787e-05/0.293, allocations: 1.312 kB / 0.5338 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001774/0.2932, allocations: 20.44 kB / 0.5338 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002533/0.2935, allocations: 79.56 kB / 0.5339 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002819/0.2938, allocations: 113.4 kB / 0.534 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001503/0.2939, allocations: 66.61 kB / 0.534 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.796e-05/0.294, allocations: 19.28 kB / 0.534 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.849e-05/0.2941, allocations: 20.5 kB / 0.5341 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.542e-05/0.2941, allocations: 26.77 kB / 0.5341 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.432e-05/0.2942, allocations: 1.969 kB / 0.5341 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.543e-05/0.2942, allocations: 37.03 kB / 0.5341 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.304e-05/0.2943, allocations: 11.81 kB / 0.5341 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.32e-05/0.2943, allocations: 24.77 kB / 0.5342 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001467/0.2945, allocations: 80.14 kB / 0.5342 GB, free: 11.65 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.2945, allocations: 0 / 0.5342 GB, free: 11.65 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2945, allocations: 0 / 0.5342 GB, free: 11.65 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.2945, allocations: 0 / 0.5342 GB, free: 11.65 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.0004272/0.2949, allocations: 390.8 kB / 0.5346 GB, free: 11.25 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.088e-05/0.295, allocations: 8.594 kB / 0.5346 GB, free: 11.25 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.779e-05/0.295, allocations: 8.906 kB / 0.5346 GB, free: 11.24 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001582/0.2952, allocations: 193.5 kB / 0.5348 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.596e-06/0.2952, allocations: 384 / 0.5348 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.711e-05/0.2952, allocations: 6.781 kB / 0.5348 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000128/0.2954, allocations: 49.31 kB / 0.5349 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.2954, allocations: 0 / 0.5349 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.2954, allocations: 4 kB / 0.5349 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.2954, allocations: 1.344 kB / 0.5349 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.647e-05/0.2955, allocations: 25.12 kB / 0.5349 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003475/0.2959, allocations: 280.2 kB / 0.5352 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001884/0.2961, allocations: 48.42 kB / 0.5352 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.341e-05/0.2961, allocations: 17.11 kB / 0.5352 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/0.2961, allocations: 0 / 0.5352 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.2962, allocations: 40.02 kB / 0.5353 GB, free: 10.56 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.2962, allocations: 0 / 0.5353 GB, free: 10.56 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005394/0.2967, allocations: 153.9 kB / 0.5354 GB, free: 10.47 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.2968, allocations: 56.72 kB / 0.5355 GB, free: 10.4 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.2969, allocations: 148.5 kB / 0.5356 GB, free: 10.28 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.297e-05/0.2969, allocations: 33.58 kB / 0.5356 GB, free: 10.24 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.477e-05/0.297, allocations: 98.81 kB / 0.5357 GB, free: 10.14 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.044e-05/0.297, allocations: 14.55 kB / 0.5358 GB, free: 10.13 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.02e-05/0.297, allocations: 21.84 kB / 0.5358 GB, free: 10.11 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.2971, allocations: 325.5 kB / 0.5361 GB, free: 9.781 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.502e-05/0.2972, allocations: 20.36 kB / 0.5361 GB, free: 9.773 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.612e-05/0.2973, allocations: 24.34 kB / 0.5361 GB, free: 9.762 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/0.2974, allocations: 50.95 kB / 0.5362 GB, free: 9.734 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.2975, allocations: 0 / 0.5362 GB, free: 9.734 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001894/0.2976, allocations: 87.95 kB / 0.5363 GB, free: 9.676 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.2977, allocations: 4.125 kB / 0.5363 GB, free: 9.676 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.2977, allocations: 5.359 kB / 0.5363 GB, free: 9.672 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.859e-06/0.2977, allocations: 0 / 0.5363 GB, free: 9.672 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.443e-05/0.2978, allocations: 13.56 kB / 0.5363 GB, free: 9.668 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.2978, allocations: 1.375 kB / 0.5363 GB, free: 9.668 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.081e-05/0.2978, allocations: 6.734 kB / 0.5363 GB, free: 9.664 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.2978, allocations: 1.375 kB / 0.5363 GB, free: 9.664 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 7.915e-05/0.2979, allocations: 123.3 kB / 0.5364 GB, free: 9.539 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.207e-05/0.298, allocations: 6.656 kB / 0.5364 GB, free: 9.535 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002304/0.2982, allocations: 97.39 kB / 0.5365 GB, free: 9.465 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.2982, allocations: 0 / 0.5365 GB, free: 9.465 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.2982, allocations: 1.094 kB / 0.5365 GB, free: 9.465 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.2982, allocations: 0 / 0.5365 GB, free: 9.465 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000407/0.2986, allocations: 364.3 kB / 0.5369 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.2986, allocations: 4 kB / 0.5369 GB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.981e-05/0.2987, allocations: 13.61 kB / 0.5369 GB, free: 9.094 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.2987, allocations: 1.094 kB / 0.5369 GB, free: 9.094 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.2987, allocations: 4.281 kB / 0.5369 GB, free: 9.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.2987, allocations: 5 kB / 0.5369 GB, free: 9.086 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2988, allocations: 0 / 0.5369 GB, free: 9.086 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002237/0.299, allocations: 186.9 kB / 0.5371 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.332e-05/0.299, allocations: 83.47 kB / 0.5371 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.299, allocations: 0 / 0.5371 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.297e-05/0.2991, allocations: 12.02 kB / 0.5371 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.12e-05/0.2992, allocations: 5.156 kB / 0.5372 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/0.2992, allocations: 6.656 kB / 0.5372 GB, free: 8.809 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.273e-05/0.2993, allocations: 119.6 kB / 0.5373 GB, free: 8.715 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2993, allocations: 0 / 0.5373 GB, free: 8.715 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002422/0.2995, allocations: 19.62 kB / 0.5373 GB, free: 8.707 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.0009933/0.3005, allocations: 404.9 kB / 0.5377 GB, free: 8.492 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002022/0.3007, allocations: 58.39 kB / 0.5377 GB, free: 8.465 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3007, allocations: 0 / 0.5377 GB, free: 8.465 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.127e-05/0.3008, allocations: 24.8 kB / 0.5378 GB, free: 8.457 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000303/0.3011, allocations: 23.14 kB / 0.5378 GB, free: 8.445 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003849/0.3015, allocations: 204.8 kB / 0.538 GB, free: 8.262 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000236/0.3018, allocations: 0.6988 MB / 0.5387 GB, free: 7.551 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.903e-05/0.3018, allocations: 13.06 kB / 0.5387 GB, free: 7.543 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3018, allocations: 0 / 0.5387 GB, free: 7.543 MB / 398.1 MB Notification: Performance of Templates: time 0.002899/0.3047, allocations: 1.462 MB / 0.5401 GB, free: 6.785 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches