Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.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.001021/0.001021, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.0009865/0.0009865, allocations: 161 kB / 24.56 MB, free: 16 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.047/1.047, allocations: 177.1 MB / 205 MB, free: 5.645 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.2446/0.2446, allocations: 32.81 MB / 294.3 MB, free: 1.27 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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 376.1 MB, free: 4.602 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.945e-05/2.079e-05, allocations: 2.312 kB / 376.1 MB, free: 4.598 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.002132/0.002153, allocations: 1.719 MB / 377.8 MB, free: 2.863 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001123/0.003276, allocations: 0.9936 MB / 378.8 MB, free: 1.863 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.318e-05/0.003339, allocations: 0 / 378.8 MB, free: 1.863 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002929/0.003632, allocations: 75.59 kB / 378.9 MB, free: 1.789 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000257/0.003889, allocations: 103.5 kB / 379 MB, free: 1.688 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001178/0.004007, allocations: 79.61 kB / 379.1 MB, free: 1.609 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001337/0.004141, allocations: 107.6 kB / 379.2 MB, free: 1.504 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.942e-05/0.00417, allocations: 4.234 kB / 379.2 MB, free: 1.5 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.698e-05/0.004247, allocations: 63.81 kB / 379.2 MB, free: 1.438 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.99e-05/0.004327, allocations: 43.88 kB / 379.3 MB, free: 1.395 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.323e-05/0.00434, allocations: 0 / 379.3 MB, free: 1.395 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.326e-05/0.004403, allocations: 39.92 kB / 379.3 MB, free: 1.355 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.597e-05/0.004449, allocations: 19.86 kB / 379.3 MB, free: 1.336 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.285e-05/0.004482, allocations: 15.94 kB / 379.3 MB, free: 1.32 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001431/0.004625, allocations: 87.72 kB / 379.4 MB, free: 1.234 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.004627, allocations: 0 / 379.4 MB, free: 1.234 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.2e-07/0.004628, allocations: 0 / 379.4 MB, free: 1.234 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.457e-06/0.004631, allocations: 4 kB / 379.4 MB, free: 1.23 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004041/0.005035, allocations: 439.9 kB / 379.9 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.005069, allocations: 8.031 kB / 379.9 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.381e-05/0.005113, allocations: 20.83 kB / 379.9 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.005265, allocations: 161 kB / 380.1 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.005281, allocations: 384 / 380.1 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.151e-05/0.005292, allocations: 384 / 380.1 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001056/0.005398, allocations: 58.94 kB / 380.1 MB, free: 500 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.005409, allocations: 3.938 kB / 380.1 MB, free: 496 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.005419, allocations: 4 kB / 380.1 MB, free: 492 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.005427, allocations: 4 kB / 380.1 MB, free: 488 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.919e-05/0.005456, allocations: 11.92 kB / 380.1 MB, free: 476 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001289/0.005585, allocations: 140.7 kB / 380.3 MB, free: 300 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.373e-05/0.005679, allocations: 47.11 kB / 380.3 MB, free: 240 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.533e-05/0.005704, allocations: 15.67 kB / 380.3 MB, free: 220 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.366e-05/0.005718, allocations: 0 / 380.3 MB, free: 220 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.042e-05/0.005798, allocations: 65.05 kB / 380.4 MB, free: 140 kB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 5.91e-07/0.005799, allocations: 0 / 380.4 MB, free: 140 kB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001671/0.005966, allocations: 97.45 kB / 380.5 MB, free: 36 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.557e-05/0.006001, allocations: 51.41 kB / 380.5 MB, free: 15.97 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.006121, allocations: 230.4 kB / 380.8 MB, free: 15.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.006134, allocations: 33.69 kB / 380.8 MB, free: 15.69 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.525e-05/0.006179, allocations: 146.9 kB / 380.9 MB, free: 15.54 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.936e-05/0.006208, allocations: 23.83 kB / 381 MB, free: 15.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.737e-05/0.006236, allocations: 23.38 kB / 381 MB, free: 15.49 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.006336, allocations: 0.4923 MB / 381.5 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.773e-05/0.006354, allocations: 4 kB / 381.5 MB, free: 14.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.833e-05/0.006382, allocations: 31.36 kB / 381.5 MB, free: 14.94 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.51e-05/0.006427, allocations: 43.31 kB / 381.6 MB, free: 14.89 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.00643, allocations: 4 kB / 381.6 MB, free: 14.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.197e-05/0.006502, allocations: 69.58 kB / 381.6 MB, free: 14.81 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.006513, allocations: 8 kB / 381.6 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.006518, allocations: 4.25 kB / 381.6 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.006532, allocations: 0 / 381.6 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.289e-05/0.006595, allocations: 11.98 kB / 381.7 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.921e-05/0.006624, allocations: 4 kB / 381.7 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.542e-05/0.006719, allocations: 7.953 kB / 381.7 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.006731, allocations: 4 kB / 381.7 MB, free: 14.77 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 (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.0001036/0.006835, allocations: 160.6 kB / 381.8 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.117e-05/0.006866, allocations: 15.94 kB / 381.8 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001918/0.007058, allocations: 90.64 kB / 381.9 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.007063, allocations: 4 kB / 381.9 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.007067, allocations: 0 / 381.9 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.00707, allocations: 0 / 381.9 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001099/0.00718, allocations: 144.6 kB / 382.1 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.007182, allocations: 0 / 382.1 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.591e-05/0.007218, allocations: 4 kB / 382.1 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.007221, allocations: 0 / 382.1 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.128e-06/0.00723, allocations: 8 kB / 382.1 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.007233, allocations: 3.938 kB / 382.1 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.007235, allocations: 3.984 kB / 382.1 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001306/0.007366, allocations: 120.3 kB / 382.2 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.613e-05/0.007382, allocations: 3.953 kB / 382.2 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.983e-05/0.007402, allocations: 4 kB / 382.2 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.469e-05/0.007437, allocations: 7.922 kB / 382.2 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.177e-05/0.007478, allocations: 8 kB / 382.2 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.007491, allocations: 0 / 382.2 MB, free: 14.13 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.378e-05/0.007584, allocations: 172.1 kB / 382.4 MB, free: 13.96 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007584, allocations: 4 kB / 382.4 MB, free: 13.96 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001487/0.007733, allocations: 19.94 kB / 382.4 MB, free: 13.94 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: 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 (6): * Single equations (assignments): 4 * 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.0008527/0.008586, allocations: 372.7 kB / 382.8 MB, free: 13.71 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001295/0.008715, allocations: 47.61 kB / 382.8 MB, free: 13.66 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.008717, allocations: 4 kB / 382.8 MB, free: 13.66 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.605e-05/0.008753, allocations: 27.66 kB / 382.9 MB, free: 13.63 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002085/0.008962, allocations: 31.91 kB / 382.9 MB, free: 13.6 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000363/0.009325, allocations: 198.1 kB / 383.1 MB, free: 13.38 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.891e-05/0.009364, allocations: 67.33 kB / 383.2 MB, free: 13.29 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.091e-05/0.009405, allocations: 8.5 kB / 383.2 MB, free: 13.28 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.272e-05/0.009438, allocations: 24.55 kB / 383.2 MB, free: 13.26 MB / 362.7 MB Notification: Performance of SimCode: time 1.072e-06/0.009439, allocations: 0 / 383.2 MB, free: 13.26 MB / 362.7 MB Notification: Performance of Templates: time 0.003494/0.01293, allocations: 1.639 MB / 384.8 MB, free: 11.64 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.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: 3.2907845182344317]