Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.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.001055/0.001055, allocations: 75.77 kB / 21.18 MB, free: 3.379 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.001064/0.001064, allocations: 161.4 kB / 24.56 MB, free: 8 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.078/1.078, allocations: 177.1 MB / 205 MB, free: 5.625 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.2915/0.2915, allocations: 32.8 MB / 294.3 MB, free: 1.281 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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.625e-06/2.625e-06, allocations: 0 / 376.1 MB, free: 4.594 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.729e-05/3.991e-05, allocations: 6.25 kB / 376.1 MB, free: 4.586 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.003639/0.003679, allocations: 1.961 MB / 378.1 MB, free: 2.609 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001553/0.005232, allocations: 1.044 MB / 379.1 MB, free: 1.559 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001161/0.005349, allocations: 7.938 kB / 379.1 MB, free: 1.551 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004222/0.005771, allocations: 47.58 kB / 379.2 MB, free: 1.504 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003678/0.006139, allocations: 103.4 kB / 379.3 MB, free: 1.402 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002351/0.006374, allocations: 91.66 kB / 379.4 MB, free: 1.312 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002515/0.006625, allocations: 151.5 kB / 379.5 MB, free: 1.164 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001305/0.006756, allocations: 25.8 kB / 379.5 MB, free: 1.141 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.006869, allocations: 71.8 kB / 379.6 MB, free: 1.07 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001052/0.006974, allocations: 43.83 kB / 379.6 MB, free: 1.027 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.193e-05/0.006996, allocations: 8 kB / 379.6 MB, free: 1.02 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.007097, allocations: 51.86 kB / 379.7 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.519e-05/0.007162, allocations: 27.84 kB / 379.7 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.98e-05/0.007222, allocations: 27.92 kB / 379.7 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002726/0.007495, allocations: 127.5 kB / 379.9 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.007499, allocations: 0 / 379.9 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.0075, allocations: 0 / 379.9 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.007507, allocations: 0 / 379.9 MB, free: 0.7891 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006213/0.008128, allocations: 0.5052 MB / 380.4 MB, free: 248 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/0.008179, allocations: 12.03 kB / 380.4 MB, free: 236 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.869e-05/0.008247, allocations: 20.8 kB / 380.4 MB, free: 216 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002497/0.008497, allocations: 173.1 kB / 380.6 MB, free: 12 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.502e-05/0.008522, allocations: 8.375 kB / 380.6 MB, free: 4 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.163e-05/0.008554, allocations: 4.375 kB / 380.6 MB, free: 0 / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002553/0.008809, allocations: 147.6 kB / 380.7 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.008819, allocations: 3.938 kB / 380.7 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.008831, allocations: 4 kB / 380.7 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.312e-05/0.008844, allocations: 4 kB / 380.7 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.607e-05/0.00891, allocations: 31.92 kB / 380.8 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005677/0.009478, allocations: 0.5833 MB / 381.4 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002536/0.009731, allocations: 71.09 kB / 381.4 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.336e-05/0.009775, allocations: 23.69 kB / 381.5 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.009794, allocations: 0 / 381.5 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001489/0.009943, allocations: 106.7 kB / 381.6 MB, free: 14.92 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.894e-06/0.009944, allocations: 0 / 381.6 MB, free: 14.92 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002637/0.01021, allocations: 109.5 kB / 381.7 MB, free: 14.81 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/0.01025, allocations: 59.33 kB / 381.7 MB, free: 14.74 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001574/0.01041, allocations: 247.1 kB / 382 MB, free: 14.48 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.01042, allocations: 25.7 kB / 382 MB, free: 14.45 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.066e-05/0.0105, allocations: 166.8 kB / 382.2 MB, free: 14.28 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.99e-05/0.01053, allocations: 31.73 kB / 382.2 MB, free: 14.25 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.525e-05/0.01058, allocations: 35.36 kB / 382.2 MB, free: 14.21 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.01071, allocations: 0.504 MB / 382.7 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.491e-05/0.01075, allocations: 19.92 kB / 382.7 MB, free: 13.67 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.316e-05/0.0108, allocations: 62.42 kB / 382.8 MB, free: 13.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.408e-05/0.01088, allocations: 78.38 kB / 382.9 MB, free: 13.49 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.01089, allocations: 0 / 382.9 MB, free: 13.49 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001461/0.01103, allocations: 117.4 kB / 383 MB, free: 13.37 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.01105, allocations: 8.125 kB / 383 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.01106, allocations: 4 kB / 383 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.336e-05/0.01108, allocations: 0 / 383 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.618e-05/0.01118, allocations: 27.98 kB / 383 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.01119, allocations: 0 / 383 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.724e-05/0.01122, allocations: 7.938 kB / 383 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.547e-06/0.01123, allocations: 4 kB / 383 MB, free: 13.32 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.0001037/0.01134, allocations: 172.4 kB / 383.2 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.66e-05/0.01136, allocations: 23.91 kB / 383.2 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001929/0.01156, allocations: 103.1 kB / 383.3 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.01156, allocations: 4 kB / 383.3 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.01156, allocations: 0 / 383.3 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.094e-06/0.01157, allocations: 3.984 kB / 383.3 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001442/0.01172, allocations: 172.5 kB / 383.5 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.01172, allocations: 0 / 383.5 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.95e-05/0.01179, allocations: 12 kB / 383.5 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.01179, allocations: 0 / 383.5 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.01181, allocations: 7.984 kB / 383.5 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.01181, allocations: 0 / 383.5 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.01181, allocations: 4 kB / 383.5 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002216/0.01203, allocations: 156.8 kB / 383.7 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.497e-05/0.01206, allocations: 23.83 kB / 383.7 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.01207, allocations: 0 / 383.7 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.086e-05/0.01211, allocations: 8 kB / 383.7 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.867e-05/0.01216, allocations: 7.984 kB / 383.7 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.529e-05/0.01218, allocations: 0 / 383.7 MB, free: 12.57 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001001/0.01228, allocations: 175.1 kB / 383.9 MB, free: 12.39 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01228, allocations: 0 / 383.9 MB, free: 12.39 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001694/0.01245, allocations: 27.94 kB / 383.9 MB, free: 12.37 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.0008559/0.0133, allocations: 390.8 kB / 384.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001377/0.01344, allocations: 59.59 kB / 384.4 MB, free: 12.05 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.257e-06/0.01344, allocations: 4 kB / 384.4 MB, free: 12.05 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.802e-05/0.01349, allocations: 39.86 kB / 384.4 MB, free: 12.01 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002335/0.01373, allocations: 50.14 kB / 384.5 MB, free: 11.96 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000444/0.01417, allocations: 246 kB / 384.7 MB, free: 11.7 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004122/0.01458, allocations: 71.83 kB / 384.8 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.959e-05/0.01464, allocations: 17.48 kB / 384.8 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.021e-05/0.01468, allocations: 16.5 kB / 384.8 MB, free: 11.57 MB / 362.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01468, allocations: 4 kB / 384.8 MB, free: 11.57 MB / 362.7 MB Notification: Performance of Templates: time 0.004734/0.01942, allocations: 2.063 MB / 386.9 MB, free: 9.531 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.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.5473331208340824]