Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.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.001111/0.001111, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001193/0.001193, allocations: 161.9 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.04/1.04, allocations: 177.1 MB / 205.3 MB, free: 5.617 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.2778/0.2778, allocations: 34.26 MB / 296 MB, free: 0.7695 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.Test16,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.Test16") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test16,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.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 378 MB, free: 2.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.477e-05/2.629e-05, allocations: 2.312 kB / 378 MB, free: 2.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.002406/0.002433, allocations: 1.657 MB / 379.7 MB, free: 1.305 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007474/0.00318, allocations: 0.5375 MB / 380.2 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.693e-05/0.003237, allocations: 0 / 380.2 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002548/0.003492, allocations: 83.69 kB / 380.3 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002595/0.003751, allocations: 107.5 kB / 380.4 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002182/0.00397, allocations: 115.6 kB / 380.5 MB, free: 472 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001358/0.004105, allocations: 83.77 kB / 380.6 MB, free: 388 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.11e-05/0.004196, allocations: 11.97 kB / 380.6 MB, free: 376 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.32e-05/0.00426, allocations: 47.84 kB / 380.7 MB, free: 328 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.723e-05/0.004347, allocations: 55.86 kB / 380.7 MB, free: 272 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.004359, allocations: 0 / 380.7 MB, free: 272 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.59e-05/0.004435, allocations: 51.91 kB / 380.8 MB, free: 220 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.332e-05/0.004488, allocations: 19.94 kB / 380.8 MB, free: 200 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.781e-05/0.004516, allocations: 15.92 kB / 380.8 MB, free: 184 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001499/0.004666, allocations: 99.59 kB / 380.9 MB, free: 84 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.004668, allocations: 0 / 380.9 MB, free: 84 kB / 346.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.004669, allocations: 0 / 380.9 MB, free: 84 kB / 346.7 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.004673, allocations: 0 / 380.9 MB, free: 84 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.00038/0.005053, allocations: 439.9 kB / 381.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.005086, allocations: 8.031 kB / 381.3 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.365e-05/0.005129, allocations: 16.84 kB / 381.4 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/0.005267, allocations: 149.1 kB / 381.5 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.378e-06/0.005277, allocations: 8.375 kB / 381.5 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.849e-05/0.005295, allocations: 384 / 381.5 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001028/0.005398, allocations: 62.95 kB / 381.6 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.005408, allocations: 192 / 381.6 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.687e-06/0.005417, allocations: 4.125 kB / 381.6 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.005424, allocations: 0 / 381.6 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.366e-05/0.005457, allocations: 15.92 kB / 381.6 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002903/0.005748, allocations: 299.7 kB / 381.9 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.913e-05/0.005807, allocations: 39.05 kB / 381.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.308e-05/0.00583, allocations: 19.62 kB / 381.9 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.618e-05/0.005846, allocations: 0 / 381.9 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/0.005866, allocations: 41.33 kB / 382 MB, free: 14.87 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 6.91e-07/0.005867, allocations: 4 kB / 382 MB, free: 14.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004899/0.006357, allocations: 173.3 kB / 382.2 MB, free: 14.69 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.824e-05/0.006385, allocations: 55.39 kB / 382.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.006524, allocations: 238.4 kB / 382.5 MB, free: 14.37 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/0.006535, allocations: 29.7 kB / 382.5 MB, free: 14.34 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.198e-05/0.006597, allocations: 154.9 kB / 382.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.392e-05/0.006621, allocations: 27.73 kB / 382.7 MB, free: 14.15 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.26e-05/0.006654, allocations: 27.38 kB / 382.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.006764, allocations: 0.504 MB / 383.2 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.15e-05/0.006786, allocations: 8 kB / 383.2 MB, free: 13.59 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.867e-05/0.006804, allocations: 15.98 kB / 383.2 MB, free: 13.58 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.894e-05/0.006853, allocations: 35.62 kB / 383.2 MB, free: 13.54 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.006854, allocations: 0 / 383.2 MB, free: 13.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.109e-05/0.006935, allocations: 81.66 kB / 383.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.006946, allocations: 4 kB / 383.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.00695, allocations: 0 / 383.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.006963, allocations: 3.984 kB / 383.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.322e-05/0.007026, allocations: 16 kB / 383.3 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.007031, allocations: 4 kB / 383.4 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.706e-05/0.007048, allocations: 0 / 383.4 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.007055, allocations: 7.984 kB / 383.4 MB, free: 13.42 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.065e-05/0.007116, allocations: 164.5 kB / 383.5 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.086e-05/0.007137, allocations: 15.91 kB / 383.5 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001232/0.00726, allocations: 83.56 kB / 383.6 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.007261, allocations: 4 kB / 383.6 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.007264, allocations: 0 / 383.6 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.007268, allocations: 3.984 kB / 383.6 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002791/0.007547, allocations: 385.4 kB / 384 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.007548, allocations: 0 / 384 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.669e-05/0.007585, allocations: 19.98 kB / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.007587, allocations: 3.938 kB / 384 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.007594, allocations: 0 / 384 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.007596, allocations: 4 kB / 384 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.007597, allocations: 0 / 384 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000119/0.007716, allocations: 243.4 kB / 384.3 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.447e-06/0.007725, allocations: 11.94 kB / 384.3 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.181e-05/0.007737, allocations: 0 / 384.3 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.323e-05/0.00777, allocations: 4 kB / 384.3 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.259e-05/0.007803, allocations: 19.95 kB / 384.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-06/0.007806, allocations: 0 / 384.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.062e-05/0.007877, allocations: 167.2 kB / 384.5 MB, free: 12.23 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007877, allocations: 3.938 kB / 384.5 MB, free: 12.22 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001649/0.008042, allocations: 23.94 kB / 384.5 MB, free: 12.2 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.0008931/0.008935, allocations: 435.3 kB / 384.9 MB, free: 11.93 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.936e-05/0.009034, allocations: 47.64 kB / 385 MB, free: 11.88 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.009036, allocations: 0 / 385 MB, free: 11.88 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.974e-05/0.009065, allocations: 31.62 kB / 385 MB, free: 11.85 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002046/0.00927, allocations: 23.94 kB / 385 MB, free: 11.82 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003692/0.009639, allocations: 241.8 kB / 385.3 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.854e-05/0.009678, allocations: 67.33 kB / 385.3 MB, free: 11.47 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.651e-05/0.009724, allocations: 21.02 kB / 385.3 MB, free: 11.45 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.703e-05/0.009751, allocations: 12.5 kB / 385.4 MB, free: 11.44 MB / 362.7 MB Notification: Performance of SimCode: time 8.21e-07/0.009752, allocations: 12 kB / 385.4 MB, free: 11.43 MB / 362.7 MB Notification: Performance of Templates: time 0.003443/0.01319, allocations: 1.397 MB / 386.8 MB, free: 10.04 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.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.2822943688370287]