Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.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.001145/0.001145, 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.001161/0.001161, 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 1.011/1.011, allocations: 177.1 MB / 205.3 MB, free: 5.648 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.2696/0.2696, allocations: 34.26 MB / 296 MB, free: 0.7734 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.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 378 MB, free: 2.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.588e-05/2.745e-05, allocations: 2.312 kB / 378 MB, free: 2.969 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.002621/0.002648, allocations: 1.744 MB / 379.8 MB, free: 1.211 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008442/0.003493, allocations: 0.5841 MB / 380.4 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.428e-05/0.003567, allocations: 0 / 380.4 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002275/0.003794, allocations: 19.8 kB / 380.4 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003044/0.004099, allocations: 95.48 kB / 380.5 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003758/0.004475, allocations: 167.6 kB / 380.6 MB, free: 352 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001892/0.004664, allocations: 107.6 kB / 380.7 MB, free: 244 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.004775, allocations: 12 kB / 380.8 MB, free: 232 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.769e-05/0.004863, allocations: 51.81 kB / 380.8 MB, free: 180 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.367e-05/0.004937, allocations: 35.91 kB / 380.8 MB, free: 144 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.83e-05/0.004955, allocations: 8 kB / 380.8 MB, free: 136 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001815/0.005137, allocations: 99.81 kB / 380.9 MB, free: 36 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.557e-05/0.005202, allocations: 23.91 kB / 381 MB, free: 12 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.312e-05/0.005255, allocations: 23.92 kB / 381 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002698/0.005525, allocations: 159.4 kB / 381.1 MB, free: 15.83 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.005528, allocations: 4 kB / 381.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.005529, allocations: 0 / 381.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.005534, allocations: 0 / 381.2 MB, free: 15.83 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004747/0.006009, allocations: 455.8 kB / 381.6 MB, free: 15.35 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.006048, allocations: 19.97 kB / 381.6 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.478e-05/0.006103, allocations: 8.891 kB / 381.6 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001761/0.006279, allocations: 148 kB / 381.8 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.006294, allocations: 8.375 kB / 381.8 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.655e-05/0.00632, allocations: 4.375 kB / 381.8 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000186/0.006506, allocations: 115.8 kB / 381.9 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.006517, allocations: 0 / 381.9 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.006529, allocations: 4 kB / 381.9 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.006538, allocations: 4 kB / 381.9 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.274e-05/0.006581, allocations: 11.92 kB / 381.9 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000399/0.00698, allocations: 319.6 kB / 382.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001064/0.007086, allocations: 50.98 kB / 382.3 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.146e-05/0.007118, allocations: 15.62 kB / 382.3 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.415e-05/0.007142, allocations: 8.125 kB / 382.3 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.007163, allocations: 33.39 kB / 382.3 MB, free: 14.5 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.343e-06/0.007165, allocations: 0 / 382.3 MB, free: 14.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005333/0.007698, allocations: 169.3 kB / 382.5 MB, free: 14.33 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/0.007741, allocations: 77.11 kB / 382.6 MB, free: 14.24 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.007875, allocations: 208.9 kB / 382.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.00789, allocations: 29.7 kB / 382.8 MB, free: 13.98 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.276e-05/0.007953, allocations: 146.8 kB / 383 MB, free: 13.84 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.987e-05/0.007983, allocations: 35.8 kB / 383 MB, free: 13.8 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.578e-05/0.008029, allocations: 35.31 kB / 383 MB, free: 13.76 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.008144, allocations: 0.4961 MB / 383.5 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.698e-05/0.008181, allocations: 8.375 kB / 383.5 MB, free: 13.24 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.542e-05/0.008246, allocations: 61.06 kB / 383.6 MB, free: 13.17 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.93e-05/0.008325, allocations: 43.7 kB / 383.6 MB, free: 13.12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.008327, allocations: 4 kB / 383.6 MB, free: 13.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001205/0.008448, allocations: 81.86 kB / 383.7 MB, free: 13.03 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.008463, allocations: 9.875 kB / 383.7 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.008468, allocations: 0 / 383.7 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.008481, allocations: 0 / 383.7 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.008588, allocations: 27.92 kB / 383.7 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.008593, allocations: 3.984 kB / 383.8 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.637e-05/0.00864, allocations: 15.98 kB / 383.8 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.273e-06/0.008647, allocations: 4 kB / 383.8 MB, free: 12.97 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 (10): * Single equations (assignments): 10 * 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.29e-05/0.00872, allocations: 168.5 kB / 383.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.853e-05/0.008748, allocations: 19.84 kB / 384 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001468/0.008895, allocations: 94.41 kB / 384 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.008898, allocations: 3.984 kB / 384.1 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.008901, allocations: 0 / 384.1 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.008905, allocations: 0 / 384.1 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003248/0.009229, allocations: 373.3 kB / 384.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.009232, allocations: 0 / 384.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.629e-05/0.009308, allocations: 27.92 kB / 384.4 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.009313, allocations: 7.984 kB / 384.5 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.009321, allocations: 0 / 384.5 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.009324, allocations: 0 / 384.5 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.009327, allocations: 3.938 kB / 384.5 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001757/0.009502, allocations: 231.8 kB / 384.7 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.359e-05/0.009516, allocations: 7.953 kB / 384.7 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/0.009534, allocations: 4 kB / 384.7 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.312e-05/0.009598, allocations: 11.98 kB / 384.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.924e-05/0.009657, allocations: 19.91 kB / 384.7 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.009662, allocations: 0 / 384.7 MB, free: 11.94 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.559e-05/0.009748, allocations: 169.5 kB / 384.9 MB, free: 11.77 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009748, allocations: 0 / 384.9 MB, free: 11.77 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002315/0.00998, allocations: 47.86 kB / 384.9 MB, free: 11.73 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 (9): * Single equations (assignments): 9 * 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.001058/0.01104, allocations: 0.4953 MB / 385.4 MB, free: 11.41 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002033/0.01124, allocations: 55.59 kB / 385.5 MB, free: 11.35 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.01124, allocations: 0 / 385.5 MB, free: 11.35 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.851e-05/0.01129, allocations: 35.61 kB / 385.5 MB, free: 11.31 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002547/0.01155, allocations: 26.5 kB / 385.5 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004344/0.01198, allocations: 237.1 kB / 385.8 MB, free: 11.03 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.189e-05/0.01202, allocations: 63.34 kB / 385.8 MB, free: 10.95 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.223e-05/0.0121, allocations: 28.45 kB / 385.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.456e-05/0.01215, allocations: 16.5 kB / 385.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of SimCode: time 1.052e-06/0.01215, allocations: 0 / 385.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of Templates: time 0.004702/0.01685, allocations: 2.723 MB / 388.6 MB, free: 8.195 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.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.3768263100646436]