Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001472/0.001472, allocations: 113.7 kB / 18.45 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00184/0.00184, allocations: 202.7 kB / 19.4 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.392/1.392, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2225/0.2225, allocations: 46.11 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001541/0.001541, allocations: 75.88 kB / 482 MB, free: 3.973 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3811/0.3826, allocations: 62.44 MB / 0.5317 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.005169/0.3879, allocations: 1.694 MB / 0.5334 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00362/0.3915, allocations: 1.001 MB / 0.5344 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001509/0.3917, allocations: 1.375 kB / 0.5344 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004434/0.3922, allocations: 63.11 kB / 0.5344 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006149/0.3928, allocations: 106 kB / 0.5345 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003843/0.3932, allocations: 77.55 kB / 0.5346 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003278/0.3936, allocations: 107.7 kB / 0.5347 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.833e-05/0.3937, allocations: 9.672 kB / 0.5347 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001838/0.3939, allocations: 47.03 kB / 0.5348 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001503/0.3941, allocations: 44.45 kB / 0.5348 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.563e-05/0.3941, allocations: 2.75 kB / 0.5348 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001477/0.3943, allocations: 28.61 kB / 0.5348 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.907e-05/0.3944, allocations: 26.72 kB / 0.5348 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.444e-05/0.3945, allocations: 32 kB / 0.5349 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003253/0.3948, allocations: 116.3 kB / 0.535 GB, free: 11.06 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.3949, allocations: 0 / 0.535 GB, free: 11.06 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3949, allocations: 1.562 kB / 0.535 GB, free: 11.06 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.3949, allocations: 0 / 0.535 GB, free: 11.06 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000835/0.3958, allocations: 404.6 kB / 0.5354 GB, free: 10.65 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.3958, allocations: 8.844 kB / 0.5354 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.043e-05/0.3959, allocations: 14.05 kB / 0.5354 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004666/0.3964, allocations: 204.5 kB / 0.5356 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.288e-05/0.3964, allocations: 9.359 kB / 0.5356 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.401e-05/0.3965, allocations: 9.875 kB / 0.5356 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000211/0.3967, allocations: 51.95 kB / 0.5357 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.3967, allocations: 0 / 0.5357 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.3967, allocations: 0 / 0.5357 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/0.3968, allocations: 4.797 kB / 0.5357 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001234/0.3969, allocations: 11.62 kB / 0.5357 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003272/0.3972, allocations: 180 kB / 0.5359 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000288/0.3976, allocations: 58.52 kB / 0.5359 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001282/0.3977, allocations: 25.16 kB / 0.5359 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.818e-05/0.3977, allocations: 0.9688 kB / 0.5359 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002386/0.398, allocations: 68.83 kB / 0.536 GB, free: 10 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 2.575e-06/0.398, allocations: 0 / 0.536 GB, free: 10 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005133/0.3986, allocations: 99.42 kB / 0.5361 GB, free: 9.938 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.805e-05/0.3986, allocations: 52.5 kB / 0.5361 GB, free: 9.875 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003261/0.399, allocations: 192.1 kB / 0.5363 GB, free: 9.734 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.526e-05/0.3991, allocations: 30.77 kB / 0.5364 GB, free: 9.699 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.154e-05/0.3991, allocations: 100.4 kB / 0.5364 GB, free: 9.602 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.613e-05/0.3992, allocations: 22.02 kB / 0.5365 GB, free: 9.582 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.848e-05/0.3993, allocations: 19.59 kB / 0.5365 GB, free: 9.562 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001841/0.3995, allocations: 326.2 kB / 0.5368 GB, free: 9.238 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.448e-05/0.3996, allocations: 18.77 kB / 0.5368 GB, free: 9.227 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001089/0.3998, allocations: 28.3 kB / 0.5368 GB, free: 9.203 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000195/0.4, allocations: 42.94 kB / 0.5369 GB, free: 9.172 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.107e-05/0.4, allocations: 1.25 kB / 0.5369 GB, free: 9.172 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000332/0.4004, allocations: 86.55 kB / 0.537 GB, free: 9.109 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.4004, allocations: 5.906 kB / 0.537 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.4004, allocations: 7.969 kB / 0.537 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/0.4005, allocations: 1.188 kB / 0.537 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.4006, allocations: 12.91 kB / 0.537 GB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.679e-06/0.4006, allocations: 5.062 kB / 0.537 GB, free: 9.094 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.4008, allocations: 10.33 kB / 0.537 GB, free: 9.086 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.338e-05/0.4008, allocations: 2.281 kB / 0.537 GB, free: 9.086 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 (7): * Single equations (assignments): 7 * 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.0001948/0.401, allocations: 123 kB / 0.5371 GB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.259e-05/0.4011, allocations: 12.12 kB / 0.5371 GB, free: 8.957 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.16e-05/0.4011, allocations: 18.23 kB / 0.5372 GB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.4012, allocations: 4 kB / 0.5372 GB, free: 8.938 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.4012, allocations: 1.031 kB / 0.5372 GB, free: 8.938 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.4012, allocations: 0 / 0.5372 GB, free: 8.938 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002505/0.4015, allocations: 189.2 kB / 0.5373 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.4015, allocations: 0.9688 kB / 0.5373 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.752e-05/0.4015, allocations: 3.281 kB / 0.5373 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.4015, allocations: 0 / 0.5373 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.4016, allocations: 1.031 kB / 0.5374 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.4016, allocations: 0.9375 kB / 0.5374 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.4016, allocations: 0 / 0.5374 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003905/0.402, allocations: 118.4 kB / 0.5375 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.996e-05/0.4021, allocations: 83.86 kB / 0.5375 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.041e-05/0.4021, allocations: 1.906 kB / 0.5375 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.327e-05/0.4022, allocations: 4.859 kB / 0.5376 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.932e-05/0.4023, allocations: 2.75 kB / 0.5376 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.496e-05/0.4023, allocations: 5.156 kB / 0.5376 GB, free: 8.512 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002195/0.4026, allocations: 152.3 kB / 0.5377 GB, free: 8.402 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.4026, allocations: 5.406 kB / 0.5377 GB, free: 8.398 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004277/0.403, allocations: 23.72 kB / 0.5377 GB, free: 8.387 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001769/0.4048, allocations: 409.7 kB / 0.5381 GB, free: 8.168 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002796/0.4051, allocations: 44.17 kB / 0.5382 GB, free: 8.148 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.4051, allocations: 0 / 0.5382 GB, free: 8.148 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001165/0.4053, allocations: 19.86 kB / 0.5382 GB, free: 8.141 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005333/0.4058, allocations: 33.16 kB / 0.5382 GB, free: 8.121 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006811/0.4065, allocations: 222.5 kB / 0.5384 GB, free: 7.93 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004444/0.407, allocations: 0.7005 MB / 0.5391 GB, free: 7.223 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.863e-05/0.4071, allocations: 14.03 kB / 0.5391 GB, free: 7.219 MB / 398.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4071, allocations: 0 / 0.5391 GB, free: 7.219 MB / 398.1 MB Notification: Performance of Templates: time 0.007181/0.4143, allocations: 1.756 MB / 0.5408 GB, free: 6.309 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches