Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001459/0.001459, allocations: 110.4 kB / 21.17 MB, free: 0.7852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001573/0.001573, allocations: 220.1 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.533/1.533, allocations: 230.2 MB / 257.8 MB, free: 8.504 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2485/0.2485, allocations: 46.89 MB / 361.1 MB, free: 4.641 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.CombiTable2Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002399/0.002399, allocations: 79.88 kB / 0.4968 GB, free: 7.809 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3843/0.3867, allocations: 65.98 MB / 0.5612 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.005574/0.3923, allocations: 2.129 MB / 0.5633 GB, free: 2.887 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003972/0.3963, allocations: 1.314 MB / 0.5646 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001908/0.3965, allocations: 4 kB / 0.5646 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003414/0.3968, allocations: 51.52 kB / 0.5646 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007575/0.3976, allocations: 215.1 kB / 0.5648 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001634/0.3992, allocations: 461.4 kB / 0.5653 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007565/0.4, allocations: 323 kB / 0.5656 GB, free: 0.543 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002352/0.4002, allocations: 56.48 kB / 0.5656 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004057/0.4006, allocations: 139.4 kB / 0.5658 GB, free: 364 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004687/0.4011, allocations: 227.1 kB / 0.566 GB, free: 136 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.642e-05/0.4011, allocations: 12 kB / 0.566 GB, free: 124 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002881/0.4014, allocations: 63.98 kB / 0.5661 GB, free: 60 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003202/0.4017, allocations: 147.4 kB / 0.5662 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002667/0.402, allocations: 174.6 kB / 0.5664 GB, free: 15.74 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008562/0.4029, allocations: 416.7 kB / 0.5668 GB, free: 15.34 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.4029, allocations: 0 / 0.5668 GB, free: 15.34 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4029, allocations: 0 / 0.5668 GB, free: 15.34 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.327e-05/0.4029, allocations: 4 kB / 0.5668 GB, free: 15.33 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001619/0.4045, allocations: 0.816 MB / 0.5676 GB, free: 14.46 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.4045, allocations: 8.031 kB / 0.5676 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004866/0.405, allocations: 92.52 kB / 0.5677 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008674/0.4059, allocations: 485 kB / 0.5681 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/0.4059, allocations: 12.31 kB / 0.5681 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.362e-05/0.406, allocations: 8.375 kB / 0.5681 GB, free: 13.83 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003813/0.4063, allocations: 159.5 kB / 0.5683 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.938e-05/0.4064, allocations: 3.953 kB / 0.5683 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.924e-05/0.4064, allocations: 4 kB / 0.5683 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.4064, allocations: 4 kB / 0.5683 GB, free: 13.65 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003342/0.4067, allocations: 99.86 kB / 0.5684 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001234/0.408, allocations: 0.6839 MB / 0.5691 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003215/0.4083, allocations: 109.2 kB / 0.5692 GB, free: 12.69 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001678/0.4084, allocations: 57.81 kB / 0.5692 GB, free: 12.63 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.825e-05/0.4085, allocations: 7.984 kB / 0.5692 GB, free: 12.62 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.373e-05/0.4085, allocations: 34.5 kB / 0.5693 GB, free: 12.58 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.884e-06/0.4085, allocations: 0 / 0.5693 GB, free: 12.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=20): time 0.002307/0.4108, allocations: 0.6945 MB / 0.5699 GB, free: 11.88 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.138e-05/0.4109, allocations: 89.03 kB / 0.57 GB, free: 11.77 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001227/0.4121, allocations: 0.8907 MB / 0.5709 GB, free: 10.87 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.571e-05/0.4122, allocations: 33.7 kB / 0.5709 GB, free: 10.83 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002411/0.4124, allocations: 260.4 kB / 0.5712 GB, free: 10.57 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.629e-05/0.4125, allocations: 71.42 kB / 0.5712 GB, free: 10.5 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.592e-05/0.4126, allocations: 33.7 kB / 0.5713 GB, free: 10.46 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002113/0.4128, allocations: 374.8 kB / 0.5716 GB, free: 10.08 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003016/0.4131, allocations: 87.94 kB / 0.5717 GB, free: 9.996 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003037/0.4134, allocations: 113.6 kB / 0.5718 GB, free: 9.879 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005889/0.414, allocations: 213.7 kB / 0.572 GB, free: 9.664 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.414, allocations: 0 / 0.572 GB, free: 9.664 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007888/0.4148, allocations: 309 kB / 0.5723 GB, free: 9.355 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.4148, allocations: 4 kB / 0.5723 GB, free: 9.352 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.4148, allocations: 0 / 0.5723 GB, free: 9.352 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/0.4148, allocations: 4 kB / 0.5723 GB, free: 9.348 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003245/0.4151, allocations: 51.89 kB / 0.5724 GB, free: 9.297 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.4152, allocations: 4.969 kB / 0.5724 GB, free: 9.293 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002199/0.4154, allocations: 27.91 kB / 0.5724 GB, free: 9.266 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.314e-05/0.4154, allocations: 15.92 kB / 0.5724 GB, free: 9.25 MB / 414.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0002535/0.4157, allocations: 213.7 kB / 0.5726 GB, free: 9.031 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001264/0.4158, allocations: 59.58 kB / 0.5727 GB, free: 8.973 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009104/0.4167, allocations: 350.6 kB / 0.573 GB, free: 8.621 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.4167, allocations: 8.031 kB / 0.573 GB, free: 8.613 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.4167, allocations: 3.938 kB / 0.573 GB, free: 8.609 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.4167, allocations: 0 / 0.573 GB, free: 8.609 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001607/0.4183, allocations: 0.8878 MB / 0.5739 GB, free: 7.664 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.736e-06/0.4183, allocations: 0 / 0.5739 GB, free: 7.664 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002671/0.4186, allocations: 51.95 kB / 0.574 GB, free: 7.613 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.4186, allocations: 0 / 0.574 GB, free: 7.613 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.52e-05/0.4186, allocations: 11.98 kB / 0.574 GB, free: 7.602 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.109e-06/0.4186, allocations: 3.938 kB / 0.574 GB, free: 7.598 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.4186, allocations: 0 / 0.574 GB, free: 7.598 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00087/0.4195, allocations: 488.4 kB / 0.5744 GB, free: 7.105 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001996/0.4197, allocations: 140.7 kB / 0.5746 GB, free: 6.949 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.006e-05/0.4197, allocations: 4 kB / 0.5746 GB, free: 6.945 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002679/0.42, allocations: 23.98 kB / 0.5746 GB, free: 6.922 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.725e-05/0.4201, allocations: 23.91 kB / 0.5746 GB, free: 6.898 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.859e-05/0.4201, allocations: 7.984 kB / 0.5746 GB, free: 6.891 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008296/0.4209, allocations: 0.6513 MB / 0.5753 GB, free: 6.246 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4209, allocations: 0 / 0.5753 GB, free: 6.246 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004139/0.4214, allocations: 67.92 kB / 0.5753 GB, free: 6.18 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 (20): * Single equations (assignments): 20 * 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.001595/0.423, allocations: 413.7 kB / 0.5757 GB, free: 5.918 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006997/0.4236, allocations: 215.7 kB / 0.5759 GB, free: 5.707 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.4237, allocations: 0 / 0.5759 GB, free: 5.707 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003262/0.424, allocations: 115.8 kB / 0.576 GB, free: 5.594 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006294/0.4246, allocations: 86.03 kB / 0.5761 GB, free: 5.508 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001646/0.4263, allocations: 0.9771 MB / 0.5771 GB, free: 4.496 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005965/0.4269, allocations: 0.8772 MB / 0.5779 GB, free: 3.59 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002109/0.4271, allocations: 83.22 kB / 0.578 GB, free: 3.504 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.4272, allocations: 35.42 kB / 0.578 GB, free: 3.469 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4272, allocations: 0 / 0.578 GB, free: 3.469 MB / 414.1 MB Notification: Performance of Templates: time 0.01036/0.4375, allocations: 4.459 MB / 0.5824 GB, free: 15.02 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23.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.546344524715096]