Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test29.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.0009251/0.0009251, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.0009331/0.0009331, allocations: 167.1 kB / 24.99 MB, free: 8.336 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.9762/0.9762, allocations: 177.1 MB / 205.3 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] 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.2625/0.2625, allocations: 34.25 MB / 296 MB, free: 0.7773 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.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 378 MB, free: 2.965 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.482e-05/2.663e-05, allocations: 9.766 kB / 378.1 MB, free: 2.957 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test29): time 0.002639/0.002666, allocations: 1.677 MB / 379.7 MB, free: 1.266 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007264/0.003392, allocations: 0.5454 MB / 380.3 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.966e-05/0.003452, allocations: 0 / 380.3 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002459/0.003698, allocations: 35.7 kB / 380.3 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002391/0.003937, allocations: 87.55 kB / 380.4 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001899/0.004127, allocations: 91.69 kB / 380.5 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001441/0.004271, allocations: 87.7 kB / 380.6 MB, free: 428 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.947e-05/0.00437, allocations: 27.97 kB / 380.6 MB, free: 400 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.329e-05/0.004433, allocations: 39.91 kB / 380.6 MB, free: 360 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.973e-05/0.004513, allocations: 31.89 kB / 380.7 MB, free: 328 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.004528, allocations: 8 kB / 380.7 MB, free: 320 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.532e-05/0.004603, allocations: 47.92 kB / 380.7 MB, free: 272 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.765e-05/0.004651, allocations: 23.91 kB / 380.7 MB, free: 248 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.861e-05/0.00468, allocations: 11.94 kB / 380.8 MB, free: 236 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001626/0.004842, allocations: 103.5 kB / 380.9 MB, free: 132 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.004844, allocations: 0 / 380.9 MB, free: 132 kB / 346.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.004845, allocations: 0 / 380.9 MB, free: 132 kB / 346.7 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.004849, allocations: 0 / 380.9 MB, free: 132 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003891/0.005238, allocations: 432 kB / 381.3 MB, free: 15.67 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.005271, allocations: 8.031 kB / 381.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.687e-05/0.005318, allocations: 16.89 kB / 381.3 MB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/0.005452, allocations: 151 kB / 381.5 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.776e-06/0.005461, allocations: 4.375 kB / 381.5 MB, free: 15.47 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.294e-05/0.005484, allocations: 12.33 kB / 381.5 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001143/0.005598, allocations: 66.94 kB / 381.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.005609, allocations: 192 / 381.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.005624, allocations: 8.125 kB / 381.5 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.005633, allocations: 0 / 381.5 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.536e-05/0.005688, allocations: 23.91 kB / 381.6 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003164/0.006004, allocations: 307.6 kB / 381.9 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.65e-05/0.006081, allocations: 58.98 kB / 381.9 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.865e-05/0.006109, allocations: 23.67 kB / 381.9 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.006128, allocations: 0 / 381.9 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.006149, allocations: 45.33 kB / 382 MB, free: 14.87 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.006151, allocations: 0 / 382 MB, free: 14.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005808/0.006731, allocations: 225.7 kB / 382.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.474e-05/0.006766, allocations: 55.41 kB / 382.3 MB, free: 14.57 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.006883, allocations: 208.8 kB / 382.5 MB, free: 14.36 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/0.006894, allocations: 33.69 kB / 382.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.323e-05/0.006947, allocations: 154.8 kB / 382.7 MB, free: 14.16 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.073e-05/0.006978, allocations: 47.72 kB / 382.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.836e-05/0.007016, allocations: 35.36 kB / 382.7 MB, free: 14.07 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.007127, allocations: 0.4923 MB / 383.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.895e-05/0.007156, allocations: 16 kB / 383.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.624e-05/0.007182, allocations: 15.98 kB / 383.3 MB, free: 13.54 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.607e-05/0.007248, allocations: 54.8 kB / 383.3 MB, free: 13.48 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.52e-07/0.007249, allocations: 0 / 383.3 MB, free: 13.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001142/0.007363, allocations: 101.6 kB / 383.4 MB, free: 13.38 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.007376, allocations: 5.984 kB / 383.4 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.007381, allocations: 7.938 kB / 383.4 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.007393, allocations: 0 / 383.4 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.279e-05/0.007475, allocations: 31.92 kB / 383.5 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.007482, allocations: 11.92 kB / 383.5 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.852e-05/0.007501, allocations: 0 / 383.5 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.007508, allocations: 4 kB / 383.5 MB, free: 13.32 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.574e-05/0.007573, allocations: 160.6 kB / 383.6 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.324e-05/0.007597, allocations: 11.95 kB / 383.6 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001692/0.007766, allocations: 126.3 kB / 383.8 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.007767, allocations: 8 kB / 383.8 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.007772, allocations: 3.984 kB / 383.8 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.007776, allocations: 3.938 kB / 383.8 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003266/0.008103, allocations: 408.9 kB / 384.2 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.008104, allocations: 0 / 384.2 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.016e-05/0.008155, allocations: 27.98 kB / 384.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.008159, allocations: 7.938 kB / 384.2 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.008166, allocations: 3.938 kB / 384.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.008168, allocations: 0 / 384.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.008171, allocations: 11.94 kB / 384.2 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001468/0.008318, allocations: 255.6 kB / 384.5 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.124e-05/0.008329, allocations: 15.88 kB / 384.5 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.26e-05/0.008342, allocations: 0 / 384.5 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.742e-05/0.008379, allocations: 8 kB / 384.5 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.35e-05/0.008413, allocations: 7.984 kB / 384.5 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.008418, allocations: 4 kB / 384.5 MB, free: 12.18 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.195e-05/0.00848, allocations: 158.2 kB / 384.7 MB, free: 12.03 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00848, allocations: 0 / 384.7 MB, free: 12.03 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001814/0.008662, allocations: 20 kB / 384.7 MB, free: 12.01 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.0008874/0.009549, allocations: 440.9 kB / 385.1 MB, free: 11.74 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001325/0.009682, allocations: 67.59 kB / 385.2 MB, free: 11.67 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.009683, allocations: 0 / 385.2 MB, free: 11.67 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.441e-05/0.009728, allocations: 47.59 kB / 385.2 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002146/0.009942, allocations: 31.75 kB / 385.3 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003645/0.01031, allocations: 238.3 kB / 385.5 MB, free: 11.33 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.961e-05/0.01035, allocations: 63.34 kB / 385.6 MB, free: 11.25 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.056e-05/0.01039, allocations: 24.53 kB / 385.6 MB, free: 11.22 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.123e-05/0.01042, allocations: 20.5 kB / 385.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of SimCode: time 3.51e-07/0.01042, allocations: 0 / 385.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of Templates: time 0.003235/0.01365, allocations: 1.541 MB / 387.1 MB, free: 9.672 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test29 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test29/Test29.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.1074252389371395]