Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001308/0.001308, allocations: 115.8 kB / 18.45 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.001704/0.001704, allocations: 210.7 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.427/1.427, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2113/0.2113, allocations: 46.11 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001586/0.001586, allocations: 80.09 kB / 482.1 MB, free: 3.98 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3701/0.3717, allocations: 62.43 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.003222/0.3749, allocations: 1.749 MB / 0.5335 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00167/0.3766, allocations: 1.024 MB / 0.5345 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.056e-05/0.3767, allocations: 1.375 kB / 0.5345 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000327/0.377, allocations: 83.45 kB / 0.5345 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003305/0.3774, allocations: 123.3 kB / 0.5347 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002775/0.3777, allocations: 80.28 kB / 0.5347 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001781/0.3779, allocations: 117.2 kB / 0.5348 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.378, allocations: 16.25 kB / 0.5349 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.746e-05/0.3781, allocations: 63.06 kB / 0.5349 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001171/0.3782, allocations: 55.33 kB / 0.535 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.799e-05/0.3782, allocations: 4.125 kB / 0.535 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000127/0.3784, allocations: 63.47 kB / 0.535 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.957e-05/0.3784, allocations: 27.7 kB / 0.5351 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.864e-05/0.3785, allocations: 33.53 kB / 0.5351 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002248/0.3787, allocations: 145 kB / 0.5352 GB, free: 10.97 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.3788, allocations: 7.984 kB / 0.5352 GB, free: 10.96 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3788, allocations: 1.25 kB / 0.5352 GB, free: 10.96 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.3788, allocations: 0 / 0.5352 GB, free: 10.96 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006853/0.3795, allocations: 427.4 kB / 0.5356 GB, free: 10.54 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.3795, allocations: 9.188 kB / 0.5357 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.886e-05/0.3796, allocations: 21.97 kB / 0.5357 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002876/0.3799, allocations: 221.5 kB / 0.5359 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.3799, allocations: 2.344 kB / 0.5359 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.406e-05/0.3799, allocations: 11.5 kB / 0.5359 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.3801, allocations: 63.61 kB / 0.536 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.3801, allocations: 1.375 kB / 0.536 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.3801, allocations: 0 / 0.536 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.3801, allocations: 1.219 kB / 0.536 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.866e-05/0.3802, allocations: 24.39 kB / 0.536 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003949/0.3806, allocations: 301.5 kB / 0.5363 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002353/0.3809, allocations: 60.45 kB / 0.5363 GB, free: 9.848 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.973e-05/0.381, allocations: 23.39 kB / 0.5364 GB, free: 9.832 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.736e-05/0.381, allocations: 5.172 kB / 0.5364 GB, free: 9.828 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001573/0.3812, allocations: 77.66 kB / 0.5364 GB, free: 9.754 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.3812, allocations: 0 / 0.5364 GB, free: 9.754 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008126/0.382, allocations: 238.6 kB / 0.5367 GB, free: 9.625 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/0.382, allocations: 57.34 kB / 0.5367 GB, free: 9.559 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002835/0.3823, allocations: 221.3 kB / 0.5369 GB, free: 9.398 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.3824, allocations: 30.95 kB / 0.537 GB, free: 9.363 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.026e-05/0.3824, allocations: 106.5 kB / 0.5371 GB, free: 9.262 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.882e-05/0.3825, allocations: 33.58 kB / 0.5371 GB, free: 9.234 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.573e-05/0.3825, allocations: 33.39 kB / 0.5371 GB, free: 9.203 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.3827, allocations: 332.1 kB / 0.5374 GB, free: 8.875 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.299e-05/0.3828, allocations: 26.58 kB / 0.5375 GB, free: 8.863 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.069e-05/0.3828, allocations: 46.48 kB / 0.5375 GB, free: 8.832 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001516/0.383, allocations: 84.31 kB / 0.5376 GB, free: 8.777 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.383, allocations: 5.188 kB / 0.5376 GB, free: 8.773 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002444/0.3833, allocations: 125.8 kB / 0.5377 GB, free: 8.699 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.3833, allocations: 9.188 kB / 0.5377 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.3833, allocations: 1.406 kB / 0.5377 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.3833, allocations: 3.984 kB / 0.5377 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.363e-05/0.3834, allocations: 18.72 kB / 0.5377 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.3834, allocations: 7.875 kB / 0.5378 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.211e-05/0.3835, allocations: 7.016 kB / 0.5378 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.3835, allocations: 3.125 kB / 0.5378 GB, free: 8.68 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 (13): * Single equations (assignments): 13 * 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.0001114/0.3836, allocations: 125.6 kB / 0.5379 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.805e-05/0.3836, allocations: 18.47 kB / 0.5379 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.325e-05/0.3837, allocations: 28.27 kB / 0.5379 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.3837, allocations: 1.125 kB / 0.5379 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.3837, allocations: 3.938 kB / 0.5379 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.3837, allocations: 1.188 kB / 0.5379 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005597/0.3843, allocations: 457.7 kB / 0.5384 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.3843, allocations: 1.125 kB / 0.5384 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.02e-05/0.3844, allocations: 19.86 kB / 0.5384 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.3844, allocations: 5.125 kB / 0.5384 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.3844, allocations: 2.125 kB / 0.5384 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.3844, allocations: 1.156 kB / 0.5384 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3844, allocations: 1.062 kB / 0.5384 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002829/0.3847, allocations: 233.8 kB / 0.5386 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.536e-05/0.3848, allocations: 92.86 kB / 0.5387 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.307e-05/0.3848, allocations: 6.438 kB / 0.5387 GB, free: 7.773 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.798e-05/0.3849, allocations: 2.375 kB / 0.5387 GB, free: 7.773 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.918e-05/0.3849, allocations: 8.703 kB / 0.5387 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.385, allocations: 8.406 kB / 0.5387 GB, free: 7.766 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001639/0.3851, allocations: 164.4 kB / 0.5389 GB, free: 7.656 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3851, allocations: 0 / 0.5389 GB, free: 7.656 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002937/0.3854, allocations: 33.62 kB / 0.5389 GB, free: 7.645 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001234/0.3867, allocations: 0.5055 MB / 0.5394 GB, free: 7.383 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002377/0.3869, allocations: 81.16 kB / 0.5395 GB, free: 7.348 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3869, allocations: 0 / 0.5395 GB, free: 7.348 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.546e-05/0.387, allocations: 44.42 kB / 0.5395 GB, free: 7.328 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003824/0.3874, allocations: 42 kB / 0.5396 GB, free: 7.301 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00055/0.388, allocations: 306.4 kB / 0.5399 GB, free: 7.055 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003784/0.3884, allocations: 0.7109 MB / 0.5406 GB, free: 6.344 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.588e-05/0.3884, allocations: 17.41 kB / 0.5406 GB, free: 6.336 MB / 398.1 MB Notification: Performance of SimCode: time 3.6e-07/0.3884, allocations: 1.219 kB / 0.5406 GB, free: 6.336 MB / 398.1 MB Notification: Performance of Templates: time 0.004727/0.3932, allocations: 2.262 MB / 0.5428 GB, free: 5.172 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches