Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001136/0.001135, allocations: 121.7 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00117/0.00117, allocations: 212.8 kB / 19.41 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.357/1.357, 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.2029/0.2029, allocations: 46.1 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 80.09 kB / 482 MB, free: 4.023 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2908/0.2923, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.002755/0.2951, allocations: 1.611 MB / 0.5333 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009922/0.2961, allocations: 0.5432 MB / 0.5338 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.047e-05/0.2962, allocations: 1.594 kB / 0.5338 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002941/0.2965, allocations: 81.19 kB / 0.5339 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003446/0.2968, allocations: 102.8 kB / 0.534 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000345/0.2972, allocations: 113 kB / 0.5341 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002084/0.2974, allocations: 84.94 kB / 0.5342 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.9e-05/0.2975, allocations: 17.61 kB / 0.5342 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.093e-05/0.2976, allocations: 38.95 kB / 0.5342 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001147/0.2977, allocations: 56.7 kB / 0.5343 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.894e-05/0.2977, allocations: 2.75 kB / 0.5343 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001098/0.2978, allocations: 50.23 kB / 0.5343 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.383e-05/0.2979, allocations: 22.73 kB / 0.5343 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.528e-05/0.298, allocations: 34.61 kB / 0.5344 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002136/0.2982, allocations: 106.1 kB / 0.5345 GB, free: 11.51 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2982, allocations: 0 / 0.5345 GB, free: 11.51 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2982, allocations: 0 / 0.5345 GB, free: 11.51 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.2982, allocations: 0 / 0.5345 GB, free: 11.51 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000586/0.2988, allocations: 417.4 kB / 0.5349 GB, free: 11.09 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.2988, allocations: 9.625 kB / 0.5349 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.728e-05/0.2989, allocations: 14.34 kB / 0.5349 GB, free: 11.08 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001948/0.2991, allocations: 205.2 kB / 0.5351 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.2991, allocations: 1.75 kB / 0.5351 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.059e-05/0.2991, allocations: 1.75 kB / 0.5351 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/0.2993, allocations: 63.53 kB / 0.5352 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.2994, allocations: 3.906 kB / 0.5352 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.2994, allocations: 1.375 kB / 0.5352 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.2994, allocations: 0 / 0.5352 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.902e-05/0.2995, allocations: 28.42 kB / 0.5352 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004028/0.2999, allocations: 308.4 kB / 0.5355 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/0.3, allocations: 44.38 kB / 0.5355 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.338e-05/0.3001, allocations: 23.75 kB / 0.5355 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/0.3001, allocations: 5.359 kB / 0.5355 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.658e-05/0.3002, allocations: 35.94 kB / 0.5356 GB, free: 10.36 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 3.887e-06/0.3002, allocations: 0 / 0.5356 GB, free: 10.36 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009838/0.3012, allocations: 238.1 kB / 0.5358 GB, free: 10.23 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.593e-05/0.3013, allocations: 56.7 kB / 0.5359 GB, free: 10.16 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000213/0.3015, allocations: 218.2 kB / 0.5361 GB, free: 10.01 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.3015, allocations: 25.7 kB / 0.5361 GB, free: 9.98 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.535e-05/0.3016, allocations: 102.7 kB / 0.5362 GB, free: 9.883 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.072e-05/0.3016, allocations: 26.72 kB / 0.5362 GB, free: 9.859 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-05/0.3016, allocations: 23.23 kB / 0.5362 GB, free: 9.836 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.3018, allocations: 327.3 kB / 0.5366 GB, free: 9.512 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.98e-05/0.3019, allocations: 23.77 kB / 0.5366 GB, free: 9.504 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001132/0.302, allocations: 37.23 kB / 0.5366 GB, free: 9.484 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001727/0.3022, allocations: 77.94 kB / 0.5367 GB, free: 9.441 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.3022, allocations: 0 / 0.5367 GB, free: 9.441 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002355/0.3024, allocations: 112.7 kB / 0.5368 GB, free: 9.371 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.3024, allocations: 6.031 kB / 0.5368 GB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.3024, allocations: 0 / 0.5368 GB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.3025, allocations: 1.344 kB / 0.5368 GB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.3026, allocations: 17.95 kB / 0.5368 GB, free: 9.367 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.3026, allocations: 4 kB / 0.5368 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.993e-05/0.3027, allocations: 11.16 kB / 0.5368 GB, free: 9.355 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-06/0.3027, allocations: 6.188 kB / 0.5368 GB, free: 9.352 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 (8): * Single equations (assignments): 8 * 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.0001048/0.3028, allocations: 133.4 kB / 0.537 GB, free: 9.223 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.041e-05/0.3028, allocations: 12.34 kB / 0.537 GB, free: 9.215 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003182/0.3032, allocations: 131 kB / 0.5371 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.3032, allocations: 5.188 kB / 0.5371 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.3032, allocations: 0 / 0.5371 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.3032, allocations: 5.312 kB / 0.5371 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005407/0.3038, allocations: 422.6 kB / 0.5375 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.3038, allocations: 1 kB / 0.5375 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/0.3039, allocations: 21.58 kB / 0.5375 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.3039, allocations: 5 kB / 0.5375 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.325e-06/0.3039, allocations: 5.5 kB / 0.5375 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.3039, allocations: 1.281 kB / 0.5375 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.3039, allocations: 0 / 0.5375 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002729/0.3042, allocations: 216.6 kB / 0.5378 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.364e-05/0.3043, allocations: 88.36 kB / 0.5378 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.891e-05/0.3043, allocations: 1.5 kB / 0.5378 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.711e-05/0.3044, allocations: 12.41 kB / 0.5379 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.325e-05/0.3044, allocations: 6.547 kB / 0.5379 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.692e-06/0.3044, allocations: 2.562 kB / 0.5379 GB, free: 8.406 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001399/0.3046, allocations: 167.8 kB / 0.538 GB, free: 8.293 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3046, allocations: 3.938 kB / 0.538 GB, free: 8.289 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003078/0.3049, allocations: 26.45 kB / 0.538 GB, free: 8.277 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001076/0.306, allocations: 457.3 kB / 0.5385 GB, free: 8.039 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002434/0.3062, allocations: 71.31 kB / 0.5386 GB, free: 8.012 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3062, allocations: 0 / 0.5386 GB, free: 8.012 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.978e-05/0.3063, allocations: 44.86 kB / 0.5386 GB, free: 7.992 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003492/0.3067, allocations: 25.12 kB / 0.5386 GB, free: 7.98 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005704/0.3073, allocations: 293 kB / 0.5389 GB, free: 7.75 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002555/0.3075, allocations: 0.7082 MB / 0.5396 GB, free: 7.039 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.201e-05/0.3076, allocations: 18.48 kB / 0.5396 GB, free: 7.031 MB / 398.1 MB Notification: Performance of SimCode: time 1.593e-06/0.3076, allocations: 4 kB / 0.5396 GB, free: 7.027 MB / 398.1 MB Notification: Performance of Templates: time 0.004249/0.3119, allocations: 1.827 MB / 0.5414 GB, free: 6.078 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches