Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.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.001697/0.001697, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.00181/0.00181, allocations: 161 kB / 24.56 MB, free: 16 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 0.9697/0.9697, allocations: 177.1 MB / 205 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] 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.2311/0.2311, allocations: 32.81 MB / 294.3 MB, free: 1.215 MB / 266.7 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.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 376 MB, free: 4.613 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.854e-05/2.011e-05, allocations: 2.312 kB / 376 MB, free: 4.609 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.002082/0.002102, allocations: 1.681 MB / 377.7 MB, free: 2.914 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007288/0.002831, allocations: 0.5532 MB / 378.3 MB, free: 2.355 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.63e-05/0.002897, allocations: 4 kB / 378.3 MB, free: 2.352 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002784/0.003176, allocations: 95.61 kB / 378.4 MB, free: 2.258 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002476/0.003423, allocations: 111.5 kB / 378.5 MB, free: 2.148 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002119/0.003635, allocations: 119.6 kB / 378.6 MB, free: 2.031 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001482/0.003783, allocations: 107.7 kB / 378.7 MB, free: 1.926 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.00389, allocations: 19.97 kB / 378.7 MB, free: 1.906 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.84e-05/0.003958, allocations: 55.88 kB / 378.8 MB, free: 1.852 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.442e-05/0.004052, allocations: 59.86 kB / 378.8 MB, free: 1.793 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.756e-05/0.00407, allocations: 8 kB / 378.9 MB, free: 1.785 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.335e-05/0.004143, allocations: 43.92 kB / 378.9 MB, free: 1.742 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.306e-05/0.004196, allocations: 31.86 kB / 378.9 MB, free: 1.711 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.218e-05/0.004229, allocations: 19.92 kB / 378.9 MB, free: 1.691 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001634/0.004392, allocations: 115.5 kB / 379.1 MB, free: 1.578 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.004394, allocations: 4 kB / 379.1 MB, free: 1.574 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.004396, allocations: 0 / 379.1 MB, free: 1.574 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.0044, allocations: 0 / 379.1 MB, free: 1.574 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000458/0.004858, allocations: 463.8 kB / 379.5 MB, free: 1.086 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.004893, allocations: 8.031 kB / 379.5 MB, free: 1.078 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.769e-05/0.004941, allocations: 24.84 kB / 379.5 MB, free: 1.055 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.005082, allocations: 160.3 kB / 379.7 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.709e-06/0.005092, allocations: 384 / 379.7 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.989e-05/0.005121, allocations: 8.375 kB / 379.7 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.005244, allocations: 70.94 kB / 379.8 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.005255, allocations: 8.188 kB / 379.8 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.005266, allocations: 4.125 kB / 379.8 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.005275, allocations: 0 / 379.8 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.781e-05/0.005322, allocations: 31.91 kB / 379.8 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003422/0.005665, allocations: 331.6 kB / 380.1 MB, free: 392 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.838e-05/0.005743, allocations: 58.98 kB / 380.2 MB, free: 320 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.002e-05/0.005773, allocations: 15.67 kB / 380.2 MB, free: 300 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.793e-05/0.005801, allocations: 8 kB / 380.2 MB, free: 292 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/0.005821, allocations: 33.39 kB / 380.3 MB, free: 248 kB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 9.22e-07/0.005821, allocations: 0 / 380.3 MB, free: 248 kB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006217/0.006443, allocations: 245.6 kB / 380.5 MB, free: 15.99 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.66e-05/0.00647, allocations: 55.34 kB / 380.6 MB, free: 15.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.006617, allocations: 246.7 kB / 380.8 MB, free: 15.67 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/0.006627, allocations: 25.7 kB / 380.8 MB, free: 15.64 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.212e-05/0.00669, allocations: 166.8 kB / 381 MB, free: 15.47 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.206e-05/0.006722, allocations: 47.78 kB / 381 MB, free: 15.42 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.117e-05/0.006763, allocations: 35.36 kB / 381.1 MB, free: 15.38 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.006882, allocations: 0.5079 MB / 381.6 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.129e-05/0.006913, allocations: 19.98 kB / 381.6 MB, free: 14.84 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.821e-05/0.006941, allocations: 23.38 kB / 381.6 MB, free: 14.82 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.478e-05/0.007006, allocations: 55.61 kB / 381.7 MB, free: 14.76 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.007007, allocations: 0 / 381.7 MB, free: 14.76 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001169/0.007123, allocations: 105.5 kB / 381.8 MB, free: 14.65 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.007135, allocations: 4 kB / 381.8 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.00714, allocations: 0 / 381.8 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.007157, allocations: 4 kB / 381.8 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.727e-05/0.007245, allocations: 27.98 kB / 381.8 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.007252, allocations: 4 kB / 381.8 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.954e-05/0.007271, allocations: 7.938 kB / 381.8 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/0.00728, allocations: 4 kB / 381.8 MB, free: 14.6 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 (13): * Single equations (assignments): 13 * 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 6.798e-05/0.007348, allocations: 160.6 kB / 382 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.519e-05/0.007373, allocations: 19.91 kB / 382 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001791/0.007552, allocations: 126.7 kB / 382.1 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.007556, allocations: 4 kB / 382.1 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.00756, allocations: 0 / 382.1 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.007564, allocations: 0 / 382.1 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003673/0.007932, allocations: 436.9 kB / 382.6 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.007933, allocations: 4.031 kB / 382.6 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.628e-05/0.00799, allocations: 35.86 kB / 382.6 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.007993, allocations: 4 kB / 382.6 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.008003, allocations: 3.938 kB / 382.6 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.008005, allocations: 3.984 kB / 382.6 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.008006, allocations: 4 kB / 382.6 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002213/0.008228, allocations: 263.5 kB / 382.9 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.022e-05/0.008238, allocations: 11.91 kB / 382.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.008252, allocations: 7.938 kB / 382.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.491e-05/0.008287, allocations: 4 kB / 382.9 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.521e-05/0.008322, allocations: 15.92 kB / 382.9 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.008327, allocations: 4 kB / 382.9 MB, free: 13.43 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.984e-05/0.008407, allocations: 189 kB / 383.1 MB, free: 13.25 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008407, allocations: 0 / 383.1 MB, free: 13.25 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001658/0.008572, allocations: 24 kB / 383.1 MB, free: 13.23 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 (13): * Single equations (assignments): 13 * 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.0008725/0.009445, allocations: 437.3 kB / 383.5 MB, free: 12.96 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001378/0.009583, allocations: 63.59 kB / 383.6 MB, free: 12.89 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.009584, allocations: 0 / 383.6 MB, free: 12.89 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.824e-05/0.009632, allocations: 55.53 kB / 383.7 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002252/0.009858, allocations: 23.97 kB / 383.7 MB, free: 12.81 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000417/0.01027, allocations: 276.7 kB / 384 MB, free: 12.51 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.256e-05/0.01033, allocations: 79.33 kB / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.78e-05/0.01037, allocations: 20.47 kB / 384 MB, free: 12.39 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.658e-05/0.01041, allocations: 24.56 kB / 384.1 MB, free: 12.37 MB / 362.7 MB Notification: Performance of SimCode: time 4.41e-07/0.01041, allocations: 0 / 384.1 MB, free: 12.37 MB / 362.7 MB Notification: Performance of Templates: time 0.003286/0.0137, allocations: 1.624 MB / 385.7 MB, free: 10.76 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3005651491694152]