Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test29.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.00107/0.00107, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001379/0.001379, allocations: 172.6 kB / 24.82 MB, free: 9.266 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.137/1.137, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.2907/0.2907, allocations: 34.26 MB / 296.1 MB, free: 0.7422 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.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 378.5 MB, free: 2.375 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.1e-05/2.249e-05, allocations: 6.25 kB / 378.5 MB, free: 2.367 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test29): time 0.002159/0.002181, allocations: 1.673 MB / 380.2 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006858/0.002867, allocations: 0.5297 MB / 380.7 MB, free: 148 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.971e-05/0.002927, allocations: 4 kB / 380.7 MB, free: 144 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002079/0.003135, allocations: 35.72 kB / 380.8 MB, free: 108 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002317/0.003367, allocations: 91.53 kB / 380.9 MB, free: 16 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002076/0.003574, allocations: 95.69 kB / 380.9 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001381/0.003712, allocations: 91.69 kB / 381 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.729e-05/0.0038, allocations: 23.98 kB / 381.1 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.158e-05/0.003861, allocations: 39.91 kB / 381.1 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.096e-05/0.003932, allocations: 31.89 kB / 381.1 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.003947, allocations: 8 kB / 381.1 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.084e-05/0.004018, allocations: 43.91 kB / 381.2 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.857e-05/0.004057, allocations: 23.92 kB / 381.2 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.086e-05/0.004077, allocations: 11.94 kB / 381.2 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001351/0.004212, allocations: 103.5 kB / 381.3 MB, free: 15.55 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.004215, allocations: 4 kB / 381.3 MB, free: 15.55 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.004216, allocations: 4 kB / 381.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.858e-06/0.00422, allocations: 0 / 381.3 MB, free: 15.54 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003344/0.004554, allocations: 428 kB / 381.7 MB, free: 15.09 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.004587, allocations: 12.03 kB / 381.8 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.021e-05/0.004617, allocations: 12.89 kB / 381.8 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/0.004741, allocations: 150.9 kB / 381.9 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.004752, allocations: 4.375 kB / 381.9 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.803e-05/0.00477, allocations: 8.328 kB / 381.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.468e-05/0.004864, allocations: 70.88 kB / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.004872, allocations: 192 / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.00488, allocations: 12.12 kB / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.004885, allocations: 3.984 kB / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.064e-05/0.004916, allocations: 15.98 kB / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002402/0.005156, allocations: 284.2 kB / 382.3 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.96e-05/0.005216, allocations: 47.03 kB / 382.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.231e-05/0.005238, allocations: 27.61 kB / 382.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.005258, allocations: 3.938 kB / 382.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.005279, allocations: 37.39 kB / 382.4 MB, free: 14.33 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 8.21e-07/0.00528, allocations: 0 / 382.4 MB, free: 14.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.000468/0.005748, allocations: 209.7 kB / 382.6 MB, free: 14.12 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.617e-05/0.005774, allocations: 55.41 kB / 382.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.00588, allocations: 209.1 kB / 382.9 MB, free: 13.83 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/0.005891, allocations: 33.64 kB / 382.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.674e-05/0.005948, allocations: 150.7 kB / 383.1 MB, free: 13.64 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.093e-05/0.005979, allocations: 43.62 kB / 383.1 MB, free: 13.6 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.493e-05/0.006014, allocations: 35.36 kB / 383.1 MB, free: 13.55 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.006129, allocations: 0.4961 MB / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.866e-05/0.006148, allocations: 16 kB / 383.7 MB, free: 13.03 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.838e-05/0.006166, allocations: 15.98 kB / 383.7 MB, free: 13.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.997e-05/0.006216, allocations: 50.92 kB / 383.7 MB, free: 12.96 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.006217, allocations: 0 / 383.7 MB, free: 12.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 8.962e-05/0.006307, allocations: 89.59 kB / 383.8 MB, free: 12.87 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/0.006317, allocations: 8 kB / 383.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.006321, allocations: 0 / 383.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.556e-06/0.00633, allocations: 0 / 383.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.927e-05/0.006399, allocations: 27.92 kB / 383.8 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.396e-06/0.006402, allocations: 3.984 kB / 383.8 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.251e-05/0.006425, allocations: 11.94 kB / 383.9 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.006431, allocations: 8 kB / 383.9 MB, free: 12.81 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 (13): * Single equations (assignments): 13 * 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.388e-05/0.006495, allocations: 160.6 kB / 384 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.027e-05/0.006515, allocations: 11.95 kB / 384 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001419/0.006657, allocations: 114.8 kB / 384.1 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.006659, allocations: 4 kB / 384.1 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/0.00666, allocations: 0 / 384.1 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.006664, allocations: 0 / 384.1 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002804/0.006944, allocations: 389.4 kB / 384.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.006946, allocations: 32 / 384.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.398e-05/0.00699, allocations: 27.98 kB / 384.6 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.006993, allocations: 7.938 kB / 384.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.007, allocations: 7.984 kB / 384.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.908e-06/0.007004, allocations: 3.938 kB / 384.6 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.007006, allocations: 4 kB / 384.6 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001257/0.007131, allocations: 243.5 kB / 384.8 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.717e-06/0.00714, allocations: 7.953 kB / 384.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.125e-05/0.007151, allocations: 4 kB / 384.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.448e-05/0.007186, allocations: 7.938 kB / 384.8 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.706e-05/0.007213, allocations: 7.984 kB / 384.8 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.007219, allocations: 16 kB / 384.9 MB, free: 11.73 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.131e-05/0.007271, allocations: 150.3 kB / 385 MB, free: 11.59 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007271, allocations: 0 / 385 MB, free: 11.59 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000157/0.007428, allocations: 20 kB / 385 MB, free: 11.57 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 (13): * Single equations (assignments): 13 * 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.0008247/0.008252, allocations: 445.2 kB / 385.5 MB, free: 11.3 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.901e-05/0.008351, allocations: 67.52 kB / 385.5 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.008353, allocations: 0 / 385.5 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.642e-05/0.00839, allocations: 43.61 kB / 385.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002053/0.008595, allocations: 27.88 kB / 385.6 MB, free: 11.16 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003037/0.008899, allocations: 234.1 kB / 385.8 MB, free: 10.9 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.77e-05/0.008936, allocations: 67.36 kB / 385.9 MB, free: 10.81 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.023e-05/0.008977, allocations: 20.47 kB / 385.9 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.238e-05/0.009039, allocations: 86.19 kB / 386 MB, free: 10.71 MB / 362.7 MB Notification: Performance of SimCode: time 8.02e-07/0.00904, allocations: 4.062 kB / 386 MB, free: 10.7 MB / 362.7 MB Notification: Performance of Templates: time 0.003092/0.01213, allocations: 1.703 MB / 387.7 MB, free: 9.008 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test29 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test29/Test29.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.376734721008688]