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: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001293/0.001293, allocations: 208.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.409/1.409, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2233/0.2233, allocations: 46.09 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 71.89 kB / 482.1 MB, free: 3.973 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3705/0.372, allocations: 62.44 MB / 0.5317 GB, free: 13.81 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.00313/0.3752, allocations: 1.733 MB / 0.5334 GB, free: 12.45 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001691/0.3769, allocations: 1.027 MB / 0.5344 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.459e-05/0.377, allocations: 1.375 kB / 0.5344 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003195/0.3773, allocations: 53.62 kB / 0.5345 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000324/0.3777, allocations: 99.22 kB / 0.5346 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002203/0.3779, allocations: 78.92 kB / 0.5347 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001711/0.3781, allocations: 108.9 kB / 0.5348 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.3782, allocations: 10.88 kB / 0.5348 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.278e-05/0.3783, allocations: 40.3 kB / 0.5348 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.94e-05/0.3784, allocations: 42.77 kB / 0.5348 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.74e-05/0.3784, allocations: 4.125 kB / 0.5349 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.3786, allocations: 39.48 kB / 0.5349 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.997e-05/0.3786, allocations: 22.92 kB / 0.5349 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.037e-05/0.3787, allocations: 45.3 kB / 0.535 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002264/0.3789, allocations: 146.8 kB / 0.5351 GB, free: 11.22 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3789, allocations: 4 kB / 0.5351 GB, free: 11.21 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.3789, allocations: 0 / 0.5351 GB, free: 11.21 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.379, allocations: 1.375 kB / 0.5351 GB, free: 11.21 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.0005841/0.3795, allocations: 443.8 kB / 0.5355 GB, free: 10.77 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.3796, allocations: 8.781 kB / 0.5355 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.807e-05/0.3797, allocations: 15.47 kB / 0.5355 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003078/0.38, allocations: 224.6 kB / 0.5358 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.38, allocations: 1.406 kB / 0.5358 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.56e-05/0.38, allocations: 10.31 kB / 0.5358 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.3802, allocations: 58.39 kB / 0.5358 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.3802, allocations: 0 / 0.5358 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.3802, allocations: 1.125 kB / 0.5358 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.3802, allocations: 0 / 0.5358 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.678e-05/0.3803, allocations: 22.55 kB / 0.5359 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003771/0.3807, allocations: 295.8 kB / 0.5361 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001747/0.3809, allocations: 65.7 kB / 0.5362 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.178e-05/0.381, allocations: 18.55 kB / 0.5362 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.381, allocations: 5.156 kB / 0.5362 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001431/0.3811, allocations: 68.45 kB / 0.5363 GB, free: 10 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.3811, allocations: 0 / 0.5363 GB, free: 10 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005695/0.3817, allocations: 185 kB / 0.5365 GB, free: 9.895 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/0.3818, allocations: 52.47 kB / 0.5365 GB, free: 9.832 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002934/0.3821, allocations: 275.5 kB / 0.5368 GB, free: 9.652 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.3821, allocations: 30.83 kB / 0.5368 GB, free: 9.617 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.315e-05/0.3822, allocations: 112.1 kB / 0.5369 GB, free: 9.512 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.187e-05/0.3822, allocations: 27.2 kB / 0.5369 GB, free: 9.488 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.964e-05/0.3823, allocations: 23.8 kB / 0.537 GB, free: 9.465 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.3824, allocations: 332.5 kB / 0.5373 GB, free: 9.137 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.98e-05/0.3825, allocations: 26.39 kB / 0.5373 GB, free: 9.121 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.669e-05/0.3825, allocations: 39.42 kB / 0.5373 GB, free: 9.09 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001093/0.3826, allocations: 51.38 kB / 0.5374 GB, free: 9.059 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.3827, allocations: 0 / 0.5374 GB, free: 9.059 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001899/0.3829, allocations: 109.7 kB / 0.5375 GB, free: 8.988 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.3829, allocations: 5.312 kB / 0.5375 GB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.3829, allocations: 4.031 kB / 0.5375 GB, free: 8.984 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.3829, allocations: 1.031 kB / 0.5375 GB, free: 8.984 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.507e-05/0.383, allocations: 17.55 kB / 0.5375 GB, free: 8.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.383, allocations: 1.281 kB / 0.5375 GB, free: 8.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.802e-05/0.3831, allocations: 6.219 kB / 0.5375 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.657e-06/0.3831, allocations: 2.125 kB / 0.5375 GB, free: 8.977 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.0001203/0.3832, allocations: 137.4 kB / 0.5377 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.737e-05/0.3832, allocations: 15.5 kB / 0.5377 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.695e-05/0.3833, allocations: 29.11 kB / 0.5377 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.3833, allocations: 1.188 kB / 0.5377 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.3833, allocations: 0 / 0.5377 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.3833, allocations: 5.281 kB / 0.5377 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004667/0.3838, allocations: 408 kB / 0.5381 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.3838, allocations: 0 / 0.5381 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.229e-05/0.3839, allocations: 12.44 kB / 0.5381 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.3839, allocations: 0 / 0.5381 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.3839, allocations: 6.875 kB / 0.5381 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.3839, allocations: 8.016 kB / 0.5381 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.3839, allocations: 1.812 kB / 0.5381 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002404/0.3841, allocations: 205.5 kB / 0.5383 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.873e-05/0.3842, allocations: 92.78 kB / 0.5384 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.58e-05/0.3843, allocations: 14.62 kB / 0.5384 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.872e-05/0.3843, allocations: 1.344 kB / 0.5384 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.805e-05/0.3844, allocations: 16.02 kB / 0.5384 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-05/0.3844, allocations: 2.531 kB / 0.5384 GB, free: 8.102 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000184/0.3846, allocations: 203.4 kB / 0.5386 GB, free: 7.977 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3846, allocations: 0 / 0.5386 GB, free: 7.977 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002638/0.3849, allocations: 21.25 kB / 0.5387 GB, free: 7.973 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.00107/0.3859, allocations: 463.4 kB / 0.5391 GB, free: 7.734 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001971/0.3861, allocations: 66.2 kB / 0.5392 GB, free: 7.703 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3862, allocations: 0 / 0.5392 GB, free: 7.703 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.899e-05/0.3862, allocations: 29.55 kB / 0.5392 GB, free: 7.691 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003535/0.3866, allocations: 24.73 kB / 0.5392 GB, free: 7.684 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006045/0.3872, allocations: 324 kB / 0.5395 GB, free: 7.441 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002952/0.3875, allocations: 0.7214 MB / 0.5402 GB, free: 6.723 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.165e-05/0.3876, allocations: 15.03 kB / 0.5402 GB, free: 6.715 MB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3876, allocations: 0 / 0.5402 GB, free: 6.715 MB / 398.1 MB Notification: Performance of Templates: time 0.003982/0.3916, allocations: 2.13 MB / 0.5423 GB, free: 5.609 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