Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.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.00171/0.00171, allocations: 85.36 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001831/0.001831, allocations: 164.7 kB / 23.95 MB, free: 4.172 MB / 14.72 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.424/1.424, allocations: 177.1 MB / 204.3 MB, free: 9.215 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1963/0.1963, allocations: 32.8 MB / 293.5 MB, free: 64 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 440.1 MB, free: 8.164 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.973e-05/3.138e-05, allocations: 9.172 kB / 440.1 MB, free: 8.156 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test24): time 0.002914/0.002945, allocations: 1.655 MB / 441.8 MB, free: 6.492 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001055/0.004001, allocations: 0.5414 MB / 442.3 MB, free: 5.945 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.994e-05/0.004051, allocations: 0 / 442.3 MB, free: 5.945 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002246/0.004275, allocations: 55.67 kB / 442.4 MB, free: 5.891 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002969/0.004572, allocations: 91.53 kB / 442.5 MB, free: 5.801 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003152/0.004887, allocations: 134.4 kB / 442.6 MB, free: 5.672 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001649/0.005052, allocations: 87.69 kB / 442.7 MB, free: 5.586 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.005153, allocations: 8.234 kB / 442.7 MB, free: 5.574 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.979e-05/0.005243, allocations: 51.88 kB / 442.7 MB, free: 5.523 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.304e-05/0.005336, allocations: 35.89 kB / 442.8 MB, free: 5.488 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.005355, allocations: 4 kB / 442.8 MB, free: 5.484 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001022/0.005457, allocations: 47.92 kB / 442.8 MB, free: 5.438 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.669e-05/0.005524, allocations: 19.92 kB / 442.9 MB, free: 5.418 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.498e-05/0.005559, allocations: 23.91 kB / 442.9 MB, free: 5.395 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002121/0.005771, allocations: 115.5 kB / 443 MB, free: 5.281 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.005773, allocations: 4 kB / 443 MB, free: 5.277 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.91e-07/0.005773, allocations: 0 / 443 MB, free: 5.277 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.005781, allocations: 0 / 443 MB, free: 5.277 MB / 366.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.0004801/0.006261, allocations: 329.7 kB / 443.3 MB, free: 4.926 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.006312, allocations: 12.03 kB / 443.3 MB, free: 4.914 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.349e-05/0.006356, allocations: 12.84 kB / 443.3 MB, free: 4.902 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001898/0.006546, allocations: 142 kB / 443.5 MB, free: 4.738 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.006562, allocations: 8.359 kB / 443.5 MB, free: 4.73 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.829e-05/0.006591, allocations: 12.36 kB / 443.5 MB, free: 4.719 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.006766, allocations: 65.98 kB / 443.6 MB, free: 4.648 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.006778, allocations: 0 / 443.6 MB, free: 4.648 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.006787, allocations: 0 / 443.6 MB, free: 4.648 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.006794, allocations: 4 kB / 443.6 MB, free: 4.645 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001438/0.006938, allocations: 35.97 kB / 443.6 MB, free: 4.609 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003584/0.007297, allocations: 248.3 kB / 443.8 MB, free: 4.336 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000235/0.007532, allocations: 54.55 kB / 443.9 MB, free: 4.273 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.854e-05/0.00761, allocations: 24.97 kB / 443.9 MB, free: 4.246 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/0.007629, allocations: 8.031 kB / 443.9 MB, free: 4.238 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.007653, allocations: 30.56 kB / 444 MB, free: 4.199 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.007654, allocations: 0 / 444 MB, free: 4.199 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.001492/0.009146, allocations: 393 kB / 444.3 MB, free: 3.809 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.009185, allocations: 55.41 kB / 444.4 MB, free: 3.742 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000185/0.00937, allocations: 184.9 kB / 444.6 MB, free: 3.555 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.009388, allocations: 25.7 kB / 444.6 MB, free: 3.523 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.915e-05/0.009458, allocations: 100.1 kB / 444.7 MB, free: 3.422 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.976e-05/0.009497, allocations: 35.69 kB / 444.7 MB, free: 3.387 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.96e-05/0.009547, allocations: 29.7 kB / 444.8 MB, free: 3.352 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.009688, allocations: 318.8 kB / 445.1 MB, free: 3.031 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001453/0.009833, allocations: 44.52 kB / 445.1 MB, free: 2.988 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001254/0.009958, allocations: 43.97 kB / 445.2 MB, free: 2.945 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002609/0.01022, allocations: 100.8 kB / 445.3 MB, free: 2.844 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.01022, allocations: 0 / 445.3 MB, free: 2.844 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003367/0.01056, allocations: 149.5 kB / 445.4 MB, free: 2.691 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.01057, allocations: 4 kB / 445.4 MB, free: 2.688 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.912e-06/0.01058, allocations: 4 kB / 445.4 MB, free: 2.684 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.01059, allocations: 8 kB / 445.4 MB, free: 2.676 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.01071, allocations: 23.98 kB / 445.4 MB, free: 2.652 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.658e-06/0.01071, allocations: 0 / 445.4 MB, free: 2.652 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.661e-05/0.01078, allocations: 11.92 kB / 445.5 MB, free: 2.641 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.01079, allocations: 4 kB / 445.5 MB, free: 2.637 MB / 366.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.0001119/0.0109, allocations: 130.4 kB / 445.6 MB, free: 2.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.023e-05/0.01094, allocations: 11.95 kB / 445.6 MB, free: 2.488 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00041/0.01135, allocations: 166.3 kB / 445.8 MB, free: 2.312 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.728e-06/0.01136, allocations: 4 kB / 445.8 MB, free: 2.309 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.01136, allocations: 0 / 445.8 MB, free: 2.309 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.371e-05/0.01138, allocations: 3.938 kB / 445.8 MB, free: 2.305 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006828/0.01206, allocations: 403.6 kB / 446.2 MB, free: 1.867 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.01206, allocations: 3.984 kB / 446.2 MB, free: 1.863 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/0.01218, allocations: 28.05 kB / 446.2 MB, free: 1.836 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.01219, allocations: 7.938 kB / 446.2 MB, free: 1.828 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.0122, allocations: 3.938 kB / 446.2 MB, free: 1.824 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.0122, allocations: 0 / 446.2 MB, free: 1.824 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.01221, allocations: 4 kB / 446.2 MB, free: 1.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004143/0.01262, allocations: 245.1 kB / 446.5 MB, free: 1.559 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.393e-05/0.01263, allocations: 7.906 kB / 446.5 MB, free: 1.551 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.393e-05/0.01266, allocations: 15.94 kB / 446.5 MB, free: 1.535 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.01276, allocations: 7.984 kB / 446.5 MB, free: 1.527 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.902e-05/0.01282, allocations: 19.92 kB / 446.5 MB, free: 1.508 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.01282, allocations: 0 / 446.5 MB, free: 1.508 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001383/0.01296, allocations: 142.1 kB / 446.6 MB, free: 1.371 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01296, allocations: 0 / 446.6 MB, free: 1.371 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002801/0.01324, allocations: 20 kB / 446.7 MB, free: 1.352 MB / 366.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.001868/0.01511, allocations: 494.1 kB / 447.1 MB, free: 1.074 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003313/0.01544, allocations: 111.7 kB / 447.3 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01544, allocations: 0 / 447.3 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001516/0.01559, allocations: 55.91 kB / 447.3 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003102/0.01591, allocations: 34.25 kB / 447.3 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005625/0.01647, allocations: 274.8 kB / 447.6 MB, free: 0.582 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.093e-05/0.01656, allocations: 92.8 kB / 447.7 MB, free: 484 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.485e-05/0.01661, allocations: 20.61 kB / 447.7 MB, free: 464 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.787e-05/0.01666, allocations: 20.48 kB / 447.7 MB, free: 444 kB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.01666, allocations: 0 / 447.7 MB, free: 444 kB / 366.1 MB Notification: Performance of Templates: time 0.1776/0.1942, allocations: 1.543 MB / 449.3 MB, free: 21.31 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.656836394220591]