Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.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.001205/0.001205, 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.001673/0.001673, allocations: 162.9 kB / 24.99 MB, free: 9.273 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.026/1.026, allocations: 177.1 MB / 205.3 MB, free: 5.637 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.3052/0.3052, allocations: 32.81 MB / 294.6 MB, free: 1.277 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.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,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.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.284e-06/2.284e-06, allocations: 0 / 376 MB, free: 4.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.728e-05/3.956e-05, allocations: 6.25 kB / 376 MB, free: 4.973 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.002879/0.002919, allocations: 1.645 MB / 377.7 MB, free: 3.316 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008462/0.003765, allocations: 0.522 MB / 378.2 MB, free: 2.789 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.865e-05/0.003833, allocations: 0 / 378.2 MB, free: 2.789 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002347/0.004068, allocations: 39.7 kB / 378.2 MB, free: 2.75 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002812/0.004349, allocations: 83.62 kB / 378.3 MB, free: 2.668 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002267/0.004576, allocations: 95.56 kB / 378.4 MB, free: 2.574 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001493/0.004725, allocations: 63.83 kB / 378.5 MB, free: 2.512 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.004831, allocations: 4 kB / 378.5 MB, free: 2.508 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.379e-05/0.004895, allocations: 31.91 kB / 378.5 MB, free: 2.477 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.18e-05/0.004957, allocations: 27.84 kB / 378.5 MB, free: 2.449 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.004972, allocations: 0 / 378.5 MB, free: 2.449 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.683e-05/0.005049, allocations: 35.94 kB / 378.6 MB, free: 2.414 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.635e-05/0.005095, allocations: 11.92 kB / 378.6 MB, free: 2.402 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.792e-05/0.005133, allocations: 11.94 kB / 378.6 MB, free: 2.391 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001514/0.005284, allocations: 79.73 kB / 378.7 MB, free: 2.312 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.005288, allocations: 3.984 kB / 378.7 MB, free: 2.309 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.005289, allocations: 0 / 378.7 MB, free: 2.309 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.005294, allocations: 0 / 378.7 MB, free: 2.309 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.0004287/0.005722, allocations: 408.1 kB / 379.1 MB, free: 1.875 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.005763, allocations: 12.03 kB / 379.1 MB, free: 1.863 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.123e-05/0.005814, allocations: 16.83 kB / 379.1 MB, free: 1.848 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.00596, allocations: 141 kB / 379.2 MB, free: 1.684 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.297e-06/0.00597, allocations: 384 / 379.2 MB, free: 1.684 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.209e-05/0.005992, allocations: 4.375 kB / 379.2 MB, free: 1.68 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/0.006118, allocations: 62.7 kB / 379.3 MB, free: 1.609 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.006127, allocations: 0 / 379.3 MB, free: 1.609 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.006136, allocations: 0 / 379.3 MB, free: 1.609 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.006143, allocations: 0 / 379.3 MB, free: 1.609 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.132e-05/0.006175, allocations: 11.92 kB / 379.3 MB, free: 1.598 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003068/0.006481, allocations: 283.7 kB / 379.6 MB, free: 1.285 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/0.006656, allocations: 43.09 kB / 379.6 MB, free: 1.23 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.348e-05/0.00668, allocations: 15.67 kB / 379.6 MB, free: 1.211 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.006701, allocations: 0 / 379.6 MB, free: 1.211 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.006727, allocations: 37.39 kB / 379.7 MB, free: 1.164 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.006728, allocations: 4 kB / 379.7 MB, free: 1.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003539/0.007082, allocations: 97.7 kB / 379.8 MB, free: 1.059 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.927e-05/0.007122, allocations: 51.41 kB / 379.8 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/0.007265, allocations: 220 kB / 380 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/0.007275, allocations: 29.64 kB / 380.1 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.997e-05/0.007335, allocations: 150.8 kB / 380.2 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.052e-05/0.007356, allocations: 15.84 kB / 380.2 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.117e-05/0.007387, allocations: 27.36 kB / 380.3 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.007509, allocations: 0.4922 MB / 380.7 MB, free: 24 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.172e-05/0.007531, allocations: 11.98 kB / 380.8 MB, free: 12 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.257e-05/0.007544, allocations: 8.188 kB / 380.8 MB, free: 4 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.238e-05/0.007596, allocations: 23.69 kB / 380.8 MB, free: 15.98 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.007597, allocations: 0 / 380.8 MB, free: 15.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.847e-05/0.007676, allocations: 57.64 kB / 380.8 MB, free: 15.91 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.007688, allocations: 8 kB / 380.9 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.85e-06/0.007693, allocations: 48 / 380.9 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.007707, allocations: 3.984 kB / 380.9 MB, free: 15.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.323e-05/0.00775, allocations: 15.92 kB / 380.9 MB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.007756, allocations: 0 / 380.9 MB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.021e-05/0.007776, allocations: 8 kB / 380.9 MB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.007781, allocations: 0 / 380.9 MB, free: 15.88 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.205e-05/0.007853, allocations: 164.5 kB / 381 MB, free: 15.71 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.833e-05/0.007871, allocations: 11.91 kB / 381.1 MB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001176/0.007989, allocations: 70.14 kB / 381.1 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.007991, allocations: 0 / 381.1 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.007995, allocations: 0 / 381.1 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.007998, allocations: 0 / 381.1 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002403/0.008239, allocations: 325.3 kB / 381.4 MB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.00824, allocations: 0 / 381.4 MB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.97e-05/0.00827, allocations: 15.92 kB / 381.5 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.008272, allocations: 0 / 381.5 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.00828, allocations: 12.19 kB / 381.5 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.008283, allocations: 4 kB / 381.5 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.008284, allocations: 0 / 381.5 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001072/0.008391, allocations: 207.8 kB / 381.7 MB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.584e-06/0.008398, allocations: 7.953 kB / 381.7 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.177e-05/0.00841, allocations: 4 kB / 381.7 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.115e-05/0.008441, allocations: 4 kB / 381.7 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.843e-05/0.00847, allocations: 3.984 kB / 381.7 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.008474, allocations: 4 kB / 381.7 MB, free: 14.98 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.54e-05/0.008539, allocations: 158 kB / 381.9 MB, free: 14.83 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008539, allocations: 4 kB / 381.9 MB, free: 14.83 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001572/0.008696, allocations: 15.94 kB / 381.9 MB, free: 14.81 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.0008262/0.009522, allocations: 380.3 kB / 382.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001056/0.009628, allocations: 31.61 kB / 382.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.00963, allocations: 0 / 382.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.201e-05/0.009652, allocations: 15.69 kB / 382.3 MB, free: 14.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000223/0.009875, allocations: 22.27 kB / 382.3 MB, free: 14.5 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000336/0.01021, allocations: 186.3 kB / 382.5 MB, free: 14.29 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.271e-05/0.01025, allocations: 63.34 kB / 382.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.67e-05/0.01028, allocations: 7.984 kB / 382.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.616e-05/0.01031, allocations: 16.5 kB / 382.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01031, allocations: 0 / 382.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of Templates: time 0.003065/0.01337, allocations: 1.169 MB / 383.7 MB, free: 13.02 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.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.382824091007933]