Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21.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.007179/0.007179, allocations: 109.2 kB / 21.98 MB, free: 5.184 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.00172/0.00172, allocations: 220.6 kB / 25.29 MB, free: 3.203 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.49/1.49, allocations: 230.5 MB / 258.9 MB, free: 8.016 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.2234/0.2234, allocations: 46.92 MB / 362.3 MB, free: 4.215 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-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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21") [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.002328/0.002328, allocations: 79.86 kB / 0.4982 GB, free: 7.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.3391, allocations: 66.08 MB / 0.5627 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.003904/0.343, allocations: 2.071 MB / 0.5648 GB, free: 2.156 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002288/0.3453, allocations: 1.15 MB / 0.5659 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001184/0.3454, allocations: 7.938 kB / 0.5659 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005634/0.3459, allocations: 267.1 kB / 0.5662 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005232/0.3465, allocations: 255.1 kB / 0.5664 GB, free: 496 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001527/0.348, allocations: 0.6604 MB / 0.567 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004938/0.3485, allocations: 358.7 kB / 0.5674 GB, free: 15.49 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000182/0.3487, allocations: 64.48 kB / 0.5674 GB, free: 15.43 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001854/0.3488, allocations: 159.3 kB / 0.5676 GB, free: 15.27 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003081/0.3492, allocations: 223.2 kB / 0.5678 GB, free: 15.05 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.953e-05/0.3492, allocations: 12 kB / 0.5678 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000217/0.3494, allocations: 115.9 kB / 0.5679 GB, free: 14.93 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001446/0.3495, allocations: 95.66 kB / 0.568 GB, free: 14.83 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001278/0.3497, allocations: 126.9 kB / 0.5681 GB, free: 14.71 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004733/0.3501, allocations: 352.9 kB / 0.5685 GB, free: 14.36 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3502, allocations: 0 / 0.5685 GB, free: 14.36 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3502, allocations: 0 / 0.5685 GB, free: 14.36 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.3502, allocations: 4 kB / 0.5685 GB, free: 14.36 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008819/0.351, allocations: 0.6049 MB / 0.5691 GB, free: 13.72 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.3511, allocations: 8.031 kB / 0.5691 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.836e-05/0.3512, allocations: 52.61 kB / 0.5691 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004202/0.3516, allocations: 260.7 kB / 0.5694 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.3516, allocations: 8.375 kB / 0.5694 GB, free: 13.37 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.756e-05/0.3516, allocations: 12.38 kB / 0.5694 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002873/0.3519, allocations: 127 kB / 0.5695 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.3519, allocations: 192 / 0.5695 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.924e-05/0.352, allocations: 7.938 kB / 0.5695 GB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.635e-06/0.352, allocations: 4 kB / 0.5695 GB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002297/0.3522, allocations: 95.8 kB / 0.5696 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007753/0.353, allocations: 483.4 kB / 0.5701 GB, free: 12.61 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002135/0.3532, allocations: 110.5 kB / 0.5702 GB, free: 12.49 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.853e-05/0.3533, allocations: 32.84 kB / 0.5702 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.719e-05/0.3533, allocations: 4 kB / 0.5702 GB, free: 12.45 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.599e-05/0.3533, allocations: 42.55 kB / 0.5703 GB, free: 12.4 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 3.006e-06/0.3533, allocations: 3.984 kB / 0.5703 GB, free: 12.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001081/0.3544, allocations: 456.5 kB / 0.5707 GB, free: 11.95 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.103e-05/0.3545, allocations: 59.31 kB / 0.5708 GB, free: 11.88 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007947/0.3553, allocations: 0.5644 MB / 0.5713 GB, free: 11.3 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.12e-05/0.3553, allocations: 25.7 kB / 0.5713 GB, free: 11.27 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001842/0.3555, allocations: 212.4 kB / 0.5715 GB, free: 11.05 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.005e-05/0.3555, allocations: 59.48 kB / 0.5716 GB, free: 10.99 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.879e-05/0.3556, allocations: 33.7 kB / 0.5716 GB, free: 10.95 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001909/0.3558, allocations: 354.8 kB / 0.572 GB, free: 10.6 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/0.3559, allocations: 67.89 kB / 0.572 GB, free: 10.53 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001361/0.3561, allocations: 71.95 kB / 0.5721 GB, free: 10.46 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002955/0.3564, allocations: 159.1 kB / 0.5723 GB, free: 10.3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.3564, allocations: 4 kB / 0.5723 GB, free: 10.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004187/0.3568, allocations: 237.2 kB / 0.5725 GB, free: 10.06 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.3568, allocations: 7.938 kB / 0.5725 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.3568, allocations: 0 / 0.5725 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.853e-05/0.3568, allocations: 0 / 0.5725 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/0.357, allocations: 39.91 kB / 0.5725 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.357, allocations: 0 / 0.5725 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.763e-05/0.3571, allocations: 8 kB / 0.5725 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.824e-05/0.3571, allocations: 8 kB / 0.5725 GB, free: 10 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 (17): * Single equations (assignments): 17 * 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.000207/0.3573, allocations: 177.8 kB / 0.5727 GB, free: 9.816 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.268e-05/0.3574, allocations: 43.66 kB / 0.5728 GB, free: 9.773 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005582/0.3579, allocations: 291.2 kB / 0.573 GB, free: 9.48 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.3579, allocations: 0 / 0.573 GB, free: 9.48 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.3579, allocations: 0 / 0.573 GB, free: 9.48 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.3579, allocations: 0 / 0.573 GB, free: 9.48 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001056/0.359, allocations: 0.6602 MB / 0.5737 GB, free: 8.773 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.359, allocations: 3.984 kB / 0.5737 GB, free: 8.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000122/0.3591, allocations: 27.98 kB / 0.5737 GB, free: 8.742 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.3591, allocations: 0 / 0.5737 GB, free: 8.742 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.3591, allocations: 4 kB / 0.5737 GB, free: 8.738 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3591, allocations: 0 / 0.5737 GB, free: 8.738 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3591, allocations: 3.938 kB / 0.5737 GB, free: 8.734 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004627/0.3596, allocations: 339 kB / 0.574 GB, free: 8.387 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.243e-05/0.3597, allocations: 35.75 kB / 0.5741 GB, free: 8.352 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.041e-05/0.3597, allocations: 4 kB / 0.5741 GB, free: 8.348 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.248e-05/0.3598, allocations: 4 kB / 0.5741 GB, free: 8.344 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.941e-05/0.3598, allocations: 15.97 kB / 0.5741 GB, free: 8.328 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.3599, allocations: 7.938 kB / 0.5741 GB, free: 8.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004869/0.3603, allocations: 431.1 kB / 0.5745 GB, free: 7.902 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3603, allocations: 0 / 0.5745 GB, free: 7.902 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000322/0.3607, allocations: 51.94 kB / 0.5746 GB, free: 7.852 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (17): * Single equations (assignments): 17 * 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.002774/0.3634, allocations: 0.6904 MB / 0.5752 GB, free: 7.434 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003846/0.3638, allocations: 153.8 kB / 0.5754 GB, free: 7.285 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3638, allocations: 7.938 kB / 0.5754 GB, free: 7.277 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001573/0.364, allocations: 83.89 kB / 0.5755 GB, free: 7.195 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005519/0.3645, allocations: 80.8 kB / 0.5756 GB, free: 7.121 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001205/0.3657, allocations: 0.7535 MB / 0.5763 GB, free: 6.332 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004865/0.3662, allocations: 0.8143 MB / 0.5771 GB, free: 5.492 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.326e-05/0.3663, allocations: 35.42 kB / 0.5771 GB, free: 5.461 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3663, allocations: 0 / 0.5771 GB, free: 5.461 MB / 414.1 MB Notification: Performance of Templates: time 0.007938/0.3742, allocations: 4.82 MB / 0.5818 GB, free: 0.6484 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21.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: 8.224102247972041]