Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.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.002074/0.002074, allocations: 88.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.003062/0.003062, allocations: 161.7 kB / 24.27 MB, free: 172 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.573/1.573, allocations: 177.1 MB / 204.6 MB, free: 5.594 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.3411/0.3411, allocations: 34.26 MB / 295.3 MB, free: 0.6914 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.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 377.4 MB, free: 2.887 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.576e-05/2.747e-05, allocations: 2.312 kB / 377.4 MB, free: 2.883 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.003286/0.003313, allocations: 1.719 MB / 379.1 MB, free: 1.148 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002009/0.005323, allocations: 0.982 MB / 380.1 MB, free: 164 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.967e-05/0.005392, allocations: 0 / 380.1 MB, free: 164 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003095/0.005702, allocations: 47.64 kB / 380.1 MB, free: 116 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000338/0.00604, allocations: 99.53 kB / 380.2 MB, free: 16 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002565/0.006296, allocations: 79.72 kB / 380.3 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001967/0.006493, allocations: 115.5 kB / 380.4 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.776e-05/0.006581, allocations: 8 kB / 380.4 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001136/0.006694, allocations: 51.83 kB / 380.5 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.558e-05/0.00678, allocations: 31.84 kB / 380.5 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.371e-05/0.006804, allocations: 4 kB / 380.5 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.006912, allocations: 43.92 kB / 380.5 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.556e-05/0.006977, allocations: 19.92 kB / 380.6 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.728e-05/0.007035, allocations: 27.91 kB / 380.6 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002652/0.0073, allocations: 123.5 kB / 380.7 MB, free: 15.52 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.007303, allocations: 3.938 kB / 380.7 MB, free: 15.52 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.007304, allocations: 4 kB / 380.7 MB, free: 15.51 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.007308, allocations: 0 / 380.7 MB, free: 15.51 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.0006225/0.007931, allocations: 361.5 kB / 381.1 MB, free: 15.13 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.007971, allocations: 8.031 kB / 381.1 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.28e-05/0.008034, allocations: 16.84 kB / 381.1 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003084/0.008342, allocations: 154.4 kB / 381.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.008356, allocations: 384 / 381.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.922e-05/0.008385, allocations: 8.375 kB / 381.3 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.008551, allocations: 58.17 kB / 381.3 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.008564, allocations: 3.938 kB / 381.3 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.008579, allocations: 11.92 kB / 381.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.008583, allocations: 0 / 381.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.17e-05/0.008665, allocations: 19.98 kB / 381.3 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004102/0.009075, allocations: 232.6 kB / 381.6 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002027/0.009278, allocations: 58.66 kB / 381.6 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.868e-05/0.009346, allocations: 28.73 kB / 381.7 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.009362, allocations: 0 / 381.7 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001736/0.009536, allocations: 75.33 kB / 381.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.009537, allocations: 4 kB / 381.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006445/0.01018, allocations: 185.5 kB / 381.9 MB, free: 14.19 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.179e-05/0.01023, allocations: 55.41 kB / 382 MB, free: 14.12 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002879/0.01052, allocations: 239.6 kB / 382.2 MB, free: 13.88 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.01054, allocations: 25.7 kB / 382.2 MB, free: 13.85 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.398e-05/0.01064, allocations: 112.1 kB / 382.3 MB, free: 13.73 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.469e-05/0.01068, allocations: 27.83 kB / 382.4 MB, free: 13.71 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.437e-05/0.01073, allocations: 17.72 kB / 382.4 MB, free: 13.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004387/0.01117, allocations: 330.8 kB / 382.7 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.807e-05/0.01123, allocations: 19.98 kB / 382.7 MB, free: 13.33 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.278e-05/0.01132, allocations: 45.77 kB / 382.8 MB, free: 13.28 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001421/0.01146, allocations: 69.7 kB / 382.8 MB, free: 13.21 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.01146, allocations: 0 / 382.8 MB, free: 13.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002204/0.01168, allocations: 109.5 kB / 382.9 MB, free: 13.09 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.01169, allocations: 9.875 kB / 383 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.0117, allocations: 0 / 383 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.01172, allocations: 0 / 383 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.41e-05/0.01181, allocations: 16 kB / 383 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.01182, allocations: 8.016 kB / 383 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.03e-05/0.01187, allocations: 4 kB / 383 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.091e-05/0.01189, allocations: 4 kB / 383 MB, free: 13.05 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.000137/0.01203, allocations: 141.6 kB / 383.1 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.41e-05/0.01206, allocations: 15.91 kB / 383.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002832/0.01235, allocations: 119.1 kB / 383.3 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.01235, allocations: 0 / 383.3 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.01235, allocations: 3.938 kB / 383.3 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.01235, allocations: 3.938 kB / 383.3 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005382/0.01289, allocations: 362.9 kB / 383.6 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.01289, allocations: 3.938 kB / 383.6 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.394e-05/0.01294, allocations: 11.98 kB / 383.6 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.01294, allocations: 0 / 383.6 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.01295, allocations: 4 kB / 383.6 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.01295, allocations: 0 / 383.6 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01296, allocations: 0 / 383.6 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003185/0.01327, allocations: 224.2 kB / 383.9 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.405e-05/0.0133, allocations: 11.94 kB / 383.9 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.226e-05/0.01332, allocations: 0 / 383.9 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.773e-05/0.0134, allocations: 8.031 kB / 383.9 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.191e-05/0.01344, allocations: 7.984 kB / 383.9 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.01345, allocations: 4 kB / 383.9 MB, free: 12.08 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000197/0.01365, allocations: 183.2 kB / 384.1 MB, free: 11.9 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01365, allocations: 0 / 384.1 MB, free: 11.9 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002844/0.01393, allocations: 24 kB / 384.1 MB, free: 11.88 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.002264/0.0162, allocations: 498.5 kB / 384.6 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002083/0.01641, allocations: 59.91 kB / 384.6 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.01641, allocations: 0 / 384.6 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.612e-05/0.01649, allocations: 32.08 kB / 384.7 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003834/0.01688, allocations: 40 kB / 384.7 MB, free: 11.46 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005719/0.01745, allocations: 272.9 kB / 385 MB, free: 11.17 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001165/0.01757, allocations: 104.9 kB / 385.1 MB, free: 11.05 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.21e-05/0.01762, allocations: 12.97 kB / 385.1 MB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.972e-05/0.01767, allocations: 20.5 kB / 385.1 MB, free: 11.02 MB / 362.7 MB Notification: Performance of SimCode: time 5.52e-07/0.01767, allocations: 0 / 385.1 MB, free: 11.02 MB / 362.7 MB Notification: Performance of Templates: time 0.005515/0.02318, allocations: 1.884 MB / 387 MB, free: 9.16 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.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.8998746069846675]