Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.001883/0.001883, allocations: 95.61 kB / 20.96 MB, free: 3.449 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.001994/0.001994, allocations: 161.3 kB / 24.27 MB, free: 144 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.569/1.569, allocations: 177.1 MB / 204.6 MB, free: 5.609 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.3885/0.3885, allocations: 34.27 MB / 295.3 MB, free: 0.6719 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.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 377.4 MB, free: 2.879 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.189e-05/3.375e-05, allocations: 2.312 kB / 377.4 MB, free: 2.875 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.003776/0.003809, allocations: 1.75 MB / 379.1 MB, free: 1.113 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002236/0.006046, allocations: 0.9937 MB / 380.1 MB, free: 116 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.284e-05/0.006119, allocations: 4 kB / 380.1 MB, free: 112 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003778/0.006496, allocations: 95.56 kB / 380.2 MB, free: 16 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004134/0.00691, allocations: 119.5 kB / 380.3 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002376/0.007147, allocations: 87.53 kB / 380.4 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002457/0.007393, allocations: 131.5 kB / 380.6 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001536/0.007547, allocations: 7.984 kB / 380.6 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001738/0.007721, allocations: 67.81 kB / 380.6 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001776/0.007898, allocations: 63.86 kB / 380.7 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.265e-05/0.007931, allocations: 4 kB / 380.7 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001791/0.00811, allocations: 63.91 kB / 380.8 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001029/0.008213, allocations: 35.84 kB / 380.8 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.612e-05/0.008279, allocations: 15.94 kB / 380.8 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003454/0.008624, allocations: 147.5 kB / 381 MB, free: 15.29 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.008629, allocations: 0 / 381 MB, free: 15.29 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.008631, allocations: 0 / 381 MB, free: 15.29 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.008639, allocations: 0 / 381 MB, free: 15.29 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000866/0.009505, allocations: 471.3 kB / 381.4 MB, free: 14.79 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.009552, allocations: 8.031 kB / 381.4 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.487e-05/0.009627, allocations: 16.84 kB / 381.4 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000332/0.009959, allocations: 169.1 kB / 381.6 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.135e-05/0.00998, allocations: 8.375 kB / 381.6 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.034e-05/0.01001, allocations: 4.359 kB / 381.6 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.01019, allocations: 58.23 kB / 381.7 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.01021, allocations: 3.938 kB / 381.7 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.01022, allocations: 0 / 381.7 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.01023, allocations: 4 kB / 381.7 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.991e-05/0.01032, allocations: 19.98 kB / 381.7 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005923/0.01091, allocations: 311.7 kB / 382 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003235/0.01124, allocations: 74.97 kB / 382.1 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.286e-05/0.01132, allocations: 23.66 kB / 382.1 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.01134, allocations: 12.12 kB / 382.1 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001854/0.01152, allocations: 69.05 kB / 382.2 MB, free: 13.92 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.01152, allocations: 0 / 382.2 MB, free: 13.92 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0009952/0.01252, allocations: 265.1 kB / 382.4 MB, free: 13.66 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.931e-05/0.01258, allocations: 51.41 kB / 382.5 MB, free: 13.59 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003177/0.0129, allocations: 275.1 kB / 382.8 MB, free: 13.31 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.624e-05/0.01292, allocations: 29.7 kB / 382.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001532/0.01308, allocations: 162.9 kB / 382.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.82e-05/0.01314, allocations: 39.69 kB / 383 MB, free: 13.07 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.241e-05/0.01322, allocations: 39.36 kB / 383 MB, free: 13.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003661/0.01358, allocations: 0.5118 MB / 383.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.029e-05/0.01367, allocations: 35.98 kB / 383.6 MB, free: 12.46 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001047/0.01378, allocations: 54.61 kB / 383.6 MB, free: 12.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000173/0.01395, allocations: 87.3 kB / 383.7 MB, free: 12.31 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.01395, allocations: 0 / 383.7 MB, free: 12.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002927/0.01424, allocations: 133.5 kB / 383.8 MB, free: 12.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/0.01427, allocations: 7.984 kB / 383.8 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.01428, allocations: 0 / 383.8 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.556e-05/0.0143, allocations: 8.031 kB / 383.9 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.879e-05/0.01439, allocations: 16 kB / 383.9 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.0144, allocations: 0 / 383.9 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.385e-05/0.01445, allocations: 7.984 kB / 383.9 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.377e-05/0.01447, allocations: 8 kB / 383.9 MB, free: 12.13 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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.0001685/0.01463, allocations: 164.5 kB / 384 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.399e-05/0.01468, allocations: 19.84 kB / 384.1 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003629/0.01504, allocations: 155.2 kB / 384.2 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.267e-06/0.01504, allocations: 0 / 384.2 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.01505, allocations: 0 / 384.2 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.01505, allocations: 0 / 384.2 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007586/0.01581, allocations: 484.5 kB / 384.7 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.01581, allocations: 0 / 384.7 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.18e-05/0.01588, allocations: 19.98 kB / 384.7 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.01588, allocations: 0 / 384.7 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/0.01589, allocations: 4 kB / 384.7 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.01589, allocations: 0 / 384.7 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.376e-06/0.0159, allocations: 7.938 kB / 384.7 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004011/0.0163, allocations: 303.1 kB / 385 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.77e-05/0.01633, allocations: 11.91 kB / 385 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.341e-05/0.01636, allocations: 12.06 kB / 385 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.094e-05/0.01644, allocations: 0 / 385 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.054e-05/0.01649, allocations: 11.92 kB / 385.1 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.606e-05/0.01651, allocations: 15.98 kB / 385.1 MB, free: 10.85 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001793/0.01669, allocations: 183.2 kB / 385.2 MB, free: 10.67 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01669, allocations: 0 / 385.2 MB, free: 10.67 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002754/0.01697, allocations: 35.92 kB / 385.3 MB, free: 10.64 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.003917/0.02088, allocations: 0.5415 MB / 385.8 MB, free: 10.33 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003984/0.02128, allocations: 99.52 kB / 385.9 MB, free: 10.23 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.02129, allocations: 0 / 385.9 MB, free: 10.23 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001219/0.02141, allocations: 47.61 kB / 386 MB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004639/0.02187, allocations: 31.73 kB / 386 MB, free: 10.15 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000709/0.02258, allocations: 289.2 kB / 386.3 MB, free: 9.836 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000136/0.02272, allocations: 105.9 kB / 386.4 MB, free: 9.711 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.131e-05/0.02278, allocations: 20.64 kB / 386.4 MB, free: 9.691 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.367e-05/0.02283, allocations: 24.42 kB / 386.4 MB, free: 9.668 MB / 362.7 MB Notification: Performance of SimCode: time 9.42e-07/0.02283, allocations: 0 / 386.4 MB, free: 9.668 MB / 362.7 MB Notification: Performance of Templates: time 0.00635/0.02918, allocations: 2.114 MB / 388.5 MB, free: 7.578 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.146324607077986]