Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001546/0.001546, allocations: 116.2 kB / 18.46 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001821/0.001821, allocations: 210 kB / 19.4 MB, free: 3.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.393/1.393, 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.2133/0.2133, allocations: 46.11 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 79.88 kB / 482 MB, free: 4.027 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3104/0.312, allocations: 62.44 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.002975/0.315, allocations: 1.656 MB / 0.5333 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001025/0.3161, allocations: 0.5534 MB / 0.5338 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.908e-05/0.3161, allocations: 1.375 kB / 0.5338 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003171/0.3165, allocations: 98.3 kB / 0.5339 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003191/0.3168, allocations: 117.7 kB / 0.534 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002934/0.3171, allocations: 109.1 kB / 0.5342 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001753/0.3173, allocations: 103.7 kB / 0.5343 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001387/0.3175, allocations: 28.86 kB / 0.5343 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.182e-05/0.3175, allocations: 46.12 kB / 0.5343 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.3176, allocations: 62.69 kB / 0.5344 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.919e-05/0.3177, allocations: 4.469 kB / 0.5344 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.932e-05/0.3178, allocations: 47.59 kB / 0.5344 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.663e-05/0.3178, allocations: 34.14 kB / 0.5345 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.882e-05/0.3179, allocations: 44.58 kB / 0.5345 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002478/0.3182, allocations: 132.1 kB / 0.5346 GB, free: 11.38 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.3182, allocations: 0 / 0.5346 GB, free: 11.38 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3182, allocations: 0 / 0.5346 GB, free: 11.38 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.3182, allocations: 0 / 0.5346 GB, free: 11.38 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005163/0.3187, allocations: 436.4 kB / 0.535 GB, free: 10.95 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.3187, allocations: 13.31 kB / 0.5351 GB, free: 10.94 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.935e-05/0.3188, allocations: 11.59 kB / 0.5351 GB, free: 10.94 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001894/0.319, allocations: 210.9 kB / 0.5353 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.183e-06/0.319, allocations: 2.719 kB / 0.5353 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.582e-05/0.319, allocations: 8.688 kB / 0.5353 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002058/0.3192, allocations: 86.62 kB / 0.5354 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.3193, allocations: 1.219 kB / 0.5354 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.076e-05/0.3193, allocations: 0 / 0.5354 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.3193, allocations: 2 kB / 0.5354 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001364/0.3194, allocations: 48.05 kB / 0.5354 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004456/0.3199, allocations: 344.5 kB / 0.5357 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001355/0.32, allocations: 67.36 kB / 0.5358 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.002e-05/0.3201, allocations: 29.22 kB / 0.5358 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.804e-05/0.3202, allocations: 1.375 kB / 0.5358 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.82e-05/0.3202, allocations: 30.56 kB / 0.5359 GB, free: 10.17 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.3202, allocations: 1.375 kB / 0.5359 GB, free: 10.17 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001511/0.3217, allocations: 338 kB / 0.5362 GB, free: 9.988 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.073e-05/0.3218, allocations: 52.44 kB / 0.5362 GB, free: 9.926 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003861/0.3222, allocations: 238.4 kB / 0.5365 GB, free: 9.762 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.453e-05/0.3222, allocations: 26.8 kB / 0.5365 GB, free: 9.73 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.011e-05/0.3223, allocations: 118.4 kB / 0.5366 GB, free: 9.617 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.935e-05/0.3224, allocations: 40.7 kB / 0.5366 GB, free: 9.582 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.709e-05/0.3225, allocations: 31.58 kB / 0.5367 GB, free: 9.555 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.3226, allocations: 323.2 kB / 0.537 GB, free: 9.234 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000215/0.3229, allocations: 48.12 kB / 0.537 GB, free: 9.211 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001886/0.3231, allocations: 44.53 kB / 0.5371 GB, free: 9.191 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003498/0.3234, allocations: 116.1 kB / 0.5372 GB, free: 9.129 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3234, allocations: 3.938 kB / 0.5372 GB, free: 9.125 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004656/0.3239, allocations: 156.5 kB / 0.5373 GB, free: 9.035 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.76e-05/0.324, allocations: 5.938 kB / 0.5373 GB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.754e-05/0.324, allocations: 0 / 0.5373 GB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/0.3241, allocations: 8.969 kB / 0.5374 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001898/0.3243, allocations: 33.02 kB / 0.5374 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.3243, allocations: 0 / 0.5374 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.815e-05/0.3244, allocations: 7.656 kB / 0.5374 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.925e-05/0.3244, allocations: 7.516 kB / 0.5374 GB, free: 9.008 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 (13): * Single equations (assignments): 13 * 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.0001508/0.3246, allocations: 136 kB / 0.5375 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.296e-05/0.3247, allocations: 14.81 kB / 0.5375 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006516/0.3253, allocations: 189.5 kB / 0.5377 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.3253, allocations: 1.375 kB / 0.5377 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.3254, allocations: 0 / 0.5377 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.3254, allocations: 4.875 kB / 0.5377 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001014/0.3264, allocations: 0.497 MB / 0.5382 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.3264, allocations: 0 / 0.5382 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001814/0.3266, allocations: 29.56 kB / 0.5382 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.3266, allocations: 3.938 kB / 0.5382 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.637e-05/0.3267, allocations: 7.781 kB / 0.5383 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/0.3267, allocations: 0 / 0.5383 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.3267, allocations: 9.75 kB / 0.5383 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005097/0.3272, allocations: 252 kB / 0.5385 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.258e-05/0.3273, allocations: 89.02 kB / 0.5386 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.444e-05/0.3273, allocations: 5.328 kB / 0.5386 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001381/0.3275, allocations: 7.531 kB / 0.5386 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.921e-05/0.3275, allocations: 13.95 kB / 0.5386 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.307e-05/0.3276, allocations: 3.156 kB / 0.5386 GB, free: 7.969 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002619/0.3278, allocations: 182.1 kB / 0.5388 GB, free: 7.852 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.3278, allocations: 1.719 kB / 0.5388 GB, free: 7.852 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005345/0.3284, allocations: 26.5 kB / 0.5388 GB, free: 7.844 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 (13): * Single equations (assignments): 13 * 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.001722/0.3301, allocations: 459.5 kB / 0.5393 GB, free: 7.602 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000448/0.3306, allocations: 113.9 kB / 0.5394 GB, free: 7.555 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3306, allocations: 0 / 0.5394 GB, free: 7.555 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001957/0.3308, allocations: 64.39 kB / 0.5394 GB, free: 7.527 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005896/0.3314, allocations: 31.16 kB / 0.5395 GB, free: 7.512 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009107/0.3323, allocations: 363.7 kB / 0.5398 GB, free: 7.238 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004431/0.3328, allocations: 0.7199 MB / 0.5405 GB, free: 6.523 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.519e-05/0.3329, allocations: 21.44 kB / 0.5405 GB, free: 6.512 MB / 398.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3329, allocations: 0 / 0.5405 GB, free: 6.512 MB / 398.1 MB Notification: Performance of Templates: time 0.006833/0.3398, allocations: 2.172 MB / 0.5426 GB, free: 5.391 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches