Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.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.00136/0.00136, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001051/0.001051, allocations: 166.8 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 1.027/1.027, allocations: 177.1 MB / 205.3 MB, free: 5.633 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.2639/0.2639, allocations: 32.8 MB / 294.6 MB, free: 1.297 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.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.675e-06/2.675e-06, allocations: 0 / 376 MB, free: 4.988 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.993e-05/3.26e-05, allocations: 6.312 kB / 376 MB, free: 4.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.002812/0.002845, allocations: 1.638 MB / 377.6 MB, free: 3.328 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008263/0.003671, allocations: 0.5297 MB / 378.2 MB, free: 2.793 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.244e-05/0.003744, allocations: 0 / 378.2 MB, free: 2.793 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002265/0.00397, allocations: 31.78 kB / 378.2 MB, free: 2.762 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003088/0.004279, allocations: 79.56 kB / 378.3 MB, free: 2.684 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003106/0.00459, allocations: 87.69 kB / 378.4 MB, free: 2.598 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001771/0.004767, allocations: 67.78 kB / 378.4 MB, free: 2.531 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001377/0.004905, allocations: 15.97 kB / 378.5 MB, free: 2.516 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.366e-05/0.004978, allocations: 27.92 kB / 378.5 MB, free: 2.488 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.554e-05/0.005044, allocations: 11.92 kB / 378.5 MB, free: 2.477 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.761e-05/0.005061, allocations: 4 kB / 378.5 MB, free: 2.473 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.39e-05/0.005155, allocations: 35.92 kB / 378.5 MB, free: 2.438 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.032e-05/0.005226, allocations: 19.92 kB / 378.6 MB, free: 2.418 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.793e-05/0.005264, allocations: 7.938 kB / 378.6 MB, free: 2.41 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002123/0.005476, allocations: 75.67 kB / 378.6 MB, free: 2.336 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.00548, allocations: 0 / 378.6 MB, free: 2.336 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.005481, allocations: 0 / 378.6 MB, free: 2.336 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.411e-06/0.005487, allocations: 0 / 378.6 MB, free: 2.336 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005231/0.00601, allocations: 404.2 kB / 379 MB, free: 1.906 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/0.006062, allocations: 12.03 kB / 379 MB, free: 1.895 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.586e-05/0.006118, allocations: 8.891 kB / 379 MB, free: 1.887 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001845/0.006303, allocations: 128.5 kB / 379.2 MB, free: 1.734 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.006319, allocations: 12.36 kB / 379.2 MB, free: 1.723 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.534e-05/0.006345, allocations: 4.375 kB / 379.2 MB, free: 1.719 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.006501, allocations: 54.89 kB / 379.2 MB, free: 1.656 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.006515, allocations: 4.125 kB / 379.2 MB, free: 1.652 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.631e-05/0.006531, allocations: 8.125 kB / 379.3 MB, free: 1.645 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/0.006543, allocations: 4 kB / 379.3 MB, free: 1.641 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.484e-05/0.006578, allocations: 4 kB / 379.3 MB, free: 1.637 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003923/0.00697, allocations: 271.8 kB / 379.5 MB, free: 1.336 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002225/0.007192, allocations: 42.98 kB / 379.6 MB, free: 1.281 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.499e-05/0.007217, allocations: 11.69 kB / 379.6 MB, free: 1.266 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.636e-05/0.007254, allocations: 3.938 kB / 379.6 MB, free: 1.262 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.5e-05/0.007289, allocations: 45.39 kB / 379.6 MB, free: 1.207 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.453e-06/0.00729, allocations: 0 / 379.6 MB, free: 1.207 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005008/0.007791, allocations: 105.8 kB / 379.7 MB, free: 1.098 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.563e-05/0.007837, allocations: 51.41 kB / 379.8 MB, free: 1.035 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.007983, allocations: 196.3 kB / 380 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.007996, allocations: 25.7 kB / 380 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.857e-05/0.008055, allocations: 142.9 kB / 380.1 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.89e-05/0.008084, allocations: 27.78 kB / 380.2 MB, free: 0.625 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.325e-05/0.008117, allocations: 23.38 kB / 380.2 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.008266, allocations: 0.4923 MB / 380.7 MB, free: 92 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.322e-05/0.008289, allocations: 8 kB / 380.7 MB, free: 84 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.521e-05/0.008304, allocations: 8.172 kB / 380.7 MB, free: 76 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.656e-05/0.008351, allocations: 27.62 kB / 380.7 MB, free: 44 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.008353, allocations: 0 / 380.7 MB, free: 44 kB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.958e-05/0.008453, allocations: 65.58 kB / 380.8 MB, free: 15.97 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.00847, allocations: 9.875 kB / 380.8 MB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.008476, allocations: 0 / 380.8 MB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.008491, allocations: 0 / 380.8 MB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.9e-05/0.00855, allocations: 11.98 kB / 380.8 MB, free: 15.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.008556, allocations: 0 / 380.8 MB, free: 15.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.068e-05/0.008577, allocations: 8 kB / 380.8 MB, free: 15.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.008583, allocations: 0 / 380.8 MB, free: 15.95 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 7.883e-05/0.008662, allocations: 160.6 kB / 381 MB, free: 15.78 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.203e-05/0.008684, allocations: 11.89 kB / 381 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001298/0.008814, allocations: 66.08 kB / 381.1 MB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.008816, allocations: 0 / 381.1 MB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.008821, allocations: 4 kB / 381.1 MB, free: 15.69 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.008826, allocations: 3.938 kB / 381.1 MB, free: 15.69 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002656/0.009092, allocations: 321.3 kB / 381.4 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.009094, allocations: 0 / 381.4 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.343e-05/0.009147, allocations: 12 kB / 381.4 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.009151, allocations: 4 kB / 381.4 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.009161, allocations: 192 / 381.4 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.009164, allocations: 4 kB / 381.4 MB, free: 15.31 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.009166, allocations: 0 / 381.4 MB, free: 15.31 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001215/0.009287, allocations: 207.8 kB / 381.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.239e-05/0.0093, allocations: 11.94 kB / 381.6 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.253e-05/0.009312, allocations: 0 / 381.6 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.33e-05/0.009345, allocations: 8 kB / 381.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.498e-05/0.00938, allocations: 0 / 381.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-06/0.009385, allocations: 3.984 kB / 381.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.457e-05/0.00945, allocations: 157.5 kB / 381.8 MB, free: 14.91 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00945, allocations: 0 / 381.8 MB, free: 14.91 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001677/0.009618, allocations: 12 kB / 381.8 MB, free: 14.9 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.0009012/0.01052, allocations: 384.2 kB / 382.2 MB, free: 14.66 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001016/0.01062, allocations: 27.67 kB / 382.2 MB, free: 14.63 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.01062, allocations: 4 kB / 382.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.514e-05/0.01065, allocations: 27.61 kB / 382.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002299/0.01088, allocations: 19.88 kB / 382.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003562/0.01123, allocations: 170.6 kB / 382.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.937e-05/0.01127, allocations: 59.34 kB / 382.5 MB, free: 14.3 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.36e-05/0.01131, allocations: 19.97 kB / 382.5 MB, free: 14.28 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.917e-05/0.01134, allocations: 16.5 kB / 382.5 MB, free: 14.26 MB / 362.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01134, allocations: 0 / 382.5 MB, free: 14.26 MB / 362.7 MB Notification: Performance of Templates: time 0.003077/0.01441, allocations: 1.144 MB / 383.6 MB, free: 13.12 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.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.26743232505396]