Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24.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.001564/0.001564, allocations: 113.1 kB / 21.85 MB, free: 64 kB / 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.001743/0.001743, allocations: 201.8 kB / 25.13 MB, free: 3.578 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.426/1.426, allocations: 230.4 MB / 258.7 MB, free: 8.066 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.2255/0.2255, allocations: 46.93 MB / 362 MB, free: 4.258 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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24") [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.002305/0.002305, allocations: 87.86 kB / 0.4978 GB, free: 7.371 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/0.3109, allocations: 66.07 MB / 0.5623 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.003258/0.3141, allocations: 1.707 MB / 0.564 GB, free: 2.574 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00114/0.3153, allocations: 0.5927 MB / 0.5646 GB, free: 1.98 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.987e-05/0.3153, allocations: 3.938 kB / 0.5646 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000275/0.3156, allocations: 51.81 kB / 0.5646 GB, free: 1.926 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000321/0.3159, allocations: 95.59 kB / 0.5647 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004452/0.3164, allocations: 175.1 kB / 0.5649 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001811/0.3165, allocations: 91.73 kB / 0.565 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.3167, allocations: 20.23 kB / 0.565 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.606e-05/0.3167, allocations: 35.84 kB / 0.565 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001046/0.3168, allocations: 55.7 kB / 0.5651 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/0.3168, allocations: 4 kB / 0.5651 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000111/0.317, allocations: 43.98 kB / 0.5651 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.251e-05/0.317, allocations: 23.91 kB / 0.5652 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.934e-05/0.3171, allocations: 35.8 kB / 0.5652 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002089/0.3173, allocations: 117.9 kB / 0.5653 GB, free: 1.246 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.3173, allocations: 0 / 0.5653 GB, free: 1.246 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3173, allocations: 0 / 0.5653 GB, free: 1.246 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.179e-06/0.3173, allocations: 0 / 0.5653 GB, free: 1.246 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005418/0.3178, allocations: 349.6 kB / 0.5656 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.3179, allocations: 8.031 kB / 0.5657 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.967e-05/0.3179, allocations: 8.891 kB / 0.5657 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002081/0.3181, allocations: 142.3 kB / 0.5658 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.418e-06/0.3181, allocations: 4.375 kB / 0.5658 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.144e-05/0.3182, allocations: 8.375 kB / 0.5658 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001954/0.3184, allocations: 62.17 kB / 0.5659 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.3184, allocations: 8.188 kB / 0.5659 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.3184, allocations: 3.938 kB / 0.5659 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.3184, allocations: 3.984 kB / 0.5659 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001532/0.3185, allocations: 43.95 kB / 0.5659 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005055/0.3191, allocations: 291.8 kB / 0.5662 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002491/0.3193, allocations: 58.55 kB / 0.5663 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.582e-05/0.3194, allocations: 24.97 kB / 0.5663 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.3194, allocations: 4 kB / 0.5663 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.3194, allocations: 30.56 kB / 0.5663 GB, free: 92 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.3194, allocations: 0 / 0.5663 GB, free: 92 kB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001494/0.3209, allocations: 437.3 kB / 0.5667 GB, free: 15.66 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.867e-05/0.321, allocations: 55.41 kB / 0.5668 GB, free: 15.59 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001942/0.3212, allocations: 174.8 kB / 0.567 GB, free: 15.41 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.3212, allocations: 25.7 kB / 0.567 GB, free: 15.38 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.843e-05/0.3213, allocations: 112 kB / 0.5671 GB, free: 15.26 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.481e-05/0.3213, allocations: 39.67 kB / 0.5671 GB, free: 15.22 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.317e-05/0.3214, allocations: 29.72 kB / 0.5672 GB, free: 15.19 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.3215, allocations: 322.8 kB / 0.5675 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.3216, allocations: 51.95 kB / 0.5675 GB, free: 14.81 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001327/0.3218, allocations: 55.95 kB / 0.5676 GB, free: 14.76 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000289/0.3221, allocations: 132.7 kB / 0.5677 GB, free: 14.62 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-06/0.3221, allocations: 0 / 0.5677 GB, free: 14.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003532/0.3224, allocations: 169.8 kB / 0.5679 GB, free: 14.45 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.3224, allocations: 4 kB / 0.5679 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.3224, allocations: 0 / 0.5679 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.3225, allocations: 0 / 0.5679 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.3226, allocations: 23.98 kB / 0.5679 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.3226, allocations: 8 kB / 0.5679 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.728e-05/0.3227, allocations: 11.92 kB / 0.5679 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.3227, allocations: 4 kB / 0.5679 GB, free: 14.4 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 (11): * Single equations (assignments): 11 * 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.0001117/0.3228, allocations: 125.8 kB / 0.568 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.041e-05/0.3228, allocations: 15.91 kB / 0.568 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004607/0.3233, allocations: 190.2 kB / 0.5682 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.3233, allocations: 7.984 kB / 0.5682 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.3233, allocations: 0 / 0.5682 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.3233, allocations: 3.938 kB / 0.5682 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007986/0.3241, allocations: 467.1 kB / 0.5687 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3241, allocations: 4.062 kB / 0.5687 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/0.3242, allocations: 32.11 kB / 0.5687 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.503e-06/0.3242, allocations: 4 kB / 0.5687 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.3242, allocations: 4 kB / 0.5687 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3242, allocations: 0 / 0.5687 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.3242, allocations: 4 kB / 0.5687 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000428/0.3247, allocations: 273 kB / 0.569 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.389e-05/0.3247, allocations: 19.92 kB / 0.569 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/0.3247, allocations: 3.938 kB / 0.569 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.778e-05/0.3248, allocations: 15.98 kB / 0.569 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.711e-05/0.3249, allocations: 3.984 kB / 0.569 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-06/0.3249, allocations: 8 kB / 0.569 GB, free: 13.15 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001262/0.325, allocations: 143.2 kB / 0.5692 GB, free: 13.01 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.325, allocations: 0 / 0.5692 GB, free: 13.01 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002693/0.3253, allocations: 27.94 kB / 0.5692 GB, free: 12.98 MB / 414.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.001678/0.3269, allocations: 459.4 kB / 0.5696 GB, free: 12.69 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003804/0.3273, allocations: 119.8 kB / 0.5697 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3273, allocations: 0 / 0.5697 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001632/0.3275, allocations: 67.89 kB / 0.5698 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003873/0.3279, allocations: 38.81 kB / 0.5698 GB, free: 12.47 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006481/0.3285, allocations: 300 kB / 0.5701 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000358/0.3289, allocations: 0.7119 MB / 0.5708 GB, free: 11.41 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.004e-05/0.329, allocations: 32.45 kB / 0.5709 GB, free: 11.38 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.776e-05/0.329, allocations: 19.44 kB / 0.5709 GB, free: 11.36 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.329, allocations: 0 / 0.5709 GB, free: 11.36 MB / 414.1 MB Notification: Performance of Templates: time 0.005409/0.3344, allocations: 1.695 MB / 0.5725 GB, free: 9.668 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24.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: 4.954280164092779]