Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.00149/0.00149, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001188/0.001188, allocations: 169.1 kB / 24.91 MB, free: 9.199 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.021/1.021, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2381/0.2381, allocations: 32.81 MB / 294.6 MB, free: 1.246 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 323.3 MB, free: 9.629 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.169e-05/2.318e-05, allocations: 5.297 kB / 323.3 MB, free: 9.625 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.002262/0.002285, allocations: 1.833 MB / 325.1 MB, free: 7.777 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001639/0.003923, allocations: 1.808 MB / 326.9 MB, free: 5.961 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.136e-05/0.003995, allocations: 4 kB / 326.9 MB, free: 5.957 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002388/0.004233, allocations: 55.56 kB / 327 MB, free: 5.902 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003145/0.004548, allocations: 155.2 kB / 327.2 MB, free: 5.75 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001585/0.004707, allocations: 103.6 kB / 327.3 MB, free: 5.648 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001817/0.004888, allocations: 207.3 kB / 327.5 MB, free: 5.445 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.59e-05/0.004924, allocations: 6.469 kB / 327.5 MB, free: 5.441 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001119/0.005036, allocations: 115.6 kB / 327.6 MB, free: 5.328 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/0.005152, allocations: 64.5 kB / 327.6 MB, free: 5.266 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.774e-05/0.005169, allocations: 12 kB / 327.6 MB, free: 5.254 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001351/0.005305, allocations: 99.88 kB / 327.7 MB, free: 5.156 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.03e-05/0.005355, allocations: 39.84 kB / 327.8 MB, free: 5.117 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.642e-05/0.005391, allocations: 31.86 kB / 327.8 MB, free: 5.086 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002123/0.005604, allocations: 215.2 kB / 328 MB, free: 4.875 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.716e-06/0.005606, allocations: 4 kB / 328 MB, free: 4.871 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.005607, allocations: 0 / 328 MB, free: 4.871 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.885e-06/0.00561, allocations: 0 / 328 MB, free: 4.871 MB / 298.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.0004038/0.006014, allocations: 408.7 kB / 328.4 MB, free: 4.449 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.699e-05/0.006041, allocations: 8.031 kB / 328.4 MB, free: 4.441 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.307e-05/0.006074, allocations: 16.92 kB / 328.5 MB, free: 4.426 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001767/0.00625, allocations: 181.4 kB / 328.6 MB, free: 4.223 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.006263, allocations: 384 / 328.6 MB, free: 4.223 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.187e-05/0.006275, allocations: 4.375 kB / 328.6 MB, free: 4.219 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/0.006406, allocations: 168.5 kB / 328.8 MB, free: 4.02 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.182e-06/0.006412, allocations: 7.875 kB / 328.8 MB, free: 4.012 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.00642, allocations: 7.984 kB / 328.8 MB, free: 4.004 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.006424, allocations: 0 / 328.8 MB, free: 4.004 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.997e-05/0.006454, allocations: 21.64 kB / 328.8 MB, free: 3.98 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.57e-05/0.00654, allocations: 86.39 kB / 328.9 MB, free: 3.875 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.826e-05/0.006638, allocations: 74.78 kB / 329 MB, free: 3.781 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.756e-05/0.006665, allocations: 25.7 kB / 329 MB, free: 3.75 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.019e-05/0.006676, allocations: 4 kB / 329 MB, free: 3.746 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.393e-05/0.00677, allocations: 99.78 kB / 329.1 MB, free: 3.629 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 7.41e-07/0.00677, allocations: 0 / 329.1 MB, free: 3.629 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001305/0.006901, allocations: 99.23 kB / 329.2 MB, free: 3.523 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/0.006942, allocations: 132.5 kB / 329.3 MB, free: 3.363 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.007075, allocations: 213.1 kB / 329.6 MB, free: 3.137 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.00709, allocations: 33.7 kB / 329.6 MB, free: 3.098 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.883e-05/0.007118, allocations: 100.6 kB / 329.7 MB, free: 2.996 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.794e-05/0.007156, allocations: 35.77 kB / 329.7 MB, free: 2.961 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.582e-05/0.007192, allocations: 29.69 kB / 329.7 MB, free: 2.926 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.049e-05/0.007263, allocations: 330.8 kB / 330.1 MB, free: 2.594 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.999e-05/0.007283, allocations: 14.81 kB / 330.1 MB, free: 2.578 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.872e-05/0.007331, allocations: 108.5 kB / 330.2 MB, free: 2.441 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.452e-05/0.007386, allocations: 64.38 kB / 330.3 MB, free: 2.363 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.007388, allocations: 0 / 330.3 MB, free: 2.363 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 8.22e-05/0.00747, allocations: 99.22 kB / 330.4 MB, free: 2.258 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/0.00748, allocations: 8 kB / 330.4 MB, free: 2.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.007485, allocations: 3.984 kB / 330.4 MB, free: 2.246 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.007496, allocations: 0 / 330.4 MB, free: 2.246 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.09e-05/0.007557, allocations: 19.94 kB / 330.4 MB, free: 2.227 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.007562, allocations: 7.938 kB / 330.4 MB, free: 2.219 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.142e-05/0.007604, allocations: 15.94 kB / 330.4 MB, free: 2.203 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-06/0.00761, allocations: 4 kB / 330.4 MB, free: 2.199 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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 6.114e-05/0.007671, allocations: 116.7 kB / 330.5 MB, free: 2.074 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.799e-05/0.007689, allocations: 15.98 kB / 330.5 MB, free: 2.059 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.657e-05/0.007786, allocations: 98.8 kB / 330.6 MB, free: 1.957 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.007788, allocations: 4 kB / 330.6 MB, free: 1.953 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.225e-06/0.00779, allocations: 3.938 kB / 330.6 MB, free: 1.949 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.007793, allocations: 0 / 330.6 MB, free: 1.949 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.172e-05/0.007875, allocations: 105.7 kB / 330.7 MB, free: 1.828 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.007876, allocations: 0 / 330.7 MB, free: 1.828 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.092e-05/0.007897, allocations: 11.98 kB / 330.8 MB, free: 1.816 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.007898, allocations: 0 / 330.8 MB, free: 1.816 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.007905, allocations: 8 kB / 330.8 MB, free: 1.809 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.007906, allocations: 0 / 330.8 MB, free: 1.809 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.007908, allocations: 7.938 kB / 330.8 MB, free: 1.801 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.656e-05/0.007995, allocations: 123.3 kB / 330.9 MB, free: 1.656 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.99e-05/0.008015, allocations: 19.84 kB / 330.9 MB, free: 1.637 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.889e-05/0.008034, allocations: 8 kB / 330.9 MB, free: 1.629 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.162e-05/0.008065, allocations: 11.98 kB / 330.9 MB, free: 1.617 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.885e-05/0.008094, allocations: 7.984 kB / 330.9 MB, free: 1.609 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.008105, allocations: 7.938 kB / 331 MB, free: 1.602 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.945e-05/0.008164, allocations: 78.23 kB / 331 MB, free: 1.523 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008164, allocations: 0 / 331 MB, free: 1.523 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001569/0.008321, allocations: 59.86 kB / 331.1 MB, free: 1.465 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001177/0.009499, allocations: 0.6418 MB / 331.7 MB, free: 1.137 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.883e-05/0.009598, allocations: 56.77 kB / 331.8 MB, free: 1.078 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.009602, allocations: 4 kB / 331.8 MB, free: 1.074 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.452e-05/0.009636, allocations: 29.16 kB / 331.8 MB, free: 1.043 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001656/0.009802, allocations: 73.58 kB / 331.9 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003336/0.01014, allocations: 272.9 kB / 332.2 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.716e-05/0.01017, allocations: 88.05 kB / 332.2 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.517e-05/0.01023, allocations: 29.45 kB / 332.3 MB, free: 0.543 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001442/0.01037, allocations: 91.34 kB / 332.4 MB, free: 464 kB / 298.7 MB Notification: Performance of SimCode: time 7.71e-07/0.01037, allocations: 0 / 332.4 MB, free: 464 kB / 298.7 MB Notification: Performance of Templates: time 0.004884/0.01526, allocations: 3.734 MB / 336.1 MB, free: 12.79 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.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: 2.9852907871827483]