Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test28.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.002484/0.002484, allocations: 95.61 kB / 20.96 MB, free: 3.457 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.002809/0.002809, allocations: 161.3 kB / 24.27 MB, free: 152 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.617/1.617, allocations: 177.1 MB / 204.6 MB, free: 5.617 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.3652/0.3652, allocations: 34.26 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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test28,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.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 377.3 MB, free: 2.957 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.035e-05/3.233e-05, allocations: 6.25 kB / 377.3 MB, free: 2.949 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test28): time 0.003489/0.003522, allocations: 1.681 MB / 379 MB, free: 1.254 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001329/0.004851, allocations: 0.5452 MB / 379.5 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.082e-05/0.004932, allocations: 0 / 379.5 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002927/0.005224, allocations: 55.73 kB / 379.6 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003614/0.005586, allocations: 103.5 kB / 379.7 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003623/0.005948, allocations: 127.6 kB / 379.8 MB, free: 432 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001802/0.006128, allocations: 91.69 kB / 379.9 MB, free: 340 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.688e-05/0.006225, allocations: 16.22 kB / 379.9 MB, free: 320 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001058/0.006331, allocations: 47.89 kB / 380 MB, free: 272 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001061/0.006437, allocations: 43.86 kB / 380 MB, free: 228 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.006456, allocations: 4 kB / 380 MB, free: 224 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001184/0.006575, allocations: 51.92 kB / 380.1 MB, free: 172 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.242e-05/0.006657, allocations: 27.86 kB / 380.1 MB, free: 144 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.697e-05/0.006694, allocations: 15.92 kB / 380.1 MB, free: 128 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002354/0.006929, allocations: 111.6 kB / 380.2 MB, free: 16 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.006935, allocations: 3.984 kB / 380.2 MB, free: 12 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.006936, allocations: 0 / 380.2 MB, free: 12 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.006941, allocations: 4 kB / 380.2 MB, free: 8 kB / 346.7 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.0006784/0.00762, allocations: 447.5 kB / 380.7 MB, free: 15.54 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.007661, allocations: 8.031 kB / 380.7 MB, free: 15.53 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.14e-05/0.007723, allocations: 12.89 kB / 380.7 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002339/0.007957, allocations: 148.4 kB / 380.8 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.007969, allocations: 384 / 380.8 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.571e-05/0.007995, allocations: 8.375 kB / 380.8 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001715/0.008166, allocations: 62.17 kB / 380.9 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.008182, allocations: 4.141 kB / 380.9 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.008196, allocations: 8.125 kB / 380.9 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.008201, allocations: 4 kB / 380.9 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001302/0.008331, allocations: 35.91 kB / 381 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005695/0.008901, allocations: 303.8 kB / 381.3 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002782/0.009179, allocations: 67.02 kB / 381.3 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.281e-05/0.009252, allocations: 19.67 kB / 381.3 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.975e-05/0.009272, allocations: 0 / 381.3 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.875e-05/0.00931, allocations: 41.52 kB / 381.4 MB, free: 14.73 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 8.12e-07/0.009311, allocations: 0 / 381.4 MB, free: 14.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.001201/0.01051, allocations: 301.5 kB / 381.7 MB, free: 14.43 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.772e-05/0.01057, allocations: 63.33 kB / 381.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002722/0.01084, allocations: 242.4 kB / 382 MB, free: 14.11 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.667e-05/0.01087, allocations: 29.7 kB / 382 MB, free: 14.07 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001293/0.011, allocations: 158.9 kB / 382.2 MB, free: 13.91 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.162e-05/0.01105, allocations: 35.7 kB / 382.2 MB, free: 13.88 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.945e-05/0.01112, allocations: 35.36 kB / 382.2 MB, free: 13.83 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003045/0.01142, allocations: 0.504 MB / 382.7 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.01153, allocations: 31.98 kB / 382.8 MB, free: 13.29 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.01164, allocations: 39.91 kB / 382.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002226/0.01186, allocations: 87.66 kB / 382.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.91e-07/0.01186, allocations: 0 / 382.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003011/0.01217, allocations: 133.6 kB / 383 MB, free: 13.02 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.01218, allocations: 7.938 kB / 383 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.01219, allocations: 3.938 kB / 383 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.0122, allocations: 0 / 383 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.01231, allocations: 23.98 kB / 383 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.01232, allocations: 0 / 383 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.073e-05/0.01237, allocations: 4 kB / 383.1 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.611e-05/0.01239, allocations: 8 kB / 383.1 MB, free: 12.97 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 (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.0001396/0.01252, allocations: 176.4 kB / 383.2 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.25e-05/0.01259, allocations: 19.91 kB / 383.3 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003733/0.01296, allocations: 142.8 kB / 383.4 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.01296, allocations: 0 / 383.4 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.01297, allocations: 0 / 383.4 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.01297, allocations: 3.984 kB / 383.4 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007366/0.01371, allocations: 472.6 kB / 383.9 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.01371, allocations: 0 / 383.9 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001035/0.01381, allocations: 27.98 kB / 383.9 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.01382, allocations: 3.938 kB / 383.9 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.01383, allocations: 4 kB / 383.9 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.137e-06/0.01383, allocations: 3.938 kB / 383.9 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.01384, allocations: 0 / 383.9 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004202/0.01426, allocations: 303.2 kB / 384.2 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.604e-05/0.01428, allocations: 11.91 kB / 384.2 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.276e-05/0.01431, allocations: 8.234 kB / 384.2 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.612e-05/0.0144, allocations: 19.94 kB / 384.2 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.925e-05/0.01446, allocations: 7.984 kB / 384.2 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.01447, allocations: 0 / 384.2 MB, free: 11.7 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001546/0.01462, allocations: 171.2 kB / 384.4 MB, free: 11.53 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01462, allocations: 0 / 384.4 MB, free: 11.53 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002667/0.01489, allocations: 23.98 kB / 384.4 MB, free: 11.5 MB / 362.7 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.003454/0.01834, allocations: 0.4979 MB / 384.9 MB, free: 11.22 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004077/0.01875, allocations: 95.58 kB / 385 MB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.01875, allocations: 3.938 kB / 385 MB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001415/0.01889, allocations: 63.72 kB / 385.1 MB, free: 11.05 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003343/0.01923, allocations: 31.89 kB / 385.1 MB, free: 11.02 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006578/0.01989, allocations: 274.1 kB / 385.4 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001454/0.02003, allocations: 96.66 kB / 385.5 MB, free: 10.6 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.828e-05/0.02013, allocations: 16.48 kB / 385.5 MB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.389e-05/0.0202, allocations: 20.48 kB / 385.5 MB, free: 10.57 MB / 362.7 MB Notification: Performance of SimCode: time 8.72e-07/0.02021, allocations: 0 / 385.5 MB, free: 10.57 MB / 362.7 MB Notification: Performance of Templates: time 0.006576/0.02678, allocations: 1.595 MB / 387.1 MB, free: 8.996 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test28.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test28.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test28 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test28.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.995775346993469]