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.002026/0.002026, 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.002613/0.002613, 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.611/1.611, allocations: 177.1 MB / 204.6 MB, free: 5.566 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.37/0.37, 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.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|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.1.|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.824e-06/1.824e-06, allocations: 0 / 377.3 MB, free: 2.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.119e-05/3.301e-05, allocations: 2.312 kB / 377.3 MB, free: 2.926 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.004617/0.00465, allocations: 1.701 MB / 379 MB, free: 1.211 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001721/0.006371, allocations: 0.5881 MB / 379.6 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.301e-05/0.006444, allocations: 0 / 379.6 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002647/0.006709, allocations: 19.8 kB / 379.6 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004187/0.007127, allocations: 91.48 kB / 379.7 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006286/0.007756, allocations: 171.5 kB / 379.9 MB, free: 348 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002589/0.008015, allocations: 111.6 kB / 380 MB, free: 236 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.008128, allocations: 8 kB / 380 MB, free: 228 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001382/0.008266, allocations: 51.88 kB / 380 MB, free: 176 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/0.008377, allocations: 35.91 kB / 380.1 MB, free: 140 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.804e-05/0.008405, allocations: 4 kB / 380.1 MB, free: 136 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002778/0.008683, allocations: 103.8 kB / 380.2 MB, free: 32 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.28e-05/0.008766, allocations: 23.91 kB / 380.2 MB, free: 8 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 8.078e-05/0.008846, allocations: 23.92 kB / 380.2 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004439/0.00929, allocations: 175.4 kB / 380.4 MB, free: 15.81 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.074e-06/0.009297, allocations: 8 kB / 380.4 MB, free: 15.8 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.18e-06/0.009302, allocations: 4 kB / 380.4 MB, free: 15.8 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.009308, allocations: 0 / 380.4 MB, free: 15.8 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.0008836/0.01019, allocations: 455.5 kB / 380.9 MB, free: 15.32 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.01023, allocations: 8.031 kB / 380.9 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.001e-05/0.01031, allocations: 12.89 kB / 380.9 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003053/0.01062, allocations: 152.9 kB / 381 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.01063, allocations: 4.375 kB / 381 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.961e-05/0.01066, allocations: 4.375 kB / 381 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003301/0.01099, allocations: 119 kB / 381.2 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.01101, allocations: 0 / 381.2 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.01102, allocations: 0 / 381.2 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.01102, allocations: 0 / 381.2 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002745/0.0113, allocations: 43.97 kB / 381.2 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007869/0.01209, allocations: 327.6 kB / 381.5 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002781/0.01236, allocations: 66.97 kB / 381.6 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001727/0.01254, allocations: 39.78 kB / 381.6 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.417e-05/0.01257, allocations: 4 kB / 381.6 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.328e-05/0.01261, allocations: 37.33 kB / 381.7 MB, free: 14.41 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.01261, allocations: 3.938 kB / 381.7 MB, free: 14.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.001603/0.01422, allocations: 269.3 kB / 381.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.115e-05/0.0143, allocations: 77.11 kB / 382 MB, free: 14.04 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003222/0.01462, allocations: 228.3 kB / 382.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.009e-05/0.01465, allocations: 25.7 kB / 382.2 MB, free: 13.77 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001368/0.01479, allocations: 150.8 kB / 382.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.472e-05/0.01485, allocations: 43.75 kB / 382.4 MB, free: 13.58 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.685e-05/0.01495, allocations: 31.38 kB / 382.5 MB, free: 13.54 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003421/0.01529, allocations: 0.5 MB / 383 MB, free: 13.03 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002763/0.01557, allocations: 43.97 kB / 383 MB, free: 12.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003181/0.01589, allocations: 101 kB / 383.1 MB, free: 12.87 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005126/0.0164, allocations: 95.62 kB / 383.2 MB, free: 12.77 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.0164, allocations: 0 / 383.2 MB, free: 12.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006407/0.01704, allocations: 145.8 kB / 383.3 MB, free: 12.62 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.01706, allocations: 8 kB / 383.4 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.01706, allocations: 0 / 383.4 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.01708, allocations: 0 / 383.4 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002384/0.01732, allocations: 24.36 kB / 383.4 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.01733, allocations: 3.984 kB / 383.4 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001487/0.01748, allocations: 23.98 kB / 383.4 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.534e-05/0.01749, allocations: 3.938 kB / 383.4 MB, free: 12.56 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 0.0001766/0.01767, allocations: 164.5 kB / 383.6 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.798e-05/0.01775, allocations: 19.91 kB / 383.6 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007023/0.01845, allocations: 150.3 kB / 383.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.01846, allocations: 4 kB / 383.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.01846, allocations: 0 / 383.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.01847, allocations: 0 / 383.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001171/0.01964, allocations: 445.2 kB / 384.2 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.165e-06/0.01964, allocations: 0 / 384.2 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001997/0.01984, allocations: 27.97 kB / 384.2 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.01984, allocations: 0 / 384.2 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.992e-05/0.01986, allocations: 4 kB / 384.2 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.01986, allocations: 3.938 kB / 384.2 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.164e-06/0.01987, allocations: 7.875 kB / 384.2 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007501/0.02062, allocations: 291.8 kB / 384.5 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.692e-05/0.02065, allocations: 7.953 kB / 384.5 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.207e-05/0.02068, allocations: 0 / 384.5 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001921/0.02087, allocations: 15.98 kB / 384.5 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.201e-05/0.02095, allocations: 15.86 kB / 384.5 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/0.02097, allocations: 4 kB / 384.5 MB, free: 11.34 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002191/0.02119, allocations: 174.1 kB / 384.7 MB, free: 11.18 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.02119, allocations: 0 / 384.7 MB, free: 11.18 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005015/0.02169, allocations: 51.86 kB / 384.8 MB, free: 11.12 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.004452/0.02614, allocations: 0.541 MB / 385.3 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006473/0.02679, allocations: 111.5 kB / 385.4 MB, free: 10.69 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.02679, allocations: 0 / 385.4 MB, free: 10.69 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003147/0.02711, allocations: 71.58 kB / 385.5 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005075/0.02761, allocations: 30.91 kB / 385.5 MB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007516/0.02837, allocations: 245.1 kB / 385.8 MB, free: 10.32 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001411/0.02851, allocations: 92.3 kB / 385.8 MB, free: 10.21 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001616/0.02867, allocations: 28.47 kB / 385.9 MB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.543e-05/0.02876, allocations: 24.48 kB / 385.9 MB, free: 10.16 MB / 362.7 MB Notification: Performance of SimCode: time 8.02e-07/0.02876, allocations: 0 / 385.9 MB, free: 10.16 MB / 362.7 MB Notification: Performance of Templates: time 0.009495/0.03826, allocations: 2.703 MB / 388.6 MB, free: 7.473 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.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: 5.057475753012113]