Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.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.002181/0.002181, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.002847/0.002847, allocations: 161.7 kB / 24.27 MB, free: 176 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.501/1.501, 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.3578/0.3578, allocations: 34.26 MB / 295.3 MB, free: 0.668 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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 377.4 MB, free: 2.883 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.828e-05/3.016e-05, allocations: 2.312 kB / 377.4 MB, free: 2.879 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003935/0.003965, allocations: 1.903 MB / 379.3 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002476/0.00644, allocations: 1.013 MB / 380.3 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001166/0.006557, allocations: 3.938 kB / 380.3 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003869/0.006944, allocations: 51.62 kB / 380.3 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003968/0.007341, allocations: 95.47 kB / 380.4 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002805/0.007621, allocations: 99.58 kB / 380.5 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002693/0.00789, allocations: 155.5 kB / 380.7 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.008017, allocations: 21.73 kB / 380.7 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001399/0.008157, allocations: 71.83 kB / 380.8 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001111/0.008268, allocations: 39.81 kB / 380.8 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.708e-05/0.008295, allocations: 8 kB / 380.8 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001227/0.008418, allocations: 51.91 kB / 380.9 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.72e-05/0.008485, allocations: 23.92 kB / 380.9 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.1e-05/0.008556, allocations: 35.84 kB / 380.9 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003062/0.008862, allocations: 151.5 kB / 381.1 MB, free: 15.15 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.008866, allocations: 0 / 381.1 MB, free: 15.15 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.008867, allocations: 0 / 381.1 MB, free: 15.15 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.008872, allocations: 0 / 381.1 MB, free: 15.15 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008452/0.009717, allocations: 411.1 kB / 381.5 MB, free: 14.71 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.009764, allocations: 12.03 kB / 381.5 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.363e-05/0.009848, allocations: 20.8 kB / 381.5 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004225/0.01027, allocations: 174.3 kB / 381.7 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.01029, allocations: 8.375 kB / 381.7 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.61e-05/0.01033, allocations: 8.359 kB / 381.7 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003116/0.01064, allocations: 138.5 kB / 381.8 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/0.01066, allocations: 11.81 kB / 381.8 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.043e-05/0.01068, allocations: 4 kB / 381.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.01068, allocations: 0 / 381.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001821/0.01086, allocations: 47.97 kB / 381.9 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007262/0.01159, allocations: 464.6 kB / 382.3 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003959/0.01199, allocations: 78.67 kB / 382.4 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001182/0.0121, allocations: 44.77 kB / 382.5 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.01213, allocations: 4 kB / 382.5 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002557/0.01238, allocations: 101.1 kB / 382.6 MB, free: 13.5 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.01238, allocations: 0 / 382.6 MB, free: 13.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.000508/0.01289, allocations: 161.5 kB / 382.7 MB, free: 13.34 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.414e-05/0.01295, allocations: 51.41 kB / 382.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002571/0.0132, allocations: 203.7 kB / 383 MB, free: 13.07 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.68e-05/0.01323, allocations: 25.7 kB / 383 MB, free: 13.04 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.01334, allocations: 120 kB / 383.1 MB, free: 12.91 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.615e-05/0.01338, allocations: 27.78 kB / 383.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.829e-05/0.01344, allocations: 37.66 kB / 383.2 MB, free: 12.84 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002002/0.01365, allocations: 330.8 kB / 383.5 MB, free: 12.51 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/0.01375, allocations: 27.98 kB / 383.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/0.01388, allocations: 68.2 kB / 383.6 MB, free: 12.4 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002299/0.01411, allocations: 104.2 kB / 383.7 MB, free: 12.29 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.01411, allocations: 0 / 383.7 MB, free: 12.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003169/0.01443, allocations: 145.5 kB / 383.8 MB, free: 12.14 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.01445, allocations: 8 kB / 383.9 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.01445, allocations: 0 / 383.9 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.559e-05/0.01448, allocations: 4 kB / 383.9 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.01459, allocations: 23.92 kB / 383.9 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.0146, allocations: 4 kB / 383.9 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.307e-05/0.01468, allocations: 11.94 kB / 383.9 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.806e-05/0.0147, allocations: 11.98 kB / 383.9 MB, free: 12.07 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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 0.0001504/0.01485, allocations: 125.8 kB / 384 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.729e-05/0.01489, allocations: 19.97 kB / 384 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003347/0.01522, allocations: 135 kB / 384.2 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.01523, allocations: 4 kB / 384.2 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.01523, allocations: 3.984 kB / 384.2 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.01524, allocations: 3.938 kB / 384.2 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001868/0.01542, allocations: 153.2 kB / 384.3 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.01542, allocations: 0 / 384.3 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.48e-05/0.01551, allocations: 15.94 kB / 384.4 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.01551, allocations: 0 / 384.4 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.01552, allocations: 0 / 384.4 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.01553, allocations: 11.97 kB / 384.4 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.01553, allocations: 0 / 384.4 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004517/0.01598, allocations: 197.4 kB / 384.6 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.321e-05/0.01601, allocations: 19.92 kB / 384.6 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.326e-05/0.01604, allocations: 0 / 384.6 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.479e-05/0.0161, allocations: 4 kB / 384.6 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.643e-05/0.01616, allocations: 11.98 kB / 384.6 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.043e-05/0.01618, allocations: 4 kB / 384.6 MB, free: 11.32 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000166/0.01634, allocations: 151.2 kB / 384.7 MB, free: 11.17 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01634, allocations: 4.062 kB / 384.8 MB, free: 11.17 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000254/0.0166, allocations: 27.94 kB / 384.8 MB, free: 11.14 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001965/0.01856, allocations: 449.7 kB / 385.2 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002825/0.01885, allocations: 83.83 kB / 385.3 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.01885, allocations: 0 / 385.3 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001171/0.01897, allocations: 35.92 kB / 385.3 MB, free: 10.76 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003485/0.01931, allocations: 44.53 kB / 385.4 MB, free: 10.72 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006483/0.01996, allocations: 276.1 kB / 385.6 MB, free: 10.43 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00013/0.02009, allocations: 98.11 kB / 385.7 MB, free: 10.3 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.925e-05/0.02017, allocations: 21.48 kB / 385.8 MB, free: 10.28 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.991e-05/0.02022, allocations: 16.5 kB / 385.8 MB, free: 10.26 MB / 362.7 MB Notification: Performance of SimCode: time 4.71e-07/0.02022, allocations: 0 / 385.8 MB, free: 10.26 MB / 362.7 MB Notification: Performance of Templates: time 0.006589/0.02681, allocations: 2.048 MB / 387.8 MB, free: 8.238 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.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.845835535088554]