Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001576/0.001576, allocations: 110.2 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001748/0.001748, allocations: 215.5 kB / 23.54 MB, free: 5.402 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, allocations: 230.2 MB / 256.8 MB, free: 8.633 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2225/0.2225, allocations: 46.88 MB / 359.9 MB, free: 5.012 MB / 286.1 MB [Timeout remaining time 90] 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.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22") [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.002259/0.002259, allocations: 79.88 kB / 0.495 GB, free: 8.688 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2844/0.2867, allocations: 65.98 MB / 0.5594 GB, free: 5.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.003482/0.2902, allocations: 2.039 MB / 0.5614 GB, free: 3.156 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002158/0.2923, allocations: 1.369 MB / 0.5627 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001049/0.2924, allocations: 7.938 kB / 0.5627 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002448/0.2927, allocations: 55.52 kB / 0.5628 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000434/0.2931, allocations: 215.1 kB / 0.563 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001192/0.2943, allocations: 0.5902 MB / 0.5636 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003851/0.2947, allocations: 319.1 kB / 0.5639 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001614/0.2948, allocations: 64.5 kB / 0.5639 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002231/0.2951, allocations: 143.4 kB / 0.5641 GB, free: 432 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002423/0.2953, allocations: 203.2 kB / 0.5643 GB, free: 228 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.356e-05/0.2953, allocations: 12 kB / 0.5643 GB, free: 216 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001313/0.2955, allocations: 63.98 kB / 0.5643 GB, free: 152 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001603/0.2956, allocations: 151.5 kB / 0.5645 GB, free: 0 / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001666/0.2958, allocations: 166.7 kB / 0.5647 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004446/0.2962, allocations: 400.5 kB / 0.565 GB, free: 15.45 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.2962, allocations: 0 / 0.565 GB, free: 15.45 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2962, allocations: 0 / 0.565 GB, free: 15.45 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.2963, allocations: 3.938 kB / 0.565 GB, free: 15.44 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.001007/0.2973, allocations: 0.7966 MB / 0.5658 GB, free: 14.59 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.2973, allocations: 12.03 kB / 0.5658 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002695/0.2976, allocations: 76.55 kB / 0.5659 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006181/0.2982, allocations: 472.2 kB / 0.5664 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.2982, allocations: 8.375 kB / 0.5664 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.012e-05/0.2982, allocations: 12.12 kB / 0.5664 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002824/0.2985, allocations: 142.6 kB / 0.5665 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.2985, allocations: 11.89 kB / 0.5665 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.63e-05/0.2985, allocations: 4 kB / 0.5665 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.2985, allocations: 4 kB / 0.5665 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002299/0.2988, allocations: 99.86 kB / 0.5666 GB, free: 13.72 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009315/0.2997, allocations: 0.684 MB / 0.5673 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002186/0.2999, allocations: 113.2 kB / 0.5674 GB, free: 12.85 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.3, allocations: 45.81 kB / 0.5674 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.3001, allocations: 0 / 0.5674 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.501e-05/0.3001, allocations: 38.5 kB / 0.5675 GB, free: 12.75 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 8.52e-07/0.3001, allocations: 0 / 0.5675 GB, free: 12.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.001403/0.3015, allocations: 0.5658 MB / 0.568 GB, free: 12.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.255e-05/0.3015, allocations: 77.11 kB / 0.5681 GB, free: 12.09 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000994/0.3025, allocations: 0.9024 MB / 0.569 GB, free: 11.17 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.551e-05/0.3026, allocations: 37.64 kB / 0.569 GB, free: 11.13 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002071/0.3028, allocations: 264.3 kB / 0.5693 GB, free: 10.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.088e-05/0.3028, allocations: 55.52 kB / 0.5693 GB, free: 10.81 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.278e-05/0.3029, allocations: 33.7 kB / 0.5694 GB, free: 10.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.3031, allocations: 378.7 kB / 0.5697 GB, free: 10.39 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001677/0.3032, allocations: 63.95 kB / 0.5698 GB, free: 10.33 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001733/0.3034, allocations: 81.61 kB / 0.5699 GB, free: 10.24 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003458/0.3038, allocations: 158 kB / 0.57 GB, free: 10.08 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.3038, allocations: 0 / 0.57 GB, free: 10.08 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004874/0.3043, allocations: 257 kB / 0.5703 GB, free: 9.824 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.3043, allocations: 4 kB / 0.5703 GB, free: 9.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.3043, allocations: 4 kB / 0.5703 GB, free: 9.816 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.3043, allocations: 4 kB / 0.5703 GB, free: 9.812 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002001/0.3045, allocations: 35.97 kB / 0.5703 GB, free: 9.777 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.3045, allocations: 0 / 0.5703 GB, free: 9.777 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001205/0.3046, allocations: 11.98 kB / 0.5703 GB, free: 9.766 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.548e-05/0.3046, allocations: 8 kB / 0.5703 GB, free: 9.758 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 (16): * Single equations (assignments): 16 * 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.0002112/0.3048, allocations: 217.6 kB / 0.5705 GB, free: 9.535 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.3049, allocations: 63.62 kB / 0.5706 GB, free: 9.473 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005937/0.3055, allocations: 279.3 kB / 0.5709 GB, free: 9.188 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.3055, allocations: 0 / 0.5709 GB, free: 9.188 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.3055, allocations: 4 kB / 0.5709 GB, free: 9.184 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.3056, allocations: 3.984 kB / 0.5709 GB, free: 9.18 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001185/0.3067, allocations: 0.8137 MB / 0.5717 GB, free: 8.309 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3067, allocations: 0 / 0.5717 GB, free: 8.309 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001691/0.3069, allocations: 43.91 kB / 0.5717 GB, free: 8.266 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.3069, allocations: 0 / 0.5717 GB, free: 8.266 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.3069, allocations: 4 kB / 0.5717 GB, free: 8.262 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.3069, allocations: 3.938 kB / 0.5717 GB, free: 8.258 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3069, allocations: 4 kB / 0.5717 GB, free: 8.254 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005635/0.3075, allocations: 417 kB / 0.5721 GB, free: 7.832 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001647/0.3077, allocations: 140.7 kB / 0.5722 GB, free: 7.676 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.24e-05/0.3077, allocations: 4 kB / 0.5722 GB, free: 7.672 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001851/0.3079, allocations: 19.92 kB / 0.5723 GB, free: 7.652 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.713e-05/0.3079, allocations: 15.92 kB / 0.5723 GB, free: 7.637 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.578e-05/0.308, allocations: 7.984 kB / 0.5723 GB, free: 7.629 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007543/0.3087, allocations: 0.663 MB / 0.5729 GB, free: 6.969 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3087, allocations: 3.938 kB / 0.5729 GB, free: 6.965 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003458/0.3091, allocations: 55.94 kB / 0.573 GB, free: 6.91 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 (16): * Single equations (assignments): 16 * 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.001415/0.3105, allocations: 406.8 kB / 0.5734 GB, free: 6.641 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000429/0.3109, allocations: 155.8 kB / 0.5735 GB, free: 6.488 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.3109, allocations: 0 / 0.5735 GB, free: 6.488 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001905/0.3111, allocations: 83.88 kB / 0.5736 GB, free: 6.406 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005346/0.3116, allocations: 74.33 kB / 0.5737 GB, free: 6.34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001363/0.313, allocations: 0.9709 MB / 0.5746 GB, free: 5.328 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005049/0.3135, allocations: 0.8692 MB / 0.5755 GB, free: 4.434 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.3136, allocations: 43.42 kB / 0.5755 GB, free: 4.395 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3136, allocations: 0 / 0.5755 GB, free: 4.395 MB / 414.1 MB Notification: Performance of Templates: time 0.008525/0.3221, allocations: 5.849 MB / 0.5812 GB, free: 14.55 MB / 430.1 MB [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches