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.001515/0.001515, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001117/0.001117, allocations: 161 kB / 24.56 MB, free: 16 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.039/1.039, allocations: 177.1 MB / 205 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.2543/0.2543, allocations: 34.27 MB / 295.7 MB, free: 0.7656 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.924e-06/1.924e-06, allocations: 0 / 378.1 MB, free: 2.637 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.693e-05/2.886e-05, allocations: 2.312 kB / 378.1 MB, free: 2.633 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.002405/0.002434, allocations: 1.732 MB / 379.8 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009488/0.003383, allocations: 0.588 MB / 380.4 MB, free: 300 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.397e-05/0.003467, allocations: 0 / 380.4 MB, free: 300 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002841/0.003751, allocations: 27.73 kB / 380.4 MB, free: 272 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000322/0.004073, allocations: 91.48 kB / 380.5 MB, free: 180 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003618/0.004434, allocations: 171.6 kB / 380.7 MB, free: 8 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001915/0.004626, allocations: 107.6 kB / 380.8 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.004732, allocations: 8 kB / 380.8 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003493/0.005081, allocations: 55.88 kB / 380.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.55e-05/0.005157, allocations: 31.91 kB / 380.9 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.005176, allocations: 7.938 kB / 380.9 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001787/0.005354, allocations: 103.8 kB / 381 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.052e-05/0.005415, allocations: 23.91 kB / 381 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.801e-05/0.005453, allocations: 23.92 kB / 381 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002608/0.005714, allocations: 155.5 kB / 381.2 MB, free: 15.5 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.005717, allocations: 4 kB / 381.2 MB, free: 15.5 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.005719, allocations: 0 / 381.2 MB, free: 15.5 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.005724, allocations: 3.938 kB / 381.2 MB, free: 15.49 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.0004791/0.006204, allocations: 459.8 kB / 381.6 MB, free: 15.01 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.006239, allocations: 8.031 kB / 381.6 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.334e-05/0.006292, allocations: 16.88 kB / 381.7 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001716/0.006464, allocations: 145 kB / 381.8 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.006475, allocations: 384 / 381.8 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.903e-05/0.006505, allocations: 8.375 kB / 381.8 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001986/0.006703, allocations: 119.8 kB / 381.9 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.006714, allocations: 3.938 kB / 381.9 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.006725, allocations: 0 / 381.9 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.006733, allocations: 0 / 381.9 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.473e-05/0.006778, allocations: 11.98 kB / 381.9 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004474/0.007225, allocations: 319.6 kB / 382.2 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001365/0.007362, allocations: 54.92 kB / 382.3 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.482e-05/0.007397, allocations: 15.69 kB / 382.3 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.27e-05/0.007419, allocations: 7.938 kB / 382.3 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.007447, allocations: 37.39 kB / 382.4 MB, free: 14.16 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.614e-06/0.007449, allocations: 0 / 382.4 MB, free: 14.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005281/0.007977, allocations: 161.4 kB / 382.5 MB, free: 14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/0.008018, allocations: 89.05 kB / 382.6 MB, free: 13.89 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.008147, allocations: 204.1 kB / 382.8 MB, free: 13.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/0.00816, allocations: 29.7 kB / 382.8 MB, free: 13.64 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.691e-05/0.008216, allocations: 150.8 kB / 383 MB, free: 13.49 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.58e-05/0.008242, allocations: 35.8 kB / 383 MB, free: 13.46 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-05/0.008285, allocations: 31.38 kB / 383 MB, free: 13.42 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.008408, allocations: 0.5 MB / 383.5 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.62e-05/0.008444, allocations: 4 kB / 383.6 MB, free: 12.9 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.618e-05/0.0085, allocations: 61.06 kB / 383.6 MB, free: 12.83 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.831e-05/0.008569, allocations: 43.61 kB / 383.7 MB, free: 12.78 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.00857, allocations: 384 / 383.7 MB, free: 12.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001187/0.008689, allocations: 81.86 kB / 383.7 MB, free: 12.7 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.008703, allocations: 4 kB / 383.7 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.008708, allocations: 0 / 383.7 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.008724, allocations: 11.94 kB / 383.8 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.008835, allocations: 32.02 kB / 383.8 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.008841, allocations: 3.984 kB / 383.8 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.558e-05/0.008887, allocations: 11.98 kB / 383.8 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.856e-06/0.008896, allocations: 4 kB / 383.8 MB, free: 12.63 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.249e-05/0.008968, allocations: 164.5 kB / 384 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.745e-05/0.008996, allocations: 15.91 kB / 384 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001528/0.009148, allocations: 90.38 kB / 384.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.738e-06/0.009152, allocations: 4 kB / 384.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.009155, allocations: 0 / 384.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.009158, allocations: 0 / 384.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003188/0.009477, allocations: 369.3 kB / 384.4 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.009478, allocations: 0 / 384.4 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.203e-05/0.00955, allocations: 35.91 kB / 384.5 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.009553, allocations: 3.938 kB / 384.5 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.009562, allocations: 0 / 384.5 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.009565, allocations: 4 kB / 384.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.009569, allocations: 3.938 kB / 384.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000154/0.009723, allocations: 227.8 kB / 384.7 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.412e-05/0.009737, allocations: 7.953 kB / 384.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.009755, allocations: 7.984 kB / 384.7 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.846e-05/0.009814, allocations: 15.98 kB / 384.7 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.645e-05/0.00987, allocations: 11.92 kB / 384.7 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.009878, allocations: 4 kB / 384.7 MB, free: 11.6 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.611e-05/0.009954, allocations: 161.9 kB / 384.9 MB, free: 11.45 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009954, allocations: 0 / 384.9 MB, free: 11.45 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002316/0.01019, allocations: 51.86 kB / 385 MB, free: 11.39 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.001154/0.01134, allocations: 0.4936 MB / 385.4 MB, free: 11.08 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001647/0.0115, allocations: 59.53 kB / 385.5 MB, free: 11.02 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.01151, allocations: 0 / 385.5 MB, free: 11.02 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.476e-05/0.01155, allocations: 31.61 kB / 385.5 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002397/0.01179, allocations: 38.8 kB / 385.6 MB, free: 10.95 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003941/0.01218, allocations: 229.1 kB / 385.8 MB, free: 10.7 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.821e-05/0.01223, allocations: 75.33 kB / 385.9 MB, free: 10.6 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.791e-05/0.0123, allocations: 24.47 kB / 385.9 MB, free: 10.58 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.902e-05/0.01235, allocations: 16.5 kB / 385.9 MB, free: 10.56 MB / 362.7 MB Notification: Performance of SimCode: time 1.232e-06/0.01235, allocations: 4 kB / 385.9 MB, free: 10.56 MB / 362.7 MB Notification: Performance of Templates: time 0.005126/0.01748, allocations: 2.967 MB / 388.9 MB, free: 7.613 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.141824617050588]