Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.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.00133/0.00133, allocations: 85.31 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.001454/0.001454, allocations: 169.6 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.487/1.487, allocations: 177.1 MB / 204.3 MB, free: 9.191 MB / 190.1 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.2445/0.2445, allocations: 34.28 MB / 295 MB, free: 14.59 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+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.Test3,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.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test3,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.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.604e-06/1.604e-06, allocations: 0 / 442.7 MB, free: 5.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.737e-05/2.898e-05, allocations: 2.281 kB / 442.7 MB, free: 5.395 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.004383/0.004412, allocations: 1.685 MB / 444.4 MB, free: 3.699 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001492/0.005904, allocations: 0.5414 MB / 444.9 MB, free: 3.152 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.411e-05/0.005978, allocations: 0 / 444.9 MB, free: 3.152 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000878/0.006856, allocations: 459 kB / 445.4 MB, free: 2.703 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007119/0.007568, allocations: 295.2 kB / 445.7 MB, free: 2.414 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004899/0.008058, allocations: 134.6 kB / 445.8 MB, free: 2.285 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003486/0.008407, allocations: 175.7 kB / 446 MB, free: 2.113 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.008517, allocations: 16.17 kB / 446 MB, free: 2.094 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002364/0.008754, allocations: 127.7 kB / 446.1 MB, free: 1.969 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003985/0.009152, allocations: 251.6 kB / 446.4 MB, free: 1.723 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.273e-05/0.009185, allocations: 8 kB / 446.4 MB, free: 1.715 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001738/0.009359, allocations: 47.92 kB / 446.4 MB, free: 1.668 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001463/0.009505, allocations: 87.64 kB / 446.5 MB, free: 1.582 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.813e-05/0.009583, allocations: 39.75 kB / 446.5 MB, free: 1.543 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005091/0.01009, allocations: 258.9 kB / 446.8 MB, free: 1.289 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.0101, allocations: 4 kB / 446.8 MB, free: 1.285 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.02e-07/0.0101, allocations: 4 kB / 446.8 MB, free: 1.281 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.595e-06/0.01011, allocations: 4 kB / 446.8 MB, free: 1.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.001073/0.01118, allocations: 0.5853 MB / 447.4 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.01122, allocations: 8.031 kB / 447.4 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001089/0.01133, allocations: 44.66 kB / 447.4 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003857/0.01172, allocations: 246 kB / 447.7 MB, free: 352 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.01173, allocations: 384 / 447.7 MB, free: 352 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.787e-05/0.01176, allocations: 4.375 kB / 447.7 MB, free: 348 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002339/0.01199, allocations: 70.17 kB / 447.7 MB, free: 272 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.012, allocations: 192 / 447.7 MB, free: 272 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.01202, allocations: 4.125 kB / 447.7 MB, free: 268 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.01202, allocations: 4 kB / 447.8 MB, free: 264 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001923/0.01221, allocations: 39.95 kB / 447.8 MB, free: 224 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1938/0.206, allocations: 336.5 kB / 448.1 MB, free: 19.38 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000301/0.2063, allocations: 56.05 kB / 448.2 MB, free: 19.35 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.392e-05/0.2063, allocations: 23.59 kB / 448.2 MB, free: 19.34 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.613e-05/0.2064, allocations: 1.031 kB / 448.2 MB, free: 19.34 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.334e-05/0.2064, allocations: 33.77 kB / 448.2 MB, free: 19.3 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 2.635e-06/0.2064, allocations: 3.938 kB / 448.2 MB, free: 19.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.00158/0.208, allocations: 478 kB / 448.7 MB, free: 19.23 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.576e-05/0.208, allocations: 53.66 kB / 448.8 MB, free: 19.17 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000892/0.2089, allocations: 0.8626 MB / 449.6 MB, free: 18.89 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.2089, allocations: 30.41 kB / 449.6 MB, free: 18.85 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001284/0.209, allocations: 218 kB / 449.9 MB, free: 18.68 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.414e-05/0.2091, allocations: 36.02 kB / 449.9 MB, free: 18.65 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-05/0.2091, allocations: 23.53 kB / 449.9 MB, free: 18.63 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.842e-05/0.2092, allocations: 364.6 kB / 450.3 MB, free: 18.3 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001334/0.2093, allocations: 47.73 kB / 450.3 MB, free: 18.29 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000124/0.2094, allocations: 44.75 kB / 450.4 MB, free: 18.28 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002592/0.2097, allocations: 103.8 kB / 450.5 MB, free: 18.25 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.2097, allocations: 0 / 450.5 MB, free: 18.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003252/0.21, allocations: 181.9 kB / 450.6 MB, free: 18.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.21, allocations: 7.469 kB / 450.7 MB, free: 18.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.2101, allocations: 0 / 450.7 MB, free: 18.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.2101, allocations: 4.484 kB / 450.7 MB, free: 18.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.2102, allocations: 28.91 kB / 450.7 MB, free: 18.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.2102, allocations: 0 / 450.7 MB, free: 18.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.933e-05/0.2103, allocations: 10.7 kB / 450.7 MB, free: 18.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.2103, allocations: 9.312 kB / 450.7 MB, free: 18.16 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.000165/0.2105, allocations: 216.3 kB / 450.9 MB, free: 18.02 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.768e-05/0.2105, allocations: 47.75 kB / 451 MB, free: 18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004243/0.2109, allocations: 204.9 kB / 451.2 MB, free: 17.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.2109, allocations: 1.438 kB / 451.2 MB, free: 17.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.2109, allocations: 0 / 451.2 MB, free: 17.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.2109, allocations: 5.547 kB / 451.2 MB, free: 17.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007317/0.2117, allocations: 0.5007 MB / 451.7 MB, free: 17.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.2117, allocations: 0 / 451.7 MB, free: 17.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/0.2118, allocations: 26.73 kB / 451.7 MB, free: 17.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.2118, allocations: 5.281 kB / 451.7 MB, free: 17.58 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.2118, allocations: 9.734 kB / 451.7 MB, free: 17.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.2118, allocations: 1.984 kB / 451.7 MB, free: 17.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.2118, allocations: 1.125 kB / 451.7 MB, free: 17.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003528/0.2122, allocations: 286.7 kB / 452 MB, free: 17.37 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.793e-05/0.2122, allocations: 39.16 kB / 452 MB, free: 17.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.172e-05/0.2122, allocations: 3.312 kB / 452 MB, free: 17.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.2123, allocations: 21.16 kB / 452.1 MB, free: 17.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.223e-05/0.2124, allocations: 7.031 kB / 452.1 MB, free: 17.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.2124, allocations: 4.906 kB / 452.1 MB, free: 17.34 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005731/0.213, allocations: 0.6533 MB / 452.7 MB, free: 17.09 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.213, allocations: 0 / 452.7 MB, free: 17.09 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002851/0.2133, allocations: 36.72 kB / 452.8 MB, free: 17.09 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.001819/0.2151, allocations: 495.7 kB / 453.2 MB, free: 16.92 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003568/0.2154, allocations: 107.1 kB / 453.3 MB, free: 16.89 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.2154, allocations: 1.094 kB / 453.3 MB, free: 16.89 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001498/0.2156, allocations: 56.81 kB / 453.4 MB, free: 16.88 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003714/0.216, allocations: 28.34 kB / 453.4 MB, free: 16.86 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001222/0.2172, allocations: 0.8573 MB / 454.3 MB, free: 16.48 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002629/0.2174, allocations: 226.5 kB / 454.5 MB, free: 16.38 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.148e-05/0.2175, allocations: 15.02 kB / 454.5 MB, free: 16.38 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.568e-05/0.2175, allocations: 16.94 kB / 454.5 MB, free: 16.37 MB / 366.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2175, allocations: 1.719 kB / 454.5 MB, free: 16.37 MB / 366.1 MB Notification: Performance of Templates: time 0.005873/0.2234, allocations: 1.723 MB / 456.3 MB, free: 16.11 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.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.898765534162521]