Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7.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.001898/0.001898, allocations: 84.34 kB / 20.95 MB, free: 3.453 MB / 18.57 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.002611/0.002611, allocations: 165.7 kB / 24.27 MB, free: 144 kB / 18.57 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.579/1.579, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 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.4229/0.4229, allocations: 34.27 MB / 295.3 MB, free: 0.6836 MB / 266.7 MB " [Timeout remaining time 179] 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.CombiTable2Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 377.3 MB, free: 2.945 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.701e-05/3.847e-05, allocations: 9.266 kB / 377.3 MB, free: 2.938 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test7): time 0.003619/0.003657, allocations: 1.615 MB / 378.9 MB, free: 1.309 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001121/0.004778, allocations: 0.5103 MB / 379.4 MB, free: 0.793 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.493e-05/0.004823, allocations: 3.938 kB / 379.4 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006788/0.005501, allocations: 459 kB / 379.9 MB, free: 348 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001145/0.006646, allocations: 295.2 kB / 380.2 MB, free: 52 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003668/0.007013, allocations: 119.6 kB / 380.3 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002739/0.007287, allocations: 171.6 kB / 380.4 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.388e-05/0.007361, allocations: 4.188 kB / 380.5 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002074/0.007568, allocations: 115.8 kB / 380.6 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003193/0.007888, allocations: 239.6 kB / 380.8 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.83e-05/0.007906, allocations: 0 / 380.8 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.737e-05/0.007993, allocations: 31.86 kB / 380.8 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001308/0.008124, allocations: 83.7 kB / 380.9 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.42e-05/0.008178, allocations: 35.75 kB / 380.9 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003625/0.008541, allocations: 231.1 kB / 381.2 MB, free: 15.04 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.008543, allocations: 0 / 381.2 MB, free: 15.04 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.008544, allocations: 0 / 381.2 MB, free: 15.04 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.008551, allocations: 4 kB / 381.2 MB, free: 15.04 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007577/0.009309, allocations: 0.5582 MB / 381.7 MB, free: 14.45 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.009342, allocations: 12.03 kB / 381.7 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.256e-05/0.009424, allocations: 44.66 kB / 381.8 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000316/0.00974, allocations: 246 kB / 382 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.336e-06/0.009749, allocations: 384 / 382 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.085e-06/0.009757, allocations: 4.375 kB / 382 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000128/0.009885, allocations: 46.25 kB / 382.1 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.009894, allocations: 4.188 kB / 382.1 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.288e-06/0.009903, allocations: 3.938 kB / 382.1 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.296e-06/0.009906, allocations: 0 / 382.1 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.812e-05/0.009995, allocations: 19.98 kB / 382.1 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004901/0.01048, allocations: 316.5 kB / 382.4 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.688e-05/0.01058, allocations: 34.5 kB / 382.5 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.505e-05/0.01064, allocations: 16.91 kB / 382.5 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.814e-05/0.01065, allocations: 4 kB / 382.5 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.475e-05/0.01069, allocations: 34.56 kB / 382.5 MB, free: 13.59 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.01069, allocations: 0 / 382.5 MB, free: 13.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002923/0.01098, allocations: 101.3 kB / 382.6 MB, free: 13.49 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.761e-05/0.01103, allocations: 55.41 kB / 382.7 MB, free: 13.42 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001094/0.01212, allocations: 0.8613 MB / 383.5 MB, free: 12.55 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.01214, allocations: 25.7 kB / 383.5 MB, free: 12.52 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002316/0.01237, allocations: 212.1 kB / 383.8 MB, free: 12.31 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.578e-05/0.01239, allocations: 3.953 kB / 383.8 MB, free: 12.3 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.863e-05/0.01243, allocations: 17.84 kB / 383.8 MB, free: 12.28 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002373/0.01267, allocations: 358.8 kB / 384.1 MB, free: 11.92 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.348e-05/0.01271, allocations: 7.984 kB / 384.1 MB, free: 11.91 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.859e-05/0.01275, allocations: 12 kB / 384.1 MB, free: 11.9 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.523e-05/0.01283, allocations: 24.84 kB / 384.2 MB, free: 11.88 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.01284, allocations: 0 / 384.2 MB, free: 11.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001834/0.01302, allocations: 101.3 kB / 384.3 MB, free: 11.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.01303, allocations: 8.094 kB / 384.3 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.01304, allocations: 3.938 kB / 384.3 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.01305, allocations: 0 / 384.3 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.734e-05/0.01311, allocations: 8 kB / 384.3 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.026e-06/0.01311, allocations: 0 / 384.3 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.082e-05/0.01316, allocations: 7.953 kB / 384.3 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.608e-06/0.01317, allocations: 0 / 384.3 MB, free: 11.74 MB / 362.7 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 (2): * Single equations (assignments): 2 * 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.0002394/0.0134, allocations: 209.8 kB / 384.5 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.269e-05/0.01348, allocations: 47.66 kB / 384.5 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002322/0.01371, allocations: 108.7 kB / 384.7 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.165e-06/0.01371, allocations: 0 / 384.7 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.01371, allocations: 4 kB / 384.7 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.01372, allocations: 3.984 kB / 384.7 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003053/0.01402, allocations: 225.2 kB / 384.9 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.01403, allocations: 0 / 384.9 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.421e-05/0.01407, allocations: 11.92 kB / 384.9 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.01407, allocations: 0 / 384.9 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.01408, allocations: 4 kB / 384.9 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.01408, allocations: 0 / 384.9 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.01408, allocations: 4.031 kB / 384.9 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002448/0.01433, allocations: 183.2 kB / 385.1 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.34e-05/0.01438, allocations: 39.66 kB / 385.1 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.157e-05/0.0144, allocations: 0 / 385.1 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.428e-05/0.01448, allocations: 0 / 385.1 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.47e-05/0.01449, allocations: 4 kB / 385.1 MB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.431e-06/0.0145, allocations: 4 kB / 385.1 MB, free: 10.85 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007625/0.01526, allocations: 0.655 MB / 385.8 MB, free: 10.2 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01526, allocations: 0 / 385.8 MB, free: 10.2 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002586/0.01552, allocations: 19.94 kB / 385.8 MB, free: 10.18 MB / 362.7 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 (2): * Single equations (assignments): 2 * 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.001671/0.01719, allocations: 370.6 kB / 386.2 MB, free: 9.957 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001286/0.01732, allocations: 23.98 kB / 386.2 MB, free: 9.934 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.01732, allocations: 4.062 kB / 386.2 MB, free: 9.93 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.748e-05/0.01736, allocations: 4 kB / 386.2 MB, free: 9.926 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004157/0.01777, allocations: 29.89 kB / 386.2 MB, free: 9.898 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00131/0.01908, allocations: 0.7954 MB / 387 MB, free: 9.074 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005892/0.01967, allocations: 215.3 kB / 387.2 MB, free: 8.844 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.208e-05/0.01971, allocations: 15.88 kB / 387.2 MB, free: 8.828 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.092e-05/0.01975, allocations: 12.5 kB / 387.3 MB, free: 8.812 MB / 362.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01975, allocations: 4 kB / 387.3 MB, free: 8.809 MB / 362.7 MB Notification: Performance of Templates: time 0.004832/0.02459, allocations: 1.114 MB / 388.4 MB, free: 7.699 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7.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.9492688060272485]