Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.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.001405/0.001405, allocations: 84.34 kB / 20.96 MB, free: 3.445 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.001827/0.001827, allocations: 165.3 kB / 24.27 MB, free: 140 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.503/1.503, allocations: 177.1 MB / 204.6 MB, free: 5.605 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.3377/0.3377, allocations: 34.26 MB / 295.3 MB, free: 0.6758 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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 377.3 MB, free: 2.961 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.072e-05/3.244e-05, allocations: 2.312 kB / 377.3 MB, free: 2.957 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.003311/0.003343, allocations: 1.665 MB / 379 MB, free: 1.281 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002178/0.005521, allocations: 1.286 MB / 380.3 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.354e-05/0.005584, allocations: 0 / 380.3 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002446/0.005829, allocations: 23.69 kB / 380.3 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003808/0.00621, allocations: 91.55 kB / 380.4 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004623/0.006672, allocations: 175.5 kB / 380.5 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001878/0.00686, allocations: 87.69 kB / 380.6 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.00696, allocations: 11.98 kB / 380.6 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.576e-05/0.007056, allocations: 39.91 kB / 380.7 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001184/0.007174, allocations: 27.91 kB / 380.7 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.008e-05/0.007194, allocations: 8 kB / 380.7 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002037/0.007398, allocations: 99.75 kB / 380.8 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.345e-05/0.007462, allocations: 19.91 kB / 380.8 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.031e-05/0.007502, allocations: 16 kB / 380.8 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003087/0.007811, allocations: 159.4 kB / 381 MB, free: 15.24 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.007814, allocations: 0 / 381 MB, free: 15.24 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.007815, allocations: 0 / 381 MB, free: 15.24 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.00782, allocations: 0 / 381 MB, free: 15.24 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.0006121/0.008432, allocations: 333.7 kB / 381.3 MB, free: 14.89 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.008474, allocations: 15.97 kB / 381.3 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.266e-05/0.008537, allocations: 16.88 kB / 381.4 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002231/0.00876, allocations: 137.5 kB / 381.5 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.008774, allocations: 4.375 kB / 381.5 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.394e-05/0.008797, allocations: 4.375 kB / 381.5 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002476/0.009045, allocations: 101.6 kB / 381.6 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.00906, allocations: 4.125 kB / 381.6 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.009074, allocations: 4.125 kB / 381.6 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.009079, allocations: 4 kB / 381.6 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001548/0.009234, allocations: 39.95 kB / 381.6 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004718/0.009706, allocations: 244.5 kB / 381.9 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000159/0.009865, allocations: 46.55 kB / 381.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.153e-05/0.009956, allocations: 32.81 kB / 382 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.525e-05/0.009981, allocations: 0 / 382 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.852e-05/0.01002, allocations: 34.56 kB / 382 MB, free: 14.12 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 3.116e-06/0.01002, allocations: 3.984 kB / 382 MB, free: 14.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0009437/0.01097, allocations: 245.2 kB / 382.2 MB, free: 13.87 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.883e-05/0.01104, allocations: 77.11 kB / 382.3 MB, free: 13.77 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001886/0.01122, allocations: 143.4 kB / 382.5 MB, free: 13.62 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/0.01125, allocations: 29.7 kB / 382.5 MB, free: 13.59 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.675e-05/0.01133, allocations: 96.12 kB / 382.6 MB, free: 13.49 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.381e-05/0.01136, allocations: 23.75 kB / 382.6 MB, free: 13.47 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.495e-05/0.01141, allocations: 29.7 kB / 382.6 MB, free: 13.43 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001862/0.0116, allocations: 322.8 kB / 382.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001339/0.01173, allocations: 35.95 kB / 383 MB, free: 13.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001736/0.01191, allocations: 83.45 kB / 383.1 MB, free: 12.98 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002529/0.01216, allocations: 88.73 kB / 383.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.01216, allocations: 4.031 kB / 383.2 MB, free: 12.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003307/0.01249, allocations: 125.6 kB / 383.3 MB, free: 12.76 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.01251, allocations: 4 kB / 383.3 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.758e-06/0.01251, allocations: 0 / 383.3 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.01253, allocations: 0 / 383.3 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.01266, allocations: 23.97 kB / 383.3 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.01266, allocations: 0 / 383.3 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.347e-05/0.01275, allocations: 16 kB / 383.3 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.01276, allocations: 7.922 kB / 383.3 MB, free: 12.71 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 (7): * Single equations (assignments): 7 * 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.0001174/0.01288, allocations: 129.7 kB / 383.5 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.106e-05/0.01292, allocations: 7.953 kB / 383.5 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003792/0.0133, allocations: 134.4 kB / 383.6 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.0133, allocations: 4 kB / 383.6 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.01331, allocations: 0 / 383.6 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.01331, allocations: 4 kB / 383.6 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006298/0.01394, allocations: 350 kB / 383.9 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.01394, allocations: 4 kB / 383.9 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.972e-05/0.01403, allocations: 15.98 kB / 384 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.01403, allocations: 0 / 384 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.485e-06/0.01404, allocations: 4 kB / 384 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.01404, allocations: 3.984 kB / 384 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.01404, allocations: 4.469 kB / 384 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000398/0.01444, allocations: 235.3 kB / 384.2 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.954e-05/0.01446, allocations: 7.953 kB / 384.2 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.336e-05/0.01449, allocations: 4 kB / 384.2 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.0146, allocations: 7.984 kB / 384.2 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.8e-05/0.01465, allocations: 7.984 kB / 384.2 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-06/0.01466, allocations: 4 kB / 384.2 MB, free: 11.73 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001127/0.01477, allocations: 113.9 kB / 384.3 MB, free: 11.62 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01477, allocations: 0 / 384.3 MB, free: 11.62 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003138/0.01509, allocations: 51.8 kB / 384.4 MB, free: 11.57 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 (7): * Single equations (assignments): 7 * 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.002274/0.01736, allocations: 0.5185 MB / 384.9 MB, free: 11.26 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003487/0.01771, allocations: 87.92 kB / 385 MB, free: 11.18 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.01771, allocations: 0 / 385 MB, free: 11.18 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001444/0.01785, allocations: 51.89 kB / 385.1 MB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000391/0.01825, allocations: 27.88 kB / 385.1 MB, free: 11.1 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006418/0.01889, allocations: 227.2 kB / 385.3 MB, free: 10.85 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001048/0.01899, allocations: 83.31 kB / 385.4 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001005/0.01909, allocations: 29.02 kB / 385.4 MB, free: 10.72 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.361e-05/0.01916, allocations: 24.48 kB / 385.4 MB, free: 10.7 MB / 362.7 MB Notification: Performance of SimCode: time 3.8e-07/0.01916, allocations: 0 / 385.4 MB, free: 10.7 MB / 362.7 MB Notification: Performance of Templates: time 0.005792/0.02495, allocations: 1.995 MB / 387.4 MB, free: 8.715 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.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.828789429971948]