Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 204.9 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.569/1.569, allocations: 230.6 MB / 257.5 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2426/0.2426, allocations: 46.94 MB / 360.9 MB, free: 4.133 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 63.91 kB / 0.4966 GB, free: 7.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3815/0.3834, allocations: 66.04 MB / 0.5611 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.003738/0.3871, allocations: 1.647 MB / 0.5627 GB, free: 2.672 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00138/0.3885, allocations: 0.5388 MB / 0.5632 GB, free: 2.129 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.475e-05/0.3886, allocations: 0 / 0.5632 GB, free: 2.129 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003721/0.389, allocations: 99.66 kB / 0.5633 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003681/0.3893, allocations: 115.6 kB / 0.5634 GB, free: 1.918 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003657/0.3897, allocations: 116.2 kB / 0.5636 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002231/0.3899, allocations: 107.7 kB / 0.5637 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001389/0.3901, allocations: 26.66 kB / 0.5637 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.007e-05/0.3901, allocations: 47.83 kB / 0.5637 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001363/0.3903, allocations: 67.8 kB / 0.5638 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/0.3903, allocations: 4 kB / 0.5638 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001079/0.3904, allocations: 47.98 kB / 0.5638 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.908e-05/0.3905, allocations: 27.86 kB / 0.5639 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.102e-05/0.3906, allocations: 31.8 kB / 0.5639 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002636/0.3908, allocations: 139.3 kB / 0.564 GB, free: 1.316 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.3908, allocations: 0 / 0.564 GB, free: 1.316 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.3908, allocations: 0 / 0.564 GB, free: 1.316 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.3908, allocations: 0 / 0.564 GB, free: 1.316 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006666/0.3915, allocations: 361.5 kB / 0.5644 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.3916, allocations: 12.03 kB / 0.5644 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.801e-05/0.3916, allocations: 12.84 kB / 0.5644 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002655/0.3919, allocations: 162.2 kB / 0.5646 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/0.3919, allocations: 12.38 kB / 0.5646 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.141e-05/0.3919, allocations: 4.375 kB / 0.5646 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002031/0.3921, allocations: 73.05 kB / 0.5646 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/0.3922, allocations: 3.953 kB / 0.5646 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.3922, allocations: 8 kB / 0.5647 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.3922, allocations: 3.984 kB / 0.5647 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001366/0.3923, allocations: 43.91 kB / 0.5647 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005324/0.3928, allocations: 276.3 kB / 0.565 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.393, allocations: 66.55 kB / 0.565 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.133e-05/0.3931, allocations: 24.84 kB / 0.565 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.135e-05/0.3931, allocations: 0 / 0.565 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.569e-05/0.3932, allocations: 38.5 kB / 0.5651 GB, free: 132 kB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.3932, allocations: 0 / 0.5651 GB, free: 132 kB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001368/0.3945, allocations: 333.4 kB / 0.5654 GB, free: 15.8 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.812e-05/0.3946, allocations: 59.28 kB / 0.5655 GB, free: 15.73 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002995/0.3949, allocations: 231.6 kB / 0.5657 GB, free: 15.48 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.45e-05/0.3949, allocations: 29.7 kB / 0.5657 GB, free: 15.45 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.965e-05/0.395, allocations: 116 kB / 0.5658 GB, free: 15.33 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.255e-05/0.3951, allocations: 43.64 kB / 0.5659 GB, free: 15.29 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.715e-05/0.3951, allocations: 29.7 kB / 0.5659 GB, free: 15.25 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002088/0.3953, allocations: 326.8 kB / 0.5662 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/0.3955, allocations: 47.97 kB / 0.5662 GB, free: 14.88 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001129/0.3956, allocations: 43.97 kB / 0.5663 GB, free: 14.83 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002458/0.3958, allocations: 108.8 kB / 0.5664 GB, free: 14.72 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.3958, allocations: 0 / 0.5664 GB, free: 14.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003289/0.3961, allocations: 161.3 kB / 0.5665 GB, free: 14.56 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.3962, allocations: 8 kB / 0.5666 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.3962, allocations: 0 / 0.5666 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.373e-05/0.3962, allocations: 0 / 0.5666 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.3963, allocations: 31.92 kB / 0.5666 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.3964, allocations: 7.938 kB / 0.5666 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.031e-05/0.3964, allocations: 4 kB / 0.5666 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.461e-05/0.3964, allocations: 8.688 kB / 0.5666 GB, free: 14.5 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * 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.0001358/0.3966, allocations: 134.4 kB / 0.5667 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.738e-05/0.3966, allocations: 19.84 kB / 0.5668 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004601/0.3971, allocations: 191 kB / 0.5669 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.879e-06/0.3971, allocations: 11.92 kB / 0.5669 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3971, allocations: 4 kB / 0.5669 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.3971, allocations: 3.938 kB / 0.567 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007142/0.3978, allocations: 426.9 kB / 0.5674 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3978, allocations: 0 / 0.5674 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.966e-05/0.3979, allocations: 27.98 kB / 0.5674 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.3979, allocations: 0 / 0.5674 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.3979, allocations: 0 / 0.5674 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.3979, allocations: 4 kB / 0.5674 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.3979, allocations: 4.031 kB / 0.5674 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003982/0.3983, allocations: 264.1 kB / 0.5676 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.569e-05/0.3983, allocations: 15.91 kB / 0.5677 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.146e-05/0.3984, allocations: 0 / 0.5677 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.086e-05/0.3984, allocations: 7.984 kB / 0.5677 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.84e-05/0.3985, allocations: 15.92 kB / 0.5677 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.3985, allocations: 4 kB / 0.5677 GB, free: 13.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001932/0.3987, allocations: 185.1 kB / 0.5679 GB, free: 13.14 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3987, allocations: 4 kB / 0.5679 GB, free: 13.13 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002716/0.399, allocations: 24 kB / 0.5679 GB, free: 13.11 MB / 414.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.001959/0.4009, allocations: 489.7 kB / 0.5684 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003109/0.4012, allocations: 107.9 kB / 0.5685 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.4012, allocations: 0 / 0.5685 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001372/0.4014, allocations: 67.83 kB / 0.5685 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004298/0.4018, allocations: 27.98 kB / 0.5686 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007272/0.4025, allocations: 327.6 kB / 0.5689 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001386/0.4027, allocations: 117.6 kB / 0.569 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.548e-05/0.4028, allocations: 32.47 kB / 0.569 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.667e-05/0.4028, allocations: 15.44 kB / 0.569 GB, free: 12.11 MB / 414.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4028, allocations: 0 / 0.569 GB, free: 12.11 MB / 414.1 MB Notification: Performance of Templates: time 0.005953/0.4088, allocations: 1.716 MB / 0.5707 GB, free: 10.41 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.422745521180332]