Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001256/0.001256, allocations: 113.7 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.001378/0.001378, allocations: 202.7 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.338/1.338, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2065/0.2065, allocations: 46.09 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 83.86 kB / 482.1 MB, free: 3.984 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3168/0.3182, allocations: 62.44 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.002889/0.3212, allocations: 1.73 MB / 0.5334 GB, free: 12.26 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00172/0.3229, allocations: 1.027 MB / 0.5344 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.735e-05/0.323, allocations: 0 / 0.5344 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003218/0.3233, allocations: 51.02 kB / 0.5345 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003254/0.3237, allocations: 97.83 kB / 0.5346 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002319/0.3239, allocations: 86.91 kB / 0.5347 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001844/0.3241, allocations: 98.33 kB / 0.5348 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.539e-05/0.3242, allocations: 14.86 kB / 0.5348 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001189/0.3244, allocations: 38.91 kB / 0.5348 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.835e-05/0.3245, allocations: 42.72 kB / 0.5349 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.065e-05/0.3245, allocations: 4.125 kB / 0.5349 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.3246, allocations: 35.5 kB / 0.5349 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.451e-05/0.3247, allocations: 34.83 kB / 0.5349 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.231e-05/0.3247, allocations: 45.31 kB / 0.535 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002611/0.325, allocations: 141.4 kB / 0.5351 GB, free: 11.03 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.325, allocations: 0 / 0.5351 GB, free: 11.03 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.325, allocations: 0 / 0.5351 GB, free: 11.03 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.325, allocations: 0 / 0.5351 GB, free: 11.03 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006152/0.3256, allocations: 445.7 kB / 0.5355 GB, free: 10.59 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.3257, allocations: 10.38 kB / 0.5355 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.492e-05/0.3258, allocations: 18.23 kB / 0.5356 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002877/0.326, allocations: 224.6 kB / 0.5358 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.3261, allocations: 6.469 kB / 0.5358 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.303e-05/0.3261, allocations: 5.531 kB / 0.5358 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.3263, allocations: 53.8 kB / 0.5358 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.3263, allocations: 1.125 kB / 0.5358 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.3263, allocations: 3.938 kB / 0.5358 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.3263, allocations: 1.125 kB / 0.5358 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.602e-05/0.3264, allocations: 22.11 kB / 0.5359 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003734/0.3268, allocations: 300.8 kB / 0.5361 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001666/0.327, allocations: 57.59 kB / 0.5362 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.955e-05/0.327, allocations: 20.84 kB / 0.5362 GB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.453e-05/0.3271, allocations: 1.25 kB / 0.5362 GB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001423/0.3272, allocations: 70.11 kB / 0.5363 GB, free: 9.82 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.713e-06/0.3273, allocations: 4 kB / 0.5363 GB, free: 9.816 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005324/0.3278, allocations: 179.6 kB / 0.5365 GB, free: 9.711 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.687e-05/0.3278, allocations: 53.59 kB / 0.5365 GB, free: 9.648 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002952/0.3281, allocations: 275.2 kB / 0.5368 GB, free: 9.469 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.3282, allocations: 26.83 kB / 0.5368 GB, free: 9.438 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.407e-05/0.3282, allocations: 115.8 kB / 0.5369 GB, free: 9.328 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.915e-05/0.3283, allocations: 22.75 kB / 0.5369 GB, free: 9.309 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.24e-05/0.3283, allocations: 20.59 kB / 0.537 GB, free: 9.289 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.3285, allocations: 340 kB / 0.5373 GB, free: 8.953 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.054e-05/0.3285, allocations: 23.02 kB / 0.5373 GB, free: 8.941 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.483e-05/0.3286, allocations: 31.69 kB / 0.5373 GB, free: 8.918 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001113/0.3287, allocations: 59.05 kB / 0.5374 GB, free: 8.879 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.3287, allocations: 0 / 0.5374 GB, free: 8.879 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000248/0.329, allocations: 113.7 kB / 0.5375 GB, free: 8.805 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.329, allocations: 9.625 kB / 0.5375 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.329, allocations: 0 / 0.5375 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.329, allocations: 5.094 kB / 0.5375 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.639e-05/0.3291, allocations: 17.09 kB / 0.5375 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.3291, allocations: 1.156 kB / 0.5375 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.657e-05/0.3292, allocations: 10.14 kB / 0.5375 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.715e-06/0.3292, allocations: 2.438 kB / 0.5375 GB, free: 8.785 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 (10): * Single equations (assignments): 10 * 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.0001064/0.3293, allocations: 135.6 kB / 0.5377 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.983e-05/0.3294, allocations: 19.59 kB / 0.5377 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.613e-05/0.3294, allocations: 24.98 kB / 0.5377 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.3294, allocations: 1 kB / 0.5377 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.3294, allocations: 0 / 0.5377 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.3294, allocations: 4.906 kB / 0.5377 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004908/0.3299, allocations: 412.6 kB / 0.5381 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3299, allocations: 0 / 0.5381 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.534e-05/0.33, allocations: 12 kB / 0.5381 GB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.33, allocations: 5.438 kB / 0.5381 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.33, allocations: 5.062 kB / 0.5381 GB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.33, allocations: 1.188 kB / 0.5381 GB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.33, allocations: 0 / 0.5381 GB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002562/0.3303, allocations: 207.1 kB / 0.5383 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.643e-05/0.3303, allocations: 84.05 kB / 0.5384 GB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.818e-05/0.3304, allocations: 6.062 kB / 0.5384 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.384e-05/0.3305, allocations: 6.438 kB / 0.5384 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.952e-05/0.3305, allocations: 15.38 kB / 0.5384 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.3305, allocations: 3.75 kB / 0.5384 GB, free: 7.926 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001848/0.3307, allocations: 202.6 kB / 0.5386 GB, free: 7.801 MB / 398.1 MB Notification: Performance of sort global known variables: time 5.91e-07/0.3308, allocations: 0 / 0.5386 GB, free: 7.801 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002907/0.3311, allocations: 24.98 kB / 0.5387 GB, free: 7.793 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 (8): * Single equations (assignments): 6 * 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.001058/0.3321, allocations: 460.9 kB / 0.5391 GB, free: 7.551 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001838/0.3323, allocations: 62.44 kB / 0.5392 GB, free: 7.523 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3323, allocations: 0 / 0.5392 GB, free: 7.523 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.209e-05/0.3324, allocations: 25.5 kB / 0.5392 GB, free: 7.516 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003822/0.3328, allocations: 35.59 kB / 0.5392 GB, free: 7.496 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005009/0.3333, allocations: 316.3 kB / 0.5395 GB, free: 7.258 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003253/0.3336, allocations: 0.7206 MB / 0.5402 GB, free: 6.539 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.991e-05/0.3337, allocations: 15.97 kB / 0.5402 GB, free: 6.531 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3337, allocations: 0 / 0.5402 GB, free: 6.531 MB / 398.1 MB Notification: Performance of Templates: time 0.004558/0.3383, allocations: 2.139 MB / 0.5423 GB, free: 5.418 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches