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.001334/0.001334, allocations: 112.4 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.001477/0.001477, allocations: 204 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.382/1.382, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2212/0.2212, allocations: 46.1 MB / 344.9 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 76.09 kB / 482.1 MB, free: 3.941 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3719/0.3733, allocations: 62.43 MB / 0.5318 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.005951/0.3794, allocations: 1.933 MB / 0.5336 GB, free: 12.06 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002133/0.3816, allocations: 1.116 MB / 0.5347 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.3817, allocations: 6.688 kB / 0.5347 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005334/0.3822, allocations: 221.9 kB / 0.5349 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005004/0.3828, allocations: 219 kB / 0.5352 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002844/0.3831, allocations: 118.6 kB / 0.5353 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003942/0.3835, allocations: 255.3 kB / 0.5355 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001666/0.3837, allocations: 24.47 kB / 0.5355 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000215/0.3839, allocations: 129.5 kB / 0.5357 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002439/0.3841, allocations: 154 kB / 0.5358 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.459e-05/0.3842, allocations: 12.66 kB / 0.5358 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001577/0.3843, allocations: 65.7 kB / 0.5359 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001075/0.3845, allocations: 62.19 kB / 0.5359 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000122/0.3846, allocations: 87.39 kB / 0.536 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003609/0.385, allocations: 242.9 kB / 0.5363 GB, free: 10.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.385, allocations: 0 / 0.5363 GB, free: 10.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.387e-06/0.385, allocations: 1.531 kB / 0.5363 GB, free: 10.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.098e-05/0.385, allocations: 0 / 0.5363 GB, free: 10.27 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.0009504/0.386, allocations: 0.5629 MB / 0.5368 GB, free: 9.73 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.386, allocations: 8.969 kB / 0.5368 GB, free: 9.73 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.683e-05/0.3861, allocations: 26.25 kB / 0.5368 GB, free: 9.719 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004585/0.3866, allocations: 291.2 kB / 0.5371 GB, free: 9.434 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.3866, allocations: 7.641 kB / 0.5371 GB, free: 9.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.129e-05/0.3866, allocations: 17.42 kB / 0.5371 GB, free: 9.418 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002633/0.3869, allocations: 107.5 kB / 0.5372 GB, free: 9.332 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.3869, allocations: 1.094 kB / 0.5372 GB, free: 9.332 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/0.387, allocations: 5.125 kB / 0.5373 GB, free: 9.328 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.387, allocations: 1.094 kB / 0.5373 GB, free: 9.328 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001465/0.3871, allocations: 49.28 kB / 0.5373 GB, free: 9.305 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006784/0.3878, allocations: 479 kB / 0.5378 GB, free: 8.844 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004238/0.3882, allocations: 125.4 kB / 0.5379 GB, free: 8.754 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/0.3884, allocations: 49.06 kB / 0.5379 GB, free: 8.719 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.546e-05/0.3884, allocations: 2.094 kB / 0.5379 GB, free: 8.719 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002476/0.3887, allocations: 125.1 kB / 0.538 GB, free: 8.609 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.453e-06/0.3887, allocations: 0 / 0.538 GB, free: 8.609 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001493/0.3902, allocations: 0.4968 MB / 0.5385 GB, free: 8.34 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.076e-05/0.3902, allocations: 83.92 kB / 0.5386 GB, free: 8.242 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005447/0.3908, allocations: 443.7 kB / 0.539 GB, free: 8 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.884e-05/0.3908, allocations: 36.3 kB / 0.5391 GB, free: 7.961 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/0.391, allocations: 167 kB / 0.5392 GB, free: 7.805 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.671e-05/0.3911, allocations: 73.3 kB / 0.5393 GB, free: 7.742 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.904e-05/0.3912, allocations: 45.23 kB / 0.5393 GB, free: 7.707 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.3913, allocations: 344.6 kB / 0.5397 GB, free: 7.371 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.3915, allocations: 54.42 kB / 0.5397 GB, free: 7.348 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001733/0.3917, allocations: 103.7 kB / 0.5398 GB, free: 7.27 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003201/0.392, allocations: 156.1 kB / 0.54 GB, free: 7.172 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.392, allocations: 1.125 kB / 0.54 GB, free: 7.172 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004559/0.3925, allocations: 229.8 kB / 0.5402 GB, free: 7.051 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.3925, allocations: 9.625 kB / 0.5402 GB, free: 7.047 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.3925, allocations: 5.281 kB / 0.5402 GB, free: 7.043 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.3925, allocations: 2.031 kB / 0.5402 GB, free: 7.043 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001621/0.3927, allocations: 42.77 kB / 0.5402 GB, free: 7.035 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.3927, allocations: 1.5 kB / 0.5402 GB, free: 7.035 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.73e-05/0.3928, allocations: 13.17 kB / 0.5403 GB, free: 7.027 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.13e-05/0.3929, allocations: 9.562 kB / 0.5403 GB, free: 7.023 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.0002132/0.3931, allocations: 166 kB / 0.5404 GB, free: 6.883 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.302e-05/0.3931, allocations: 38.47 kB / 0.5405 GB, free: 6.859 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.063e-05/0.3932, allocations: 43.53 kB / 0.5405 GB, free: 6.832 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.3933, allocations: 2.594 kB / 0.5405 GB, free: 6.832 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.898e-06/0.3933, allocations: 1.281 kB / 0.5405 GB, free: 6.832 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.3933, allocations: 3.984 kB / 0.5405 GB, free: 6.828 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/0.3943, allocations: 0.7277 MB / 0.5412 GB, free: 6.207 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.3943, allocations: 5.188 kB / 0.5412 GB, free: 6.203 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.65e-05/0.3944, allocations: 32.48 kB / 0.5413 GB, free: 6.195 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.3944, allocations: 2.375 kB / 0.5413 GB, free: 6.195 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.125e-05/0.3945, allocations: 8.484 kB / 0.5413 GB, free: 6.191 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.095e-06/0.3945, allocations: 6.438 kB / 0.5413 GB, free: 6.188 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.3945, allocations: 1.375 kB / 0.5413 GB, free: 6.188 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005236/0.395, allocations: 428.4 kB / 0.5417 GB, free: 5.852 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.828e-05/0.3951, allocations: 105 kB / 0.5418 GB, free: 5.738 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.337e-05/0.3952, allocations: 12.12 kB / 0.5418 GB, free: 5.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001475/0.3953, allocations: 12.17 kB / 0.5418 GB, free: 5.723 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.664e-05/0.3954, allocations: 25.08 kB / 0.5418 GB, free: 5.707 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.225e-05/0.3954, allocations: 8.781 kB / 0.5418 GB, free: 5.707 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004238/0.3959, allocations: 334.4 kB / 0.5422 GB, free: 5.523 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3959, allocations: 0 / 0.5422 GB, free: 5.523 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003825/0.3963, allocations: 52.52 kB / 0.5422 GB, free: 5.508 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.001333/0.3976, allocations: 0.5049 MB / 0.5427 GB, free: 5.25 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004114/0.398, allocations: 158.8 kB / 0.5429 GB, free: 5.184 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.398, allocations: 0 / 0.5429 GB, free: 5.184 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001838/0.3982, allocations: 87.19 kB / 0.5429 GB, free: 5.145 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000605/0.3988, allocations: 64.84 kB / 0.543 GB, free: 5.113 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001117/0.4, allocations: 0.5844 MB / 0.5436 GB, free: 4.711 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004486/0.4004, allocations: 0.7783 MB / 0.5443 GB, free: 3.969 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.558e-05/0.4005, allocations: 27.28 kB / 0.5444 GB, free: 3.961 MB / 398.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4005, allocations: 4 kB / 0.5444 GB, free: 3.957 MB / 398.1 MB Notification: Performance of Templates: time 0.007073/0.4076, allocations: 3.78 MB / 0.5481 GB, free: 0.6953 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