Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.001155/0.001155, allocations: 81.88 kB / 21.42 MB, free: 3.074 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.001326/0.001326, allocations: 167.4 kB / 24.82 MB, free: 9.27 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.036/1.036, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] 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.3055/0.3055, allocations: 34.27 MB / 296.1 MB, free: 0.7148 MB / 266.7 MB " [Timeout remaining time 180] 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.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.085e-06/3.085e-06, allocations: 4 kB / 378.6 MB, free: 2.301 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.366e-05/2.675e-05, allocations: 2.312 kB / 378.6 MB, free: 2.297 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.002538/0.002564, allocations: 1.758 MB / 380.3 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001763/0.004328, allocations: 1.722 MB / 382.1 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.513e-05/0.004413, allocations: 0 / 382.1 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002692/0.004682, allocations: 43.7 kB / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003067/0.004989, allocations: 103.5 kB / 382.2 MB, free: 14.65 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001697/0.005159, allocations: 75.61 kB / 382.3 MB, free: 14.58 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001591/0.005318, allocations: 115.6 kB / 382.4 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.16e-05/0.005409, allocations: 8 kB / 382.4 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.038e-05/0.0055, allocations: 59.77 kB / 382.5 MB, free: 14.4 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/0.005612, allocations: 31.89 kB / 382.5 MB, free: 14.37 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.912e-05/0.005631, allocations: 8 kB / 382.5 MB, free: 14.36 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001787/0.005809, allocations: 99.81 kB / 382.6 MB, free: 14.26 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.226e-05/0.005872, allocations: 19.92 kB / 382.6 MB, free: 14.24 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.679e-05/0.005919, allocations: 27.91 kB / 382.7 MB, free: 14.21 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003281/0.006247, allocations: 167.4 kB / 382.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.006251, allocations: 0 / 382.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.006253, allocations: 0 / 382.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.006258, allocations: 0 / 382.8 MB, free: 14.05 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005639/0.006822, allocations: 443.8 kB / 383.2 MB, free: 13.58 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/0.006873, allocations: 15.97 kB / 383.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.819e-05/0.006921, allocations: 12.89 kB / 383.3 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002084/0.00713, allocations: 155.9 kB / 383.4 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/0.007152, allocations: 4.375 kB / 383.4 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.076e-05/0.007173, allocations: 12.38 kB / 383.4 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.007345, allocations: 107.4 kB / 383.5 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.007358, allocations: 3.953 kB / 383.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.639e-06/0.007367, allocations: 4 kB / 383.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.007373, allocations: 0 / 383.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.51e-05/0.007408, allocations: 11.98 kB / 383.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005143/0.007923, allocations: 256.4 kB / 383.8 MB, free: 12.94 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001165/0.008039, allocations: 55.09 kB / 383.9 MB, free: 12.87 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.33e-05/0.008063, allocations: 11.69 kB / 383.9 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.008082, allocations: 8 kB / 383.9 MB, free: 12.85 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001302/0.008212, allocations: 72.97 kB / 384 MB, free: 12.76 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 3.617e-06/0.008215, allocations: 0 / 384 MB, free: 12.76 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003832/0.008598, allocations: 133.4 kB / 384.1 MB, free: 12.62 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/0.008645, allocations: 81.09 kB / 384.2 MB, free: 12.53 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.008774, allocations: 216.8 kB / 384.4 MB, free: 12.3 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.008789, allocations: 29.7 kB / 384.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.054e-05/0.008839, allocations: 146.8 kB / 384.6 MB, free: 12.12 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.736e-05/0.008867, allocations: 23.8 kB / 384.6 MB, free: 12.09 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-05/0.008899, allocations: 27.36 kB / 384.6 MB, free: 12.06 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.009011, allocations: 0.5 MB / 385.1 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.324e-05/0.009034, allocations: 11.98 kB / 385.1 MB, free: 11.54 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.343e-05/0.009078, allocations: 68.73 kB / 385.2 MB, free: 11.45 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.529e-05/0.009123, allocations: 43.38 kB / 385.2 MB, free: 11.4 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.009124, allocations: 0 / 385.2 MB, free: 11.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001002/0.009224, allocations: 93.56 kB / 385.3 MB, free: 11.3 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.009238, allocations: 10.12 kB / 385.3 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.009244, allocations: 0 / 385.3 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.508e-06/0.009253, allocations: 0 / 385.3 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.497e-05/0.009318, allocations: 24.05 kB / 385.4 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-06/0.009321, allocations: 0 / 385.4 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.648e-05/0.009357, allocations: 7.984 kB / 385.4 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.009365, allocations: 7.938 kB / 385.4 MB, free: 11.25 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 (10): * Single equations (assignments): 10 * 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.0001001/0.009465, allocations: 160.5 kB / 385.5 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.071e-05/0.009496, allocations: 16.33 kB / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001581/0.009654, allocations: 98.38 kB / 385.6 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.009657, allocations: 0 / 385.6 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.009658, allocations: 0 / 385.6 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/0.009669, allocations: 4 kB / 385.6 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002801/0.009949, allocations: 365.5 kB / 386 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.009952, allocations: 0 / 386 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.577e-05/0.009987, allocations: 12 kB / 386 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.009991, allocations: 3.938 kB / 386 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.009997, allocations: 0 / 386 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.01, allocations: 4 kB / 386 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01, allocations: 0 / 386 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001503/0.01015, allocations: 255.4 kB / 386.3 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.614e-05/0.01017, allocations: 11.94 kB / 386.3 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.01019, allocations: 8.031 kB / 386.3 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.836e-05/0.01025, allocations: 0 / 386.3 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.971e-05/0.01028, allocations: 11.98 kB / 386.3 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.0103, allocations: 4 kB / 386.3 MB, free: 10.24 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.296e-05/0.01037, allocations: 153.6 kB / 386.5 MB, free: 10.09 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01037, allocations: 0 / 386.5 MB, free: 10.09 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002189/0.01059, allocations: 55.8 kB / 386.5 MB, free: 10.04 MB / 362.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: 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 (9): * Single equations (assignments): 7 * 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.001176/0.01177, allocations: 0.536 MB / 387 MB, free: 9.695 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001183/0.01189, allocations: 55.52 kB / 387.1 MB, free: 9.637 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.01189, allocations: 64 / 387.1 MB, free: 9.637 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.778e-05/0.01194, allocations: 35.61 kB / 387.1 MB, free: 9.598 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002532/0.01219, allocations: 30.56 kB / 387.2 MB, free: 9.57 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004362/0.01263, allocations: 201.9 kB / 387.4 MB, free: 9.34 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.891e-05/0.01268, allocations: 63.34 kB / 387.4 MB, free: 9.258 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.109e-05/0.01274, allocations: 21.27 kB / 387.4 MB, free: 9.234 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.812e-05/0.01282, allocations: 94.17 kB / 387.5 MB, free: 9.141 MB / 362.7 MB Notification: Performance of SimCode: time 8.82e-07/0.01282, allocations: 4.062 kB / 387.5 MB, free: 9.137 MB / 362.7 MB Notification: Performance of Templates: time 0.004712/0.01754, allocations: 2.78 MB / 390.3 MB, free: 6.387 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.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.2195694129914045]