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.0009337/0.0009337, allocations: 81.86 kB / 21.42 MB, free: 3.074 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.0009249/0.0009249, allocations: 166.6 kB / 24.82 MB, free: 8.77 MB / 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.9157/0.9157, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.2489/0.2489, allocations: 32.8 MB / 294.6 MB, free: 1.25 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.433e-06/1.433e-06, allocations: 0 / 376.5 MB, free: 4.391 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.474e-05/1.617e-05, allocations: 2.312 kB / 376.5 MB, free: 4.387 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.00221/0.002226, allocations: 1.68 MB / 378.2 MB, free: 2.695 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000674/0.0029, allocations: 0.5453 MB / 378.7 MB, free: 2.145 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.988e-05/0.00296, allocations: 3.938 kB / 378.7 MB, free: 2.141 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000236/0.003196, allocations: 99.61 kB / 378.8 MB, free: 2.043 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002239/0.00342, allocations: 111.5 kB / 378.9 MB, free: 1.934 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001904/0.00361, allocations: 119.6 kB / 379 MB, free: 1.816 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001261/0.003736, allocations: 99.8 kB / 379.1 MB, free: 1.719 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.736e-05/0.003824, allocations: 15.98 kB / 379.2 MB, free: 1.703 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.656e-05/0.00389, allocations: 63.81 kB / 379.2 MB, free: 1.641 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.12e-05/0.003972, allocations: 55.92 kB / 379.3 MB, free: 1.586 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.003984, allocations: 7.938 kB / 379.3 MB, free: 1.578 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.908e-05/0.004053, allocations: 51.86 kB / 379.3 MB, free: 1.527 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.891e-05/0.004092, allocations: 31.91 kB / 379.4 MB, free: 1.496 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.49e-05/0.004117, allocations: 19.92 kB / 379.4 MB, free: 1.477 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001268/0.004244, allocations: 107.6 kB / 379.5 MB, free: 1.371 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.004245, allocations: 0 / 379.5 MB, free: 1.371 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.004246, allocations: 0 / 379.5 MB, free: 1.371 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.004253, allocations: 0 / 379.5 MB, free: 1.371 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.0003362/0.004589, allocations: 479.6 kB / 380 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.123e-05/0.00462, allocations: 8.031 kB / 380 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.311e-05/0.004653, allocations: 24.84 kB / 380 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.004761, allocations: 152.4 kB / 380.1 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.725e-06/0.004769, allocations: 384 / 380.1 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.687e-05/0.004786, allocations: 12.36 kB / 380.2 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.154e-05/0.004878, allocations: 73.67 kB / 380.2 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.004888, allocations: 4.172 kB / 380.2 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.863e-06/0.004895, allocations: 8.062 kB / 380.2 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.0049, allocations: 4 kB / 380.2 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.74e-05/0.004928, allocations: 19.98 kB / 380.3 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002356/0.005163, allocations: 300.2 kB / 380.6 MB, free: 220 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.764e-05/0.005221, allocations: 62.91 kB / 380.6 MB, free: 144 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.955e-05/0.005241, allocations: 11.69 kB / 380.6 MB, free: 128 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.00526, allocations: 4 kB / 380.6 MB, free: 124 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.779e-05/0.005278, allocations: 37.38 kB / 380.7 MB, free: 76 kB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 8.52e-07/0.005279, allocations: 0 / 380.7 MB, free: 76 kB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004542/0.005733, allocations: 225.8 kB / 380.9 MB, free: 15.85 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.155e-05/0.005755, allocations: 55.41 kB / 380.9 MB, free: 15.78 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.005869, allocations: 246.6 kB / 381.2 MB, free: 15.52 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.777e-06/0.005878, allocations: 29.7 kB / 381.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.542e-05/0.005933, allocations: 166.7 kB / 381.4 MB, free: 15.32 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.639e-05/0.005959, allocations: 39.64 kB / 381.4 MB, free: 15.28 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.295e-05/0.005992, allocations: 35.36 kB / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.006104, allocations: 0.5078 MB / 382 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.875e-05/0.006123, allocations: 11.98 kB / 382 MB, free: 14.7 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.991e-05/0.006143, allocations: 20.11 kB / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.267e-05/0.006196, allocations: 47.55 kB / 382 MB, free: 14.64 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.006197, allocations: 4 kB / 382 MB, free: 14.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 8.961e-05/0.006286, allocations: 97.52 kB / 382.1 MB, free: 14.53 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.818e-06/0.006296, allocations: 8 kB / 382.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.0063, allocations: 0 / 382.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.778e-06/0.006309, allocations: 0 / 382.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.57e-05/0.006375, allocations: 23.98 kB / 382.2 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.555e-06/0.006378, allocations: 0 / 382.2 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.956e-05/0.006397, allocations: 8 kB / 382.2 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.006403, allocations: 0 / 382.2 MB, free: 14.49 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.347e-05/0.006466, allocations: 172.4 kB / 382.3 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.159e-05/0.006488, allocations: 19.91 kB / 382.4 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001322/0.00662, allocations: 115.1 kB / 382.5 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.006622, allocations: 3.984 kB / 382.5 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.71e-07/0.006623, allocations: 0 / 382.5 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.006626, allocations: 0 / 382.5 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002776/0.006904, allocations: 397.5 kB / 382.9 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.006905, allocations: 0 / 382.9 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.756e-05/0.006952, allocations: 27.92 kB / 382.9 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.006955, allocations: 4 kB / 382.9 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.732e-06/0.006962, allocations: 8.031 kB / 382.9 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.006963, allocations: 0 / 382.9 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.006966, allocations: 7.938 kB / 382.9 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000119/0.007085, allocations: 255.4 kB / 383.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.979e-06/0.007095, allocations: 11.91 kB / 383.2 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.202e-05/0.007107, allocations: 8 kB / 383.2 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.762e-05/0.007145, allocations: 4 kB / 383.2 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.697e-05/0.007172, allocations: 15.91 kB / 383.2 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.02e-06/0.007177, allocations: 8 kB / 383.2 MB, free: 13.38 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.269e-05/0.00724, allocations: 173 kB / 383.4 MB, free: 13.21 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00724, allocations: 0 / 383.4 MB, free: 13.21 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000156/0.007396, allocations: 31.94 kB / 383.4 MB, free: 13.18 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.0007816/0.008177, allocations: 443.1 kB / 383.8 MB, free: 12.9 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.098e-05/0.008268, allocations: 63.52 kB / 383.9 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.008269, allocations: 0 / 383.9 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.24e-05/0.008302, allocations: 35.61 kB / 383.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001901/0.008492, allocations: 27.72 kB / 384 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002973/0.008789, allocations: 280.7 kB / 384.2 MB, free: 12.47 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.127e-05/0.008831, allocations: 79.33 kB / 384.3 MB, free: 12.37 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.716e-05/0.008868, allocations: 12.48 kB / 384.3 MB, free: 12.36 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.84e-05/0.008926, allocations: 86.19 kB / 384.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of SimCode: time 7.11e-07/0.008927, allocations: 0 / 384.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of Templates: time 0.003178/0.0121, allocations: 1.803 MB / 386.2 MB, free: 10.49 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: 2.8383411709219217]