Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.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.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001467/0.001467, allocations: 117 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001831/0.001831, allocations: 212.9 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.348/1.348, 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.2102/0.2102, allocations: 46.1 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 76.09 kB / 482 MB, free: 4.062 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3121/0.3134, allocations: 62.44 MB / 0.5317 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.002872/0.3163, allocations: 1.653 MB / 0.5333 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009987/0.3173, allocations: 0.5462 MB / 0.5338 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.417e-05/0.3174, allocations: 0.8125 kB / 0.5338 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002683/0.3177, allocations: 94.5 kB / 0.5339 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002997/0.318, allocations: 118.1 kB / 0.534 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003007/0.3183, allocations: 96.2 kB / 0.5341 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001668/0.3185, allocations: 94.02 kB / 0.5342 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.3186, allocations: 31.91 kB / 0.5342 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.193e-05/0.3187, allocations: 42.34 kB / 0.5343 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001313/0.3188, allocations: 62.06 kB / 0.5343 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.759e-05/0.3188, allocations: 3.875 kB / 0.5343 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001437/0.319, allocations: 46.27 kB / 0.5344 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.705e-05/0.319, allocations: 29.97 kB / 0.5344 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.175e-05/0.3191, allocations: 39.25 kB / 0.5345 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001831/0.3193, allocations: 127.6 kB / 0.5346 GB, free: 11.46 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.3193, allocations: 4 kB / 0.5346 GB, free: 11.45 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3193, allocations: 0 / 0.5346 GB, free: 11.45 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.962e-06/0.3193, allocations: 0 / 0.5346 GB, free: 11.45 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005648/0.3199, allocations: 432.3 kB / 0.535 GB, free: 11.02 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.3199, allocations: 9.625 kB / 0.535 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.358e-05/0.32, allocations: 14.25 kB / 0.535 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001924/0.3202, allocations: 217.7 kB / 0.5352 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.005e-06/0.3202, allocations: 3.125 kB / 0.5352 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.541e-05/0.3202, allocations: 4.5 kB / 0.5352 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.3204, allocations: 76.98 kB / 0.5353 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.3204, allocations: 1.375 kB / 0.5353 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.3204, allocations: 7.938 kB / 0.5353 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.3204, allocations: 1.375 kB / 0.5353 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001239/0.3206, allocations: 43.31 kB / 0.5354 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004425/0.321, allocations: 323.2 kB / 0.5357 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001379/0.3212, allocations: 69.98 kB / 0.5357 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.761e-05/0.3212, allocations: 23.84 kB / 0.5358 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.117e-05/0.3213, allocations: 1.375 kB / 0.5358 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.3213, allocations: 39.92 kB / 0.5358 GB, free: 10.25 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.203e-06/0.3213, allocations: 0 / 0.5358 GB, free: 10.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001094/0.3224, allocations: 309 kB / 0.5361 GB, free: 10.08 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.288e-05/0.3224, allocations: 52.66 kB / 0.5361 GB, free: 10.02 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002716/0.3227, allocations: 242 kB / 0.5364 GB, free: 9.852 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.3227, allocations: 26.88 kB / 0.5364 GB, free: 9.82 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.397e-05/0.3228, allocations: 127.3 kB / 0.5365 GB, free: 9.699 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.352e-05/0.3229, allocations: 40.67 kB / 0.5366 GB, free: 9.664 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.563e-05/0.3229, allocations: 29.52 kB / 0.5366 GB, free: 9.637 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.323, allocations: 327.9 kB / 0.5369 GB, free: 9.312 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.804e-05/0.3231, allocations: 35.94 kB / 0.5369 GB, free: 9.297 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.719e-05/0.3232, allocations: 32.17 kB / 0.537 GB, free: 9.285 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001961/0.3234, allocations: 90.45 kB / 0.537 GB, free: 9.242 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-06/0.3235, allocations: 4 kB / 0.5371 GB, free: 9.238 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003106/0.3238, allocations: 138.3 kB / 0.5372 GB, free: 9.156 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.3238, allocations: 5.969 kB / 0.5372 GB, free: 9.156 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.3238, allocations: 3.984 kB / 0.5372 GB, free: 9.152 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.3238, allocations: 5.312 kB / 0.5372 GB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.3239, allocations: 28.58 kB / 0.5372 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.324, allocations: 1.219 kB / 0.5372 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.7e-05/0.324, allocations: 3.125 kB / 0.5372 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.324, allocations: 11 kB / 0.5372 GB, free: 9.133 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.0001051/0.3241, allocations: 131.5 kB / 0.5374 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.287e-05/0.3242, allocations: 14.31 kB / 0.5374 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003926/0.3246, allocations: 163.2 kB / 0.5375 GB, free: 8.898 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.3246, allocations: 5.188 kB / 0.5375 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.3246, allocations: 5.234 kB / 0.5375 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.3246, allocations: 0 / 0.5375 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006159/0.3252, allocations: 486 kB / 0.538 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.3253, allocations: 1.031 kB / 0.538 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/0.3254, allocations: 28.77 kB / 0.538 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.3254, allocations: 1.438 kB / 0.538 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.3254, allocations: 13.2 kB / 0.5381 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.3254, allocations: 1.156 kB / 0.5381 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3254, allocations: 1.344 kB / 0.5381 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000342/0.3258, allocations: 234.1 kB / 0.5383 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.402e-05/0.3258, allocations: 93.08 kB / 0.5384 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.107e-05/0.3258, allocations: 5.078 kB / 0.5384 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.812e-05/0.3259, allocations: 4.344 kB / 0.5384 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.811e-05/0.326, allocations: 13.02 kB / 0.5384 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.326, allocations: 7.719 kB / 0.5384 GB, free: 8.125 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001489/0.3261, allocations: 181.8 kB / 0.5386 GB, free: 8.008 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3261, allocations: 5.406 kB / 0.5386 GB, free: 8.004 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002697/0.3264, allocations: 25.75 kB / 0.5386 GB, free: 7.996 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.001016/0.3274, allocations: 454.4 kB / 0.539 GB, free: 7.766 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002512/0.3277, allocations: 97.33 kB / 0.5391 GB, free: 7.727 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3277, allocations: 1.156 kB / 0.5391 GB, free: 7.727 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001104/0.3278, allocations: 52 kB / 0.5392 GB, free: 7.707 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003547/0.3282, allocations: 31.52 kB / 0.5392 GB, free: 7.688 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000542/0.3287, allocations: 344 kB / 0.5395 GB, free: 7.426 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002966/0.329, allocations: 0.714 MB / 0.5402 GB, free: 6.715 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.488e-05/0.3291, allocations: 25.02 kB / 0.5403 GB, free: 6.699 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3291, allocations: 0 / 0.5403 GB, free: 6.699 MB / 398.1 MB Notification: Performance of Templates: time 0.003912/0.333, allocations: 2.07 MB / 0.5423 GB, free: 5.629 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches