Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.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.002329/0.002329, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002764/0.002764, allocations: 165.3 kB / 24.28 MB, free: 152 kB / 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.602/1.602, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.3584/0.3584, allocations: 34.26 MB / 295.3 MB, free: 0.6758 MB / 266.7 MB " [Timeout remaining time 179] 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.22e-06/5.22e-06, allocations: 4 kB / 377.3 MB, free: 2.945 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.732e-05/3.254e-05, allocations: 2.312 kB / 377.3 MB, free: 2.941 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.0035/0.003533, allocations: 1.653 MB / 379 MB, free: 1.277 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001219/0.004752, allocations: 0.5492 MB / 379.5 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.804e-05/0.00481, allocations: 0 / 379.5 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003429/0.005153, allocations: 95.61 kB / 379.6 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003304/0.005484, allocations: 119.5 kB / 379.7 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003243/0.005808, allocations: 119.6 kB / 379.8 MB, free: 404 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002322/0.00604, allocations: 107.6 kB / 379.9 MB, free: 296 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.006164, allocations: 19.98 kB / 380 MB, free: 276 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.006276, allocations: 51.88 kB / 380 MB, free: 224 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001333/0.00641, allocations: 67.86 kB / 380.1 MB, free: 156 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.367e-05/0.006433, allocations: 4 kB / 380.1 MB, free: 152 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000105/0.006538, allocations: 39.92 kB / 380.1 MB, free: 112 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.215e-05/0.006611, allocations: 35.84 kB / 380.2 MB, free: 76 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.106e-05/0.006652, allocations: 19.94 kB / 380.2 MB, free: 56 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002827/0.006934, allocations: 139.5 kB / 380.3 MB, free: 15.91 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.00694, allocations: 4 kB / 380.3 MB, free: 15.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.006941, allocations: 0 / 380.3 MB, free: 15.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.006946, allocations: 0 / 380.3 MB, free: 15.91 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006632/0.00761, allocations: 467.4 kB / 380.8 MB, free: 15.42 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.007649, allocations: 12.03 kB / 380.8 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.492e-05/0.007714, allocations: 20.69 kB / 380.8 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000253/0.007967, allocations: 160.4 kB / 381 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.007984, allocations: 4.375 kB / 381 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.926e-05/0.008013, allocations: 12.38 kB / 381 MB, free: 15.19 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001766/0.00819, allocations: 65.3 kB / 381 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.008204, allocations: 192 / 381 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.008217, allocations: 4.125 kB / 381.1 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.008221, allocations: 4 kB / 381.1 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00012/0.008341, allocations: 35.91 kB / 381.1 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005745/0.008916, allocations: 351.6 kB / 381.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/0.009069, allocations: 66.97 kB / 381.5 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.632e-05/0.009125, allocations: 23.69 kB / 381.5 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/0.009149, allocations: 4 kB / 381.5 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.09e-05/0.00919, allocations: 41.38 kB / 381.6 MB, free: 14.54 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 9.51e-07/0.009191, allocations: 0 / 381.6 MB, free: 14.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.001111/0.0103, allocations: 281.7 kB / 381.8 MB, free: 14.26 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.378e-05/0.01036, allocations: 55.41 kB / 381.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002874/0.01064, allocations: 258.7 kB / 382.1 MB, free: 13.92 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.419e-05/0.0107, allocations: 29.7 kB / 382.2 MB, free: 13.89 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.01083, allocations: 170.8 kB / 382.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.683e-05/0.01088, allocations: 47.58 kB / 382.4 MB, free: 13.67 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.714e-05/0.01095, allocations: 35.38 kB / 382.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003113/0.01126, allocations: 0.5117 MB / 382.9 MB, free: 13.1 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.902e-05/0.01135, allocations: 27.98 kB / 383 MB, free: 13.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.669e-05/0.01143, allocations: 28.11 kB / 383 MB, free: 13.05 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001926/0.01162, allocations: 79.67 kB / 383.1 MB, free: 12.96 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.01163, allocations: 4 kB / 383.1 MB, free: 12.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002745/0.0119, allocations: 137.1 kB / 383.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.01191, allocations: 4 kB / 383.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.01192, allocations: 4 kB / 383.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.01193, allocations: 0 / 383.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.01207, allocations: 23.98 kB / 383.2 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.01207, allocations: 3.938 kB / 383.2 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.667e-05/0.01212, allocations: 11.94 kB / 383.3 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-06/0.01213, allocations: 0 / 383.3 MB, free: 12.78 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 0.0001457/0.01227, allocations: 160.6 kB / 383.4 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.163e-05/0.01233, allocations: 27.84 kB / 383.4 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003706/0.0127, allocations: 147.1 kB / 383.6 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.0127, allocations: 0 / 383.6 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.0127, allocations: 0 / 383.6 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.912e-06/0.01271, allocations: 7.984 kB / 383.6 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009775/0.01369, allocations: 472.9 kB / 384.1 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.01369, allocations: 0 / 384.1 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.123e-05/0.01378, allocations: 27.92 kB / 384.1 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.01379, allocations: 4 kB / 384.1 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.0138, allocations: 11.97 kB / 384.1 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.0138, allocations: 0 / 384.1 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.0138, allocations: 4 kB / 384.1 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003695/0.01417, allocations: 279.5 kB / 384.4 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.268e-05/0.01419, allocations: 19.84 kB / 384.4 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.546e-05/0.01422, allocations: 7.938 kB / 384.4 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.372e-05/0.01429, allocations: 7.984 kB / 384.4 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.599e-05/0.01435, allocations: 15.92 kB / 384.4 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.01436, allocations: 4 kB / 384.4 MB, free: 11.52 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001774/0.01454, allocations: 189.1 kB / 384.6 MB, free: 11.34 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01454, allocations: 4 kB / 384.6 MB, free: 11.33 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002702/0.01481, allocations: 31.92 kB / 384.6 MB, free: 11.3 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.003336/0.01815, allocations: 491.2 kB / 385.1 MB, free: 11.02 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002892/0.01843, allocations: 99.41 kB / 385.2 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.01844, allocations: 0 / 385.2 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000124/0.01856, allocations: 59.59 kB / 385.3 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003394/0.0189, allocations: 20.2 kB / 385.3 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006652/0.01957, allocations: 300.6 kB / 385.6 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001283/0.01969, allocations: 105.2 kB / 385.7 MB, free: 10.4 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.943e-05/0.01977, allocations: 24.45 kB / 385.7 MB, free: 10.38 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.509e-05/0.01983, allocations: 20.5 kB / 385.7 MB, free: 10.36 MB / 362.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01983, allocations: 4 kB / 385.7 MB, free: 10.35 MB / 362.7 MB Notification: Performance of Templates: time 0.005563/0.02539, allocations: 1.611 MB / 387.4 MB, free: 8.758 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.906727007008158]