Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35.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.001909/0.001909, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.001942/0.001942, allocations: 165.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.619/1.619, allocations: 177.1 MB / 204.6 MB, free: 5.602 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.3914/0.3914, allocations: 34.26 MB / 295.3 MB, free: 0.6914 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.CombiTable1Ds.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 3.938 kB / 377.3 MB, free: 2.977 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.566e-05/3.788e-05, allocations: 6.312 kB / 377.3 MB, free: 2.969 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test35): time 0.0036/0.003638, allocations: 1.603 MB / 378.9 MB, free: 1.352 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002092/0.00573, allocations: 1.259 MB / 380.2 MB, free: 88 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.595e-05/0.005796, allocations: 0 / 380.2 MB, free: 88 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000263/0.006059, allocations: 19.86 kB / 380.2 MB, free: 68 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003816/0.00644, allocations: 87.64 kB / 380.3 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003031/0.006744, allocations: 95.47 kB / 380.4 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000193/0.006937, allocations: 71.78 kB / 380.4 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.00704, allocations: 4 kB / 380.4 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.007141, allocations: 39.89 kB / 380.5 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001502/0.007291, allocations: 15.92 kB / 380.5 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.516e-05/0.007316, allocations: 8 kB / 380.5 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001898/0.007506, allocations: 91.88 kB / 380.6 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002326/0.007739, allocations: 19.91 kB / 380.6 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.918e-05/0.007778, allocations: 11.94 kB / 380.6 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003005/0.008079, allocations: 143.5 kB / 380.8 MB, free: 15.49 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.008083, allocations: 0 / 380.8 MB, free: 15.49 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.008084, allocations: 0 / 380.8 MB, free: 15.49 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.00809, allocations: 0 / 380.8 MB, free: 15.49 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006391/0.008729, allocations: 431.6 kB / 381.2 MB, free: 15.03 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.008766, allocations: 12.03 kB / 381.2 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.007e-05/0.008826, allocations: 12.89 kB / 381.2 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002298/0.009056, allocations: 140 kB / 381.3 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.00907, allocations: 4.375 kB / 381.4 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.472e-05/0.009095, allocations: 8.312 kB / 381.4 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/0.009282, allocations: 87.31 kB / 381.4 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.009294, allocations: 4.188 kB / 381.4 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2e-05/0.009314, allocations: 8.125 kB / 381.5 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.009318, allocations: 0 / 381.5 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.884e-05/0.009397, allocations: 11.98 kB / 381.5 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004263/0.009824, allocations: 287.8 kB / 381.8 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002322/0.01006, allocations: 54.98 kB / 381.8 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.826e-05/0.01011, allocations: 19.69 kB / 381.8 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.01014, allocations: 3.938 kB / 381.8 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.573e-05/0.01017, allocations: 37.39 kB / 381.9 MB, free: 14.25 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.01017, allocations: 3.938 kB / 381.9 MB, free: 14.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.000561/0.01073, allocations: 133.6 kB / 382 MB, free: 14.11 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.226e-05/0.0108, allocations: 77.11 kB / 382.1 MB, free: 14.02 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002084/0.011, allocations: 212.2 kB / 382.3 MB, free: 13.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.71e-05/0.01103, allocations: 37.69 kB / 382.3 MB, free: 13.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.632e-05/0.01113, allocations: 138.9 kB / 382.5 MB, free: 13.61 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.469e-05/0.01115, allocations: 11.91 kB / 382.5 MB, free: 13.6 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.977e-05/0.0112, allocations: 27.36 kB / 382.5 MB, free: 13.56 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002721/0.01147, allocations: 0.4884 MB / 383 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.426e-05/0.01154, allocations: 19.98 kB / 383 MB, free: 13.04 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.622e-05/0.01163, allocations: 65 kB / 383.1 MB, free: 12.96 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001197/0.01175, allocations: 47.86 kB / 383.1 MB, free: 12.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.01176, allocations: 0 / 383.1 MB, free: 12.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002517/0.01201, allocations: 77.61 kB / 383.2 MB, free: 12.83 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/0.01203, allocations: 7.984 kB / 383.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.01204, allocations: 0 / 383.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.248e-05/0.01206, allocations: 4 kB / 383.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.408e-05/0.01212, allocations: 8 kB / 383.2 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.01213, allocations: 3.938 kB / 383.2 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.271e-05/0.01217, allocations: 7.938 kB / 383.2 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.01218, allocations: 3.984 kB / 383.2 MB, free: 12.8 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 (5): * Single equations (assignments): 5 * 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.0001375/0.01232, allocations: 160.6 kB / 383.4 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.256e-05/0.01236, allocations: 19.89 kB / 383.4 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002526/0.01261, allocations: 86.08 kB / 383.5 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.01262, allocations: 0 / 383.5 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.788e-06/0.01262, allocations: 0 / 383.5 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.01262, allocations: 0 / 383.5 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000471/0.01309, allocations: 353.3 kB / 383.8 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.01309, allocations: 0 / 383.8 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.397e-05/0.01315, allocations: 11.98 kB / 383.8 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.01315, allocations: 0 / 383.8 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.01316, allocations: 8 kB / 383.8 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.01316, allocations: 0 / 383.8 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.01316, allocations: 0 / 383.8 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002886/0.01345, allocations: 235.9 kB / 384.1 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.52e-05/0.01346, allocations: 7.891 kB / 384.1 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.373e-05/0.01349, allocations: 8 kB / 384.1 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.325e-05/0.01355, allocations: 0 / 384.1 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.118e-05/0.01359, allocations: 7.984 kB / 384.1 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.0136, allocations: 0 / 384.1 MB, free: 11.84 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001317/0.01373, allocations: 151.2 kB / 384.2 MB, free: 11.69 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01373, allocations: 0 / 384.2 MB, free: 11.69 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000289/0.01402, allocations: 47.86 kB / 384.3 MB, free: 11.64 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.003322/0.01734, allocations: 0.5148 MB / 384.8 MB, free: 11.34 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000206/0.01755, allocations: 43.67 kB / 384.9 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.01755, allocations: 0 / 384.9 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.692e-05/0.01762, allocations: 35.61 kB / 384.9 MB, free: 11.25 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003188/0.01794, allocations: 23.2 kB / 384.9 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005011/0.01844, allocations: 185.9 kB / 385.1 MB, free: 11.02 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.318e-05/0.01854, allocations: 82.17 kB / 385.2 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.798e-05/0.01859, allocations: 11.98 kB / 385.2 MB, free: 10.91 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.974e-05/0.01864, allocations: 16.48 kB / 385.2 MB, free: 10.9 MB / 362.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01865, allocations: 0 / 385.2 MB, free: 10.9 MB / 362.7 MB Notification: Performance of Templates: time 0.005769/0.02441, allocations: 1.825 MB / 387 MB, free: 9.078 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test35/Test35.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35.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.992867883993313]