Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.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.002078/0.002078, allocations: 88.33 kB / 20.96 MB, free: 3.449 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.001579/0.001579, allocations: 165.3 kB / 24.27 MB, free: 148 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.507/1.507, allocations: 177.1 MB / 204.6 MB, free: 5.586 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.3365/0.3365, allocations: 34.26 MB / 295.3 MB, free: 0.707 MB / 266.7 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.CombiTable1Dv.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 377.3 MB, free: 2.949 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.905e-05/3.055e-05, allocations: 2.312 kB / 377.3 MB, free: 2.945 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.003157/0.003188, allocations: 1.61 MB / 378.9 MB, free: 1.324 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0012/0.004388, allocations: 0.5375 MB / 379.5 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.088e-05/0.004469, allocations: 0 / 379.5 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003253/0.004794, allocations: 83.64 kB / 379.5 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003359/0.00513, allocations: 103.6 kB / 379.6 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003408/0.005471, allocations: 107.6 kB / 379.7 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001889/0.005659, allocations: 87.8 kB / 379.8 MB, free: 416 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.792e-05/0.005757, allocations: 8 kB / 379.8 MB, free: 408 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.005864, allocations: 63.75 kB / 379.9 MB, free: 344 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001186/0.005983, allocations: 43.94 kB / 379.9 MB, free: 300 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.049e-05/0.006003, allocations: 4 kB / 380 MB, free: 296 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001057/0.006109, allocations: 47.86 kB / 380 MB, free: 248 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.294e-05/0.006172, allocations: 27.92 kB / 380 MB, free: 220 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.966e-05/0.006212, allocations: 11.92 kB / 380 MB, free: 208 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000244/0.006456, allocations: 103.6 kB / 380.1 MB, free: 104 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.006462, allocations: 4 kB / 380.1 MB, free: 100 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.006463, allocations: 4 kB / 380.1 MB, free: 96 kB / 346.7 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.006469, allocations: 0 / 380.1 MB, free: 96 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006357/0.007105, allocations: 345.5 kB / 380.5 MB, free: 15.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.007145, allocations: 8.031 kB / 380.5 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.313e-05/0.007208, allocations: 20.84 kB / 380.5 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002364/0.007444, allocations: 138.3 kB / 380.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.007457, allocations: 4.375 kB / 380.7 MB, free: 15.53 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.658e-05/0.007484, allocations: 4.359 kB / 380.7 MB, free: 15.53 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001599/0.007644, allocations: 58.23 kB / 380.7 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.007656, allocations: 192 / 380.7 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.007671, allocations: 8.109 kB / 380.7 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.007676, allocations: 0 / 380.7 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001147/0.00779, allocations: 35.91 kB / 380.8 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004392/0.00823, allocations: 240.5 kB / 381 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001453/0.008375, allocations: 46.55 kB / 381 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.802e-05/0.008433, allocations: 16.8 kB / 381.1 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.008453, allocations: 0 / 381.1 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.741e-05/0.008501, allocations: 42.58 kB / 381.1 MB, free: 15.03 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.008502, allocations: 4 kB / 381.1 MB, free: 15.03 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.001015/0.009517, allocations: 245.2 kB / 381.3 MB, free: 14.78 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.815e-05/0.009565, allocations: 51.41 kB / 381.4 MB, free: 14.72 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002598/0.009825, allocations: 218.7 kB / 381.6 MB, free: 14.49 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.009846, allocations: 29.7 kB / 381.6 MB, free: 14.46 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.628e-05/0.009932, allocations: 104.1 kB / 381.7 MB, free: 14.35 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.356e-05/0.009976, allocations: 31.81 kB / 381.8 MB, free: 14.32 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.883e-05/0.01002, allocations: 29.7 kB / 381.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002004/0.01022, allocations: 330.7 kB / 382.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.505e-05/0.01032, allocations: 27.98 kB / 382.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.763e-05/0.01041, allocations: 31.97 kB / 382.2 MB, free: 13.89 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001939/0.0106, allocations: 72.75 kB / 382.2 MB, free: 13.82 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.0106, allocations: 0 / 382.2 MB, free: 13.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002636/0.01087, allocations: 113.6 kB / 382.4 MB, free: 13.7 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.01088, allocations: 12 kB / 382.4 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.01089, allocations: 0 / 382.4 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.0109, allocations: 0 / 382.4 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.01102, allocations: 23.98 kB / 382.4 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.01102, allocations: 0 / 382.4 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.216e-05/0.01108, allocations: 8 kB / 382.4 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.01108, allocations: 0 / 382.4 MB, free: 13.66 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 (8): * Single equations (assignments): 8 * 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.0001494/0.01123, allocations: 133.7 kB / 382.5 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.692e-05/0.01128, allocations: 19.91 kB / 382.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003388/0.01162, allocations: 135.1 kB / 382.7 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.01162, allocations: 0 / 382.7 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.01163, allocations: 0 / 382.7 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.01163, allocations: 0 / 382.7 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006345/0.01226, allocations: 363.3 kB / 383 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.01227, allocations: 0 / 383 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.31e-05/0.01235, allocations: 19.92 kB / 383.1 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.01235, allocations: 8.031 kB / 383.1 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.01236, allocations: 0 / 383.1 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.01236, allocations: 0 / 383.1 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.01236, allocations: 0 / 383.1 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006108/0.01298, allocations: 224.2 kB / 383.3 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.731e-05/0.01299, allocations: 8.375 kB / 383.3 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.01301, allocations: 0 / 383.3 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.856e-05/0.01309, allocations: 4 kB / 383.3 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.872e-05/0.01314, allocations: 15.92 kB / 383.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.01315, allocations: 4 kB / 383.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000173/0.01332, allocations: 168.2 kB / 383.5 MB, free: 12.51 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01332, allocations: 0 / 383.5 MB, free: 12.51 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002733/0.01359, allocations: 23.92 kB / 383.5 MB, free: 12.49 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.002274/0.01587, allocations: 497.1 kB / 384 MB, free: 12.21 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002601/0.01613, allocations: 67.95 kB / 384.1 MB, free: 12.14 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.01613, allocations: 0 / 384.1 MB, free: 12.14 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.01624, allocations: 43.91 kB / 384.1 MB, free: 12.1 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003797/0.01662, allocations: 15.91 kB / 384.1 MB, free: 12.08 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006245/0.01725, allocations: 277.4 kB / 384.4 MB, free: 11.78 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001187/0.01737, allocations: 96.88 kB / 384.5 MB, free: 11.67 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.465e-05/0.01744, allocations: 29 kB / 384.5 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.359e-05/0.01748, allocations: 20.44 kB / 384.5 MB, free: 11.62 MB / 362.7 MB Notification: Performance of SimCode: time 4.6e-07/0.01748, allocations: 0 / 384.5 MB, free: 11.62 MB / 362.7 MB Notification: Performance of Templates: time 0.004733/0.02222, allocations: 1.401 MB / 385.9 MB, free: 10.23 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.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.714341772953048]