Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.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.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001583/0.001583, allocations: 111.7 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.001857/0.001857, allocations: 213.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.492/1.492, 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.2104/0.2104, allocations: 46.1 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 75.88 kB / 482 MB, free: 4.066 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.3065, allocations: 62.44 MB / 0.5317 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.002769/0.3093, allocations: 1.666 MB / 0.5333 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001033/0.3104, allocations: 0.5848 MB / 0.5339 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.27e-05/0.3104, allocations: 1.375 kB / 0.5339 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005426/0.311, allocations: 453 kB / 0.5343 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004981/0.3115, allocations: 296.7 kB / 0.5346 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003791/0.3119, allocations: 170 kB / 0.5347 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000215/0.3121, allocations: 183.9 kB / 0.5349 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.277e-05/0.3122, allocations: 17.62 kB / 0.5349 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001764/0.3124, allocations: 114.9 kB / 0.5351 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002282/0.3126, allocations: 217 kB / 0.5353 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.148e-05/0.3127, allocations: 3.219 kB / 0.5353 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.657e-05/0.3128, allocations: 38.27 kB / 0.5353 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.559e-05/0.3129, allocations: 87.48 kB / 0.5354 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.591e-05/0.313, allocations: 102.8 kB / 0.5355 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003103/0.3133, allocations: 267.5 kB / 0.5357 GB, free: 10.89 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.3133, allocations: 1.125 kB / 0.5357 GB, free: 10.89 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3133, allocations: 0 / 0.5357 GB, free: 10.89 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.912e-06/0.3133, allocations: 0 / 0.5357 GB, free: 10.89 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.0007227/0.314, allocations: 0.6439 MB / 0.5364 GB, free: 10.3 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/0.3141, allocations: 8.906 kB / 0.5364 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.85e-05/0.3142, allocations: 50.92 kB / 0.5364 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003004/0.3145, allocations: 299.7 kB / 0.5367 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.165e-06/0.3145, allocations: 1.5 kB / 0.5367 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.943e-05/0.3145, allocations: 6.719 kB / 0.5367 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.3147, allocations: 59.89 kB / 0.5368 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.3147, allocations: 4 kB / 0.5368 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.3147, allocations: 0 / 0.5368 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-06/0.3147, allocations: 5.234 kB / 0.5368 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001429/0.3149, allocations: 47.08 kB / 0.5368 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005606/0.3154, allocations: 397 kB / 0.5372 GB, free: 9.531 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001216/0.3156, allocations: 48.73 kB / 0.5373 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.377e-05/0.3157, allocations: 25.72 kB / 0.5373 GB, free: 9.477 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.836e-05/0.3157, allocations: 5.156 kB / 0.5373 GB, free: 9.473 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/0.3157, allocations: 35.53 kB / 0.5373 GB, free: 9.43 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.322e-06/0.3157, allocations: 0 / 0.5373 GB, free: 9.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009125/0.3166, allocations: 318.4 kB / 0.5376 GB, free: 9.242 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.375e-05/0.3167, allocations: 56.88 kB / 0.5377 GB, free: 9.176 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008578/0.3175, allocations: 0.8716 MB / 0.5385 GB, free: 8.75 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.3176, allocations: 25.7 kB / 0.5385 GB, free: 8.719 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000161/0.3177, allocations: 216.6 kB / 0.5388 GB, free: 8.531 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.873e-05/0.3178, allocations: 26.45 kB / 0.5388 GB, free: 8.508 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.517e-05/0.3179, allocations: 19.34 kB / 0.5388 GB, free: 8.488 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.318, allocations: 363.5 kB / 0.5391 GB, free: 8.141 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.3182, allocations: 41.97 kB / 0.5392 GB, free: 8.121 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001101/0.3183, allocations: 37.66 kB / 0.5392 GB, free: 8.105 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002268/0.3185, allocations: 87.67 kB / 0.5393 GB, free: 8.062 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.3185, allocations: 0 / 0.5393 GB, free: 8.062 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003746/0.3189, allocations: 166.8 kB / 0.5395 GB, free: 7.961 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.3189, allocations: 4.625 kB / 0.5395 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.3189, allocations: 1.219 kB / 0.5395 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.319, allocations: 0 / 0.5395 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.3191, allocations: 23.31 kB / 0.5395 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.3191, allocations: 4.062 kB / 0.5395 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.652e-05/0.3192, allocations: 9.594 kB / 0.5395 GB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.3192, allocations: 9.953 kB / 0.5395 GB, free: 7.938 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 (7): * Single equations (assignments): 7 * 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.0001806/0.3194, allocations: 215.7 kB / 0.5397 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.3195, allocations: 42.19 kB / 0.5398 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004212/0.3199, allocations: 184 kB / 0.5399 GB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.3199, allocations: 1.344 kB / 0.5399 GB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.3199, allocations: 0 / 0.5399 GB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.3199, allocations: 7.938 kB / 0.5399 GB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007045/0.3207, allocations: 0.5059 MB / 0.5404 GB, free: 7.215 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3207, allocations: 0 / 0.5404 GB, free: 7.215 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.35e-05/0.3208, allocations: 27.3 kB / 0.5405 GB, free: 7.203 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.3208, allocations: 0 / 0.5405 GB, free: 7.203 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.3208, allocations: 5.156 kB / 0.5405 GB, free: 7.199 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3208, allocations: 0 / 0.5405 GB, free: 7.199 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3208, allocations: 5.25 kB / 0.5405 GB, free: 7.195 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003475/0.3212, allocations: 245.8 kB / 0.5407 GB, free: 7.008 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.488e-05/0.3212, allocations: 117.9 kB / 0.5408 GB, free: 6.883 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.979e-05/0.3213, allocations: 5.188 kB / 0.5408 GB, free: 6.879 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.3214, allocations: 9.578 kB / 0.5408 GB, free: 6.875 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.557e-05/0.3214, allocations: 11.47 kB / 0.5408 GB, free: 6.867 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/0.3215, allocations: 1.188 kB / 0.5408 GB, free: 6.867 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006868/0.3222, allocations: 0.6522 MB / 0.5415 GB, free: 6.551 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3222, allocations: 1.219 kB / 0.5415 GB, free: 6.551 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002739/0.3225, allocations: 28.47 kB / 0.5415 GB, free: 6.543 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 (7): * Single equations (assignments): 7 * 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.0009285/0.3234, allocations: 409.8 kB / 0.5419 GB, free: 6.324 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003056/0.3237, allocations: 93.14 kB / 0.542 GB, free: 6.285 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3237, allocations: 0 / 0.542 GB, free: 6.285 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001665/0.3239, allocations: 48.84 kB / 0.542 GB, free: 6.266 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000379/0.3243, allocations: 29.12 kB / 0.5421 GB, free: 6.242 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001205/0.3255, allocations: 0.8477 MB / 0.5429 GB, free: 5.785 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003811/0.3259, allocations: 0.8383 MB / 0.5437 GB, free: 5.008 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.27e-05/0.326, allocations: 22.05 kB / 0.5437 GB, free: 4.996 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.326, allocations: 0 / 0.5437 GB, free: 4.996 MB / 398.1 MB Notification: Performance of Templates: time 0.006993/0.333, allocations: 3.93 MB / 0.5476 GB, free: 1.211 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches