Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001064/0.001064, allocations: 117.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00104/0.00104, allocations: 199.8 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.427/1.427, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2525/0.2525, allocations: 46.12 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 80.09 kB / 481.4 MB, free: 3.996 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3938/0.3952, allocations: 62.44 MB / 0.5311 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.003748/0.399, allocations: 1.738 MB / 0.5328 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001924/0.4009, allocations: 1.017 MB / 0.5338 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001245/0.4011, allocations: 5.062 kB / 0.5338 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000358/0.4015, allocations: 41.73 kB / 0.5338 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004581/0.402, allocations: 90.39 kB / 0.5339 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003369/0.4023, allocations: 84.41 kB / 0.534 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002636/0.4026, allocations: 100.1 kB / 0.5341 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.4027, allocations: 11.66 kB / 0.5341 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001418/0.4029, allocations: 39.53 kB / 0.5341 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.403, allocations: 37.59 kB / 0.5342 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.637e-05/0.403, allocations: 8.375 kB / 0.5342 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001659/0.4032, allocations: 43.95 kB / 0.5342 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.253e-05/0.4033, allocations: 21.72 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.161e-05/0.4034, allocations: 33.03 kB / 0.5343 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003302/0.4037, allocations: 119.5 kB / 0.5344 GB, free: 11.06 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.4037, allocations: 1.094 kB / 0.5344 GB, free: 11.06 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4037, allocations: 0 / 0.5344 GB, free: 11.06 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.334e-05/0.4037, allocations: 0 / 0.5344 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000795/0.4045, allocations: 401.8 kB / 0.5348 GB, free: 10.65 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.694e-05/0.4046, allocations: 10.25 kB / 0.5348 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.621e-05/0.4047, allocations: 17.28 kB / 0.5348 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005019/0.4052, allocations: 219.9 kB / 0.535 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.22e-05/0.4053, allocations: 1.5 kB / 0.535 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.451e-05/0.4053, allocations: 14.53 kB / 0.535 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002107/0.4055, allocations: 53.55 kB / 0.5351 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.4055, allocations: 1.125 kB / 0.5351 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.4056, allocations: 3.938 kB / 0.5351 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.4056, allocations: 1.219 kB / 0.5351 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001049/0.4057, allocations: 22.27 kB / 0.5351 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005424/0.4062, allocations: 293.4 kB / 0.5354 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002108/0.4065, allocations: 50.59 kB / 0.5354 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.472e-05/0.4065, allocations: 21.47 kB / 0.5354 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.329e-05/0.4066, allocations: 5.312 kB / 0.5354 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001756/0.4068, allocations: 64.64 kB / 0.5355 GB, free: 9.891 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.743e-06/0.4068, allocations: 4.875 kB / 0.5355 GB, free: 9.887 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006812/0.4075, allocations: 173.7 kB / 0.5357 GB, free: 9.785 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.315e-05/0.4075, allocations: 52.78 kB / 0.5357 GB, free: 9.723 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002522/0.4078, allocations: 188.8 kB / 0.5359 GB, free: 9.574 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.227e-05/0.4078, allocations: 27.08 kB / 0.5359 GB, free: 9.543 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.392e-05/0.4079, allocations: 105.5 kB / 0.536 GB, free: 9.441 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.328e-05/0.408, allocations: 26.39 kB / 0.5361 GB, free: 9.418 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.008e-05/0.4081, allocations: 20.72 kB / 0.5361 GB, free: 9.398 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.4082, allocations: 330 kB / 0.5364 GB, free: 9.07 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.962e-05/0.4083, allocations: 19.3 kB / 0.5364 GB, free: 9.062 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.534e-05/0.4084, allocations: 36.17 kB / 0.5364 GB, free: 9.035 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001491/0.4085, allocations: 66.44 kB / 0.5365 GB, free: 8.988 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.4086, allocations: 7.938 kB / 0.5365 GB, free: 8.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002534/0.4088, allocations: 92.47 kB / 0.5366 GB, free: 8.926 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.4088, allocations: 4.344 kB / 0.5366 GB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.4089, allocations: 0.9688 kB / 0.5366 GB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.4089, allocations: 1.125 kB / 0.5366 GB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.409, allocations: 24.98 kB / 0.5366 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.409, allocations: 0.9688 kB / 0.5366 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.809e-05/0.4091, allocations: 6.125 kB / 0.5366 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.281e-05/0.4091, allocations: 7.281 kB / 0.5366 GB, free: 8.906 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.0001222/0.4092, allocations: 125.6 kB / 0.5368 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.967e-05/0.4093, allocations: 13.38 kB / 0.5368 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.696e-05/0.4093, allocations: 14.25 kB / 0.5368 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.4094, allocations: 1.156 kB / 0.5368 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.4094, allocations: 3.984 kB / 0.5368 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.4094, allocations: 5.062 kB / 0.5368 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005294/0.4099, allocations: 393.2 kB / 0.5372 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.4099, allocations: 192 / 0.5372 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.879e-05/0.41, allocations: 7.781 kB / 0.5372 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.41, allocations: 8.938 kB / 0.5372 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/0.41, allocations: 10.08 kB / 0.5372 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.41, allocations: 1.219 kB / 0.5372 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.41, allocations: 0 / 0.5372 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000284/0.4103, allocations: 205 kB / 0.5374 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.9e-05/0.4104, allocations: 87.48 kB / 0.5375 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.675e-05/0.4104, allocations: 5.438 kB / 0.5375 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.158e-05/0.4105, allocations: 2.438 kB / 0.5375 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.445e-05/0.4105, allocations: 11.27 kB / 0.5375 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.015e-05/0.4106, allocations: 3.469 kB / 0.5375 GB, free: 8.062 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001662/0.4107, allocations: 139.2 kB / 0.5376 GB, free: 7.961 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.4107, allocations: 1.375 kB / 0.5376 GB, free: 7.961 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002927/0.411, allocations: 23.44 kB / 0.5377 GB, free: 7.953 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.00132/0.4124, allocations: 469.4 kB / 0.5381 GB, free: 7.711 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000232/0.4126, allocations: 61.02 kB / 0.5382 GB, free: 7.684 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.4126, allocations: 5.312 kB / 0.5382 GB, free: 7.68 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.167e-05/0.4127, allocations: 33.52 kB / 0.5382 GB, free: 7.664 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004053/0.4131, allocations: 27.92 kB / 0.5382 GB, free: 7.652 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005391/0.4137, allocations: 214.4 kB / 0.5384 GB, free: 7.473 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003307/0.414, allocations: 0.7121 MB / 0.5391 GB, free: 6.754 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.26e-05/0.4141, allocations: 10.42 kB / 0.5391 GB, free: 6.754 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.28e-05/0.4142, allocations: 19.52 kB / 0.5392 GB, free: 6.746 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4142, allocations: 0 / 0.5392 GB, free: 6.746 MB / 398.1 MB Notification: Performance of Templates: time 0.005586/0.4197, allocations: 1.748 MB / 0.5409 GB, free: 5.863 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches