Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.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.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001502/0.001502, allocations: 113.1 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001929/0.001929, allocations: 208.9 kB / 19.4 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.443/1.443, 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.246/0.246, allocations: 46.1 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 76.09 kB / 482.1 MB, free: 4.004 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4136/0.4151, allocations: 62.44 MB / 0.5318 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.003776/0.419, allocations: 1.923 MB / 0.5336 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002079/0.4211, allocations: 1.12 MB / 0.5347 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001132/0.4212, allocations: 2.75 kB / 0.5347 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000503/0.4217, allocations: 225.2 kB / 0.5349 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004846/0.4223, allocations: 219 kB / 0.5352 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003027/0.4226, allocations: 120.4 kB / 0.5353 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003729/0.423, allocations: 254.8 kB / 0.5355 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001497/0.4231, allocations: 36.62 kB / 0.5355 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002613/0.4234, allocations: 125.9 kB / 0.5357 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002209/0.4236, allocations: 153 kB / 0.5358 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.931e-05/0.4236, allocations: 9 kB / 0.5358 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001539/0.4238, allocations: 62.36 kB / 0.5359 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.4239, allocations: 66.5 kB / 0.5359 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001043/0.424, allocations: 86.45 kB / 0.536 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003835/0.4244, allocations: 239.2 kB / 0.5363 GB, free: 10.31 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.4244, allocations: 0 / 0.5363 GB, free: 10.31 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4245, allocations: 5.094 kB / 0.5363 GB, free: 10.31 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.738e-06/0.4245, allocations: 0 / 0.5363 GB, free: 10.31 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008876/0.4254, allocations: 0.5669 MB / 0.5368 GB, free: 9.766 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.4254, allocations: 9.625 kB / 0.5368 GB, free: 9.766 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.1e-05/0.4255, allocations: 30.52 kB / 0.5369 GB, free: 9.75 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004511/0.426, allocations: 287.3 kB / 0.5371 GB, free: 9.469 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.024e-05/0.426, allocations: 7.031 kB / 0.5371 GB, free: 9.465 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.405e-05/0.426, allocations: 9.438 kB / 0.5371 GB, free: 9.461 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002537/0.4263, allocations: 114.7 kB / 0.5373 GB, free: 9.367 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.4263, allocations: 1.375 kB / 0.5373 GB, free: 9.367 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.4263, allocations: 1.375 kB / 0.5373 GB, free: 9.367 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.431e-06/0.4264, allocations: 1.219 kB / 0.5373 GB, free: 9.367 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001378/0.4265, allocations: 44.69 kB / 0.5373 GB, free: 9.348 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006729/0.4272, allocations: 487.5 kB / 0.5378 GB, free: 8.879 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003895/0.4276, allocations: 121.8 kB / 0.5379 GB, free: 8.793 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001038/0.4277, allocations: 49.19 kB / 0.5379 GB, free: 8.758 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.741e-05/0.4277, allocations: 7.031 kB / 0.5379 GB, free: 8.754 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002349/0.428, allocations: 123.3 kB / 0.5381 GB, free: 8.648 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 3.246e-06/0.428, allocations: 0 / 0.5381 GB, free: 8.648 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001482/0.4295, allocations: 0.4955 MB / 0.5385 GB, free: 8.379 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/0.4296, allocations: 83.36 kB / 0.5386 GB, free: 8.281 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005399/0.4301, allocations: 445.4 kB / 0.539 GB, free: 8.039 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.91e-05/0.4302, allocations: 32.27 kB / 0.5391 GB, free: 8.004 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/0.4303, allocations: 167.9 kB / 0.5392 GB, free: 7.848 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.26e-05/0.4304, allocations: 68.22 kB / 0.5393 GB, free: 7.789 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.387e-05/0.4305, allocations: 45.42 kB / 0.5393 GB, free: 7.754 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.4306, allocations: 344.6 kB / 0.5397 GB, free: 7.418 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/0.4308, allocations: 58.17 kB / 0.5397 GB, free: 7.391 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/0.4309, allocations: 99.23 kB / 0.5398 GB, free: 7.316 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002679/0.4312, allocations: 157.3 kB / 0.54 GB, free: 7.219 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.4312, allocations: 0 / 0.54 GB, free: 7.219 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004326/0.4316, allocations: 239.1 kB / 0.5402 GB, free: 7.09 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.4317, allocations: 9.844 kB / 0.5402 GB, free: 7.086 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.4317, allocations: 0 / 0.5402 GB, free: 7.086 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.4317, allocations: 2.688 kB / 0.5402 GB, free: 7.086 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001508/0.4319, allocations: 42.67 kB / 0.5402 GB, free: 7.078 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.4319, allocations: 1.156 kB / 0.5403 GB, free: 7.078 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.779e-05/0.432, allocations: 12.42 kB / 0.5403 GB, free: 7.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/0.432, allocations: 10.88 kB / 0.5403 GB, free: 7.066 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0002456/0.4323, allocations: 173.2 kB / 0.5404 GB, free: 6.918 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.002e-05/0.4323, allocations: 38.56 kB / 0.5405 GB, free: 6.895 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.41e-05/0.4324, allocations: 39.75 kB / 0.5405 GB, free: 6.871 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.4324, allocations: 2.094 kB / 0.5405 GB, free: 6.871 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.4324, allocations: 0.7812 kB / 0.5405 GB, free: 6.871 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.4324, allocations: 9.016 kB / 0.5405 GB, free: 6.863 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009684/0.4334, allocations: 0.7315 MB / 0.5412 GB, free: 6.238 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.4334, allocations: 1.781 kB / 0.5412 GB, free: 6.238 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.964e-05/0.4335, allocations: 31.62 kB / 0.5413 GB, free: 6.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/0.4336, allocations: 6.391 kB / 0.5413 GB, free: 6.227 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.4336, allocations: 4.312 kB / 0.5413 GB, free: 6.227 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.4336, allocations: 2.281 kB / 0.5413 GB, free: 6.227 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.4336, allocations: 2.312 kB / 0.5413 GB, free: 6.227 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005038/0.4341, allocations: 423.1 kB / 0.5417 GB, free: 5.895 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.095e-05/0.4342, allocations: 105.4 kB / 0.5418 GB, free: 5.781 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.313e-05/0.4342, allocations: 12.44 kB / 0.5418 GB, free: 5.773 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/0.4344, allocations: 8.484 kB / 0.5418 GB, free: 5.77 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.726e-05/0.4345, allocations: 20.86 kB / 0.5418 GB, free: 5.758 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.857e-05/0.4345, allocations: 12.8 kB / 0.5418 GB, free: 5.754 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003876/0.4349, allocations: 338.7 kB / 0.5422 GB, free: 5.566 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.4349, allocations: 0 / 0.5422 GB, free: 5.566 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003997/0.4353, allocations: 47.84 kB / 0.5422 GB, free: 5.555 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001618/0.4369, allocations: 0.5113 MB / 0.5427 GB, free: 5.289 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003751/0.4373, allocations: 151.4 kB / 0.5429 GB, free: 5.23 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.4373, allocations: 0 / 0.5429 GB, free: 5.23 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001651/0.4375, allocations: 83.5 kB / 0.5429 GB, free: 5.195 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005675/0.4381, allocations: 69.58 kB / 0.543 GB, free: 5.16 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.4392, allocations: 0.5909 MB / 0.5436 GB, free: 4.754 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005153/0.4397, allocations: 0.7814 MB / 0.5443 GB, free: 4.012 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.46e-05/0.4398, allocations: 27 kB / 0.5444 GB, free: 4.004 MB / 398.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4398, allocations: 0 / 0.5444 GB, free: 4.004 MB / 398.1 MB Notification: Performance of Templates: time 0.006537/0.4463, allocations: 3.782 MB / 0.5481 GB, free: 0.7422 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y,t_new_2.y[1],d_t_new_2.y,d2_t_new.y,d2_t_new_2.y Variables in the result:d2_t_new.y,d2_t_new_2.y,d_t_new.y,d_t_new_2.y,t_new.y[1],t_new_2.y[1],time