Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.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.001009/0.001009, 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.001174/0.001174, allocations: 167.3 kB / 24.99 MB, free: 8.746 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.019/1.019, 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.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.259/0.259, allocations: 32.81 MB / 294.6 MB, free: 1.285 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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test24,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.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 376 MB, free: 4.996 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.481e-05/3.676e-05, allocations: 2.312 kB / 376 MB, free: 4.992 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test24): time 0.003489/0.003526, allocations: 1.649 MB / 377.7 MB, free: 3.332 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002142/0.005668, allocations: 1.266 MB / 378.9 MB, free: 2.059 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.838e-05/0.005767, allocations: 0 / 378.9 MB, free: 2.059 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002629/0.00603, allocations: 31.72 kB / 379 MB, free: 2.027 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004343/0.006464, allocations: 83.55 kB / 379 MB, free: 1.945 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003926/0.006857, allocations: 95.62 kB / 379.1 MB, free: 1.852 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001986/0.007055, allocations: 67.78 kB / 379.2 MB, free: 1.785 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.007163, allocations: 11.98 kB / 379.2 MB, free: 1.773 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.998e-05/0.007243, allocations: 31.91 kB / 379.2 MB, free: 1.742 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001238/0.007367, allocations: 27.91 kB / 379.3 MB, free: 1.715 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.007385, allocations: 8 kB / 379.3 MB, free: 1.707 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001983/0.007584, allocations: 87.88 kB / 379.4 MB, free: 1.621 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.254e-05/0.007636, allocations: 11.94 kB / 379.4 MB, free: 1.609 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.475e-05/0.007671, allocations: 19.91 kB / 379.4 MB, free: 1.59 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002263/0.007897, allocations: 127.6 kB / 379.5 MB, free: 1.465 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.007901, allocations: 4 kB / 379.5 MB, free: 1.461 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.007902, allocations: 0 / 379.5 MB, free: 1.461 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.007907, allocations: 0 / 379.5 MB, free: 1.461 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.0004449/0.008352, allocations: 427.9 kB / 379.9 MB, free: 1.008 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.008392, allocations: 8.031 kB / 379.9 MB, free: 1 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.593e-05/0.008448, allocations: 12.89 kB / 380 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001991/0.008647, allocations: 144.5 kB / 380.1 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.008658, allocations: 4.359 kB / 380.1 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.711e-05/0.008685, allocations: 4.375 kB / 380.1 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.008851, allocations: 96.03 kB / 380.2 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.008862, allocations: 192 / 380.2 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.008872, allocations: 4.125 kB / 380.2 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.008881, allocations: 4 kB / 380.2 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.281e-05/0.008914, allocations: 11.98 kB / 380.2 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003178/0.009232, allocations: 275.7 kB / 380.5 MB, free: 380 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001811/0.009413, allocations: 47.05 kB / 380.5 MB, free: 320 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.309e-05/0.009436, allocations: 15.69 kB / 380.5 MB, free: 300 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.009455, allocations: 3.938 kB / 380.6 MB, free: 296 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.009479, allocations: 37.39 kB / 380.6 MB, free: 248 kB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.00948, allocations: 0 / 380.6 MB, free: 248 kB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003924/0.009873, allocations: 105.5 kB / 380.7 MB, free: 136 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.816e-05/0.009931, allocations: 81.05 kB / 380.8 MB, free: 36 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001687/0.0101, allocations: 195.8 kB / 381 MB, free: 15.83 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.01011, allocations: 29.7 kB / 381 MB, free: 15.79 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.009e-05/0.01017, allocations: 138.9 kB / 381.1 MB, free: 15.65 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.467e-05/0.0102, allocations: 23.8 kB / 381.1 MB, free: 15.63 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.548e-05/0.01023, allocations: 23.38 kB / 381.2 MB, free: 15.6 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.01039, allocations: 0.4923 MB / 381.7 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.293e-05/0.01041, allocations: 7.938 kB / 381.7 MB, free: 15.09 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.746e-05/0.01046, allocations: 57.12 kB / 381.7 MB, free: 15.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.349e-05/0.0105, allocations: 23.69 kB / 381.8 MB, free: 14.99 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.0105, allocations: 0 / 381.8 MB, free: 14.99 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.562e-05/0.01059, allocations: 61.56 kB / 381.8 MB, free: 14.92 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.0106, allocations: 4 kB / 381.8 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.01061, allocations: 0 / 381.8 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.01062, allocations: 4.031 kB / 381.8 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.169e-05/0.01068, allocations: 15.98 kB / 381.8 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.01068, allocations: 0 / 381.8 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.172e-05/0.0107, allocations: 3.953 kB / 381.8 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.01071, allocations: 8 kB / 381.8 MB, free: 14.89 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 6.991e-05/0.01078, allocations: 152.6 kB / 382 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.34e-05/0.0108, allocations: 15.89 kB / 382 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001199/0.01092, allocations: 66.14 kB / 382.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.01093, allocations: 3.938 kB / 382.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.01093, allocations: 0 / 382.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.01093, allocations: 4 kB / 382.1 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002514/0.01118, allocations: 321.4 kB / 382.4 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.01119, allocations: 0 / 382.4 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.461e-05/0.01122, allocations: 12.3 kB / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.01122, allocations: 0 / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.121e-06/0.01123, allocations: 0 / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.01123, allocations: 8 kB / 382.4 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.01123, allocations: 0 / 382.4 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001273/0.01136, allocations: 215.8 kB / 382.6 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.187e-05/0.01137, allocations: 7.953 kB / 382.6 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.01139, allocations: 0 / 382.6 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.511e-05/0.01142, allocations: 8.266 kB / 382.6 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/0.01146, allocations: 8 kB / 382.7 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-06/0.01146, allocations: 0 / 382.7 MB, free: 14 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.339e-05/0.01153, allocations: 153 kB / 382.8 MB, free: 13.86 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01153, allocations: 0 / 382.8 MB, free: 13.86 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002111/0.01175, allocations: 39.81 kB / 382.8 MB, free: 13.82 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.001074/0.01282, allocations: 488 kB / 383.3 MB, free: 13.51 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001121/0.01293, allocations: 31.61 kB / 383.3 MB, free: 13.48 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.01293, allocations: 8 kB / 383.4 MB, free: 13.47 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.269e-05/0.01296, allocations: 15.69 kB / 383.4 MB, free: 13.45 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002185/0.01318, allocations: 19.92 kB / 383.4 MB, free: 13.43 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004281/0.0136, allocations: 165.9 kB / 383.6 MB, free: 13.24 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.773e-05/0.01365, allocations: 63.34 kB / 383.6 MB, free: 13.16 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.825e-05/0.0137, allocations: 19.91 kB / 383.6 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.016e-05/0.01374, allocations: 16.48 kB / 383.6 MB, free: 13.12 MB / 362.7 MB Notification: Performance of SimCode: time 1.502e-06/0.01374, allocations: 4 kB / 383.7 MB, free: 13.12 MB / 362.7 MB Notification: Performance of Templates: time 0.003739/0.01748, allocations: 1.825 MB / 385.5 MB, free: 11.3 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test24/Test24.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.252688965993002]