Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.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.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001411/0.001411, 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.001811/0.001811, 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.388/1.388, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.217/0.217, allocations: 46.1 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 75.88 kB / 482.1 MB, free: 3.996 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3231/0.3246, allocations: 62.44 MB / 0.5317 GB, free: 13.83 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003251/0.3278, allocations: 1.73 MB / 0.5334 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002404/0.3303, allocations: 1.628 MB / 0.535 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001234/0.3304, allocations: 1.375 kB / 0.535 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002816/0.3307, allocations: 33.41 kB / 0.5351 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000347/0.3311, allocations: 100.4 kB / 0.5351 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002985/0.3314, allocations: 82.91 kB / 0.5352 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002016/0.3316, allocations: 112.9 kB / 0.5353 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.3317, allocations: 10.72 kB / 0.5353 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/0.3319, allocations: 50.22 kB / 0.5354 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001648/0.332, allocations: 48.05 kB / 0.5354 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.11e-05/0.3321, allocations: 6.094 kB / 0.5354 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002731/0.3323, allocations: 115.7 kB / 0.5356 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.481e-05/0.3324, allocations: 22.11 kB / 0.5356 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.076e-05/0.3325, allocations: 39.84 kB / 0.5356 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003496/0.3328, allocations: 180.3 kB / 0.5358 GB, free: 10.7 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3328, allocations: 0 / 0.5358 GB, free: 10.7 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3328, allocations: 0 / 0.5358 GB, free: 10.7 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.3329, allocations: 1.188 kB / 0.5358 GB, free: 10.7 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.0006818/0.3335, allocations: 436.5 kB / 0.5362 GB, free: 10.26 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.3336, allocations: 9.094 kB / 0.5362 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.42e-05/0.3337, allocations: 14.67 kB / 0.5362 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003112/0.334, allocations: 220.9 kB / 0.5364 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.334, allocations: 2.5 kB / 0.5364 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.622e-05/0.334, allocations: 6.375 kB / 0.5364 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002121/0.3342, allocations: 80.38 kB / 0.5365 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.3343, allocations: 4.75 kB / 0.5365 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.882e-05/0.3343, allocations: 1.125 kB / 0.5365 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.3343, allocations: 1.062 kB / 0.5365 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.3344, allocations: 30.52 kB / 0.5366 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003997/0.3348, allocations: 301.7 kB / 0.5368 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002317/0.3351, allocations: 64.91 kB / 0.5369 GB, free: 9.551 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.426e-05/0.3351, allocations: 32.28 kB / 0.5369 GB, free: 9.527 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.41e-05/0.3352, allocations: 1.125 kB / 0.5369 GB, free: 9.527 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001556/0.3353, allocations: 76.56 kB / 0.537 GB, free: 9.457 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.863e-06/0.3353, allocations: 0 / 0.537 GB, free: 9.457 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006628/0.336, allocations: 195.8 kB / 0.5372 GB, free: 9.348 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.094e-05/0.3361, allocations: 82.39 kB / 0.5373 GB, free: 9.25 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001728/0.3363, allocations: 174.9 kB / 0.5374 GB, free: 9.105 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.22e-05/0.3363, allocations: 31.2 kB / 0.5375 GB, free: 9.07 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.06e-05/0.3364, allocations: 100.2 kB / 0.5376 GB, free: 8.973 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.713e-05/0.3364, allocations: 27.95 kB / 0.5376 GB, free: 8.949 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.22e-05/0.3364, allocations: 21.78 kB / 0.5376 GB, free: 8.93 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.3366, allocations: 326.3 kB / 0.5379 GB, free: 8.605 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.067e-05/0.3367, allocations: 29.11 kB / 0.538 GB, free: 8.59 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.387e-05/0.3368, allocations: 55.34 kB / 0.538 GB, free: 8.543 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001661/0.337, allocations: 72.27 kB / 0.5381 GB, free: 8.496 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.337, allocations: 0 / 0.5381 GB, free: 8.496 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002247/0.3372, allocations: 114.2 kB / 0.5382 GB, free: 8.426 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.3372, allocations: 6.531 kB / 0.5382 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.3372, allocations: 0 / 0.5382 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.3372, allocations: 1.625 kB / 0.5382 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.017e-05/0.3373, allocations: 17.94 kB / 0.5382 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.3374, allocations: 9.484 kB / 0.5382 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.648e-05/0.3374, allocations: 11 kB / 0.5382 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.3374, allocations: 2.281 kB / 0.5382 GB, free: 8.406 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001019/0.3375, allocations: 122 kB / 0.5383 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.996e-05/0.3376, allocations: 9.375 kB / 0.5384 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.498e-05/0.3376, allocations: 20.58 kB / 0.5384 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.3376, allocations: 1.531 kB / 0.5384 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.3376, allocations: 5.438 kB / 0.5384 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.3377, allocations: 3.938 kB / 0.5384 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005146/0.3382, allocations: 417.6 kB / 0.5388 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.3382, allocations: 1.031 kB / 0.5388 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.25e-05/0.3382, allocations: 12.98 kB / 0.5388 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.3382, allocations: 1.125 kB / 0.5388 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.3383, allocations: 10.16 kB / 0.5388 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.3383, allocations: 5.062 kB / 0.5388 GB, free: 7.844 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.3383, allocations: 1.031 kB / 0.5388 GB, free: 7.844 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002834/0.3386, allocations: 211.5 kB / 0.539 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.953e-05/0.3386, allocations: 87.31 kB / 0.5391 GB, free: 7.566 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.488e-05/0.3387, allocations: 10.25 kB / 0.5391 GB, free: 7.559 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.739e-05/0.3388, allocations: 2.281 kB / 0.5391 GB, free: 7.559 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.656e-05/0.3388, allocations: 11.56 kB / 0.5391 GB, free: 7.551 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.231e-05/0.3389, allocations: 12.59 kB / 0.5391 GB, free: 7.543 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001427/0.339, allocations: 130.6 kB / 0.5393 GB, free: 7.441 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.339, allocations: 1.281 kB / 0.5393 GB, free: 7.441 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003526/0.3394, allocations: 46.36 kB / 0.5393 GB, free: 7.426 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0015/0.3409, allocations: 0.5474 MB / 0.5398 GB, free: 7.145 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002854/0.3412, allocations: 67.84 kB / 0.5399 GB, free: 7.117 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.3412, allocations: 1.062 kB / 0.5399 GB, free: 7.117 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.997e-05/0.3413, allocations: 32.17 kB / 0.5399 GB, free: 7.105 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000384/0.3417, allocations: 37.89 kB / 0.54 GB, free: 7.082 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005635/0.3423, allocations: 241.2 kB / 0.5402 GB, free: 6.867 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000316/0.3426, allocations: 0.7046 MB / 0.5409 GB, free: 6.156 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.424e-05/0.3427, allocations: 23.27 kB / 0.5409 GB, free: 6.145 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3427, allocations: 0 / 0.5409 GB, free: 6.145 MB / 398.1 MB Notification: Performance of Templates: time 0.005346/0.348, allocations: 2.532 MB / 0.5434 GB, free: 4.844 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches