Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.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.001262/0.001262, 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.001395/0.001395, 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 0.9341/0.9341, 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.2689/0.2689, allocations: 34.27 MB / 296.1 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.CombiTable1Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 378 MB, free: 2.969 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.107e-05/2.248e-05, allocations: 9.688 kB / 378 MB, free: 2.961 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.00221/0.002232, allocations: 1.657 MB / 379.7 MB, free: 1.289 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007463/0.002979, allocations: 0.5375 MB / 380.2 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.108e-05/0.00305, allocations: 4 kB / 380.2 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002436/0.003293, allocations: 75.7 kB / 380.3 MB, free: 0.668 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002717/0.003565, allocations: 111.5 kB / 380.4 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002414/0.003806, allocations: 111.6 kB / 380.5 MB, free: 460 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001466/0.003953, allocations: 87.75 kB / 380.6 MB, free: 372 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.908e-05/0.004052, allocations: 7.984 kB / 380.6 MB, free: 364 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.661e-05/0.004119, allocations: 51.83 kB / 380.7 MB, free: 312 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.189e-05/0.004211, allocations: 55.88 kB / 380.7 MB, free: 256 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.004225, allocations: 0 / 380.7 MB, free: 256 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.032e-05/0.004315, allocations: 47.91 kB / 380.8 MB, free: 208 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.844e-05/0.004373, allocations: 27.92 kB / 380.8 MB, free: 180 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.52e-05/0.004409, allocations: 11.94 kB / 380.8 MB, free: 168 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001638/0.004572, allocations: 95.59 kB / 380.9 MB, free: 72 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.004574, allocations: 0 / 380.9 MB, free: 72 kB / 346.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.004575, allocations: 0 / 380.9 MB, free: 72 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.004579, allocations: 0 / 380.9 MB, free: 72 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004246/0.005004, allocations: 443.9 kB / 381.3 MB, free: 15.6 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.005043, allocations: 12.03 kB / 381.4 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.471e-05/0.005088, allocations: 12.84 kB / 381.4 MB, free: 15.58 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001472/0.005235, allocations: 149.1 kB / 381.5 MB, free: 15.4 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-06/0.005245, allocations: 4.375 kB / 381.5 MB, free: 15.4 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.967e-05/0.005264, allocations: 8.375 kB / 381.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001137/0.005378, allocations: 58.94 kB / 381.6 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.005389, allocations: 192 / 381.6 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.005399, allocations: 4.125 kB / 381.6 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.00541, allocations: 0 / 381.6 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.379e-05/0.005444, allocations: 15.92 kB / 381.6 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002874/0.005731, allocations: 299.7 kB / 381.9 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.998e-05/0.005791, allocations: 39.06 kB / 381.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.517e-05/0.005816, allocations: 19.7 kB / 382 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.087e-05/0.005837, allocations: 3.938 kB / 382 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.005858, allocations: 41.39 kB / 382 MB, free: 14.85 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.005859, allocations: 3.938 kB / 382 MB, free: 14.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005329/0.006392, allocations: 169.6 kB / 382.2 MB, free: 14.67 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/0.006422, allocations: 51.41 kB / 382.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.006556, allocations: 242.4 kB / 382.5 MB, free: 14.36 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.006567, allocations: 29.7 kB / 382.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.523e-05/0.006633, allocations: 154.9 kB / 382.6 MB, free: 14.16 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.761e-05/0.00666, allocations: 23.75 kB / 382.7 MB, free: 14.14 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003319/0.006992, allocations: 35.36 kB / 382.7 MB, free: 14.1 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.007109, allocations: 0.5 MB / 383.2 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.372e-05/0.007132, allocations: 8 kB / 383.2 MB, free: 13.58 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.027e-05/0.007153, allocations: 11.98 kB / 383.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.832e-05/0.007201, allocations: 35.62 kB / 383.2 MB, free: 13.53 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.007202, allocations: 4 kB / 383.2 MB, free: 13.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.919e-05/0.007292, allocations: 81.75 kB / 383.3 MB, free: 13.44 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.007304, allocations: 4 kB / 383.3 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.007308, allocations: 0 / 383.3 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.007322, allocations: 7.984 kB / 383.3 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.899e-05/0.007391, allocations: 19.98 kB / 383.4 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.007398, allocations: 0 / 383.4 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.689e-05/0.007415, allocations: 0 / 383.4 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.007421, allocations: 4 kB / 383.4 MB, free: 13.4 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 (8): * Single equations (assignments): 8 * 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.759e-05/0.007488, allocations: 168.5 kB / 383.5 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.08e-05/0.007509, allocations: 15.89 kB / 383.5 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001289/0.007638, allocations: 87.45 kB / 383.6 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.00764, allocations: 0 / 383.6 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.007645, allocations: 0 / 383.6 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.007651, allocations: 0 / 383.6 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003055/0.007957, allocations: 385 kB / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.00796, allocations: 4 kB / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.661e-05/0.007997, allocations: 15.94 kB / 384 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.007998, allocations: 0 / 384 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.008007, allocations: 7.922 kB / 384 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.008009, allocations: 4 kB / 384 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.008011, allocations: 0 / 384 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001202/0.008131, allocations: 239.5 kB / 384.3 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.003e-05/0.008141, allocations: 7.953 kB / 384.3 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.174e-05/0.008152, allocations: 0 / 384.3 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.351e-05/0.008186, allocations: 12.02 kB / 384.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.458e-05/0.008221, allocations: 11.94 kB / 384.3 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.008224, allocations: 3.938 kB / 384.3 MB, free: 12.38 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.881e-05/0.008303, allocations: 171.1 kB / 384.5 MB, free: 12.21 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008303, allocations: 0 / 384.5 MB, free: 12.21 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001682/0.008471, allocations: 23.94 kB / 384.5 MB, free: 12.18 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 (8): * Single equations (assignments): 8 * 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.0009001/0.009371, allocations: 432 kB / 384.9 MB, free: 11.92 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001161/0.009487, allocations: 47.66 kB / 385 MB, free: 11.87 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.009489, allocations: 4 kB / 385 MB, free: 11.86 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.202e-05/0.009521, allocations: 31.61 kB / 385 MB, free: 11.83 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000216/0.009737, allocations: 27.88 kB / 385 MB, free: 11.8 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003538/0.01009, allocations: 237.8 kB / 385.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.145e-05/0.01013, allocations: 67.28 kB / 385.3 MB, free: 11.45 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.062e-05/0.01017, allocations: 25 kB / 385.3 MB, free: 11.43 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.824e-05/0.0102, allocations: 20.56 kB / 385.4 MB, free: 11.41 MB / 362.7 MB Notification: Performance of SimCode: time 5.41e-07/0.0102, allocations: 0 / 385.4 MB, free: 11.41 MB / 362.7 MB Notification: Performance of Templates: time 0.003187/0.01339, allocations: 1.391 MB / 386.8 MB, free: 10.03 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.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.0943885741289705]