Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31.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.001832/0.001832, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002005/0.002005, allocations: 165.3 kB / 24.28 MB, free: 152 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.576/1.576, allocations: 177.1 MB / 204.6 MB, free: 5.617 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.3611/0.3611, allocations: 34.26 MB / 295.3 MB, free: 0.6797 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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 377.4 MB, free: 2.902 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.901e-05/3.041e-05, allocations: 2.312 kB / 377.4 MB, free: 2.898 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.003363/0.003394, allocations: 1.742 MB / 379.1 MB, free: 1.145 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001996/0.00539, allocations: 0.9976 MB / 380.1 MB, free: 144 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.122e-05/0.005461, allocations: 0 / 380.1 MB, free: 144 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003218/0.005783, allocations: 47.64 kB / 380.2 MB, free: 96 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003473/0.00613, allocations: 95.53 kB / 380.2 MB, free: 0 / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002518/0.006382, allocations: 79.59 kB / 380.3 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002284/0.00661, allocations: 111.6 kB / 380.4 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.837e-05/0.006709, allocations: 4 kB / 380.4 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001254/0.006834, allocations: 51.83 kB / 380.5 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.625e-05/0.00692, allocations: 35.84 kB / 380.5 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.59e-05/0.006946, allocations: 4 kB / 380.5 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000112/0.007058, allocations: 47.91 kB / 380.6 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.569e-05/0.007124, allocations: 19.92 kB / 380.6 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.019e-05/0.007174, allocations: 19.94 kB / 380.6 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002554/0.007429, allocations: 119.5 kB / 380.7 MB, free: 15.52 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.007435, allocations: 0 / 380.7 MB, free: 15.52 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.007436, allocations: 0 / 380.7 MB, free: 15.52 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.042e-06/0.007442, allocations: 3.938 kB / 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.0007183/0.008161, allocations: 451.6 kB / 381.2 MB, free: 15.04 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.0082, allocations: 8.031 kB / 381.2 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.976e-05/0.00827, allocations: 20.84 kB / 381.2 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002782/0.008548, allocations: 153.1 kB / 381.4 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.008565, allocations: 4.375 kB / 381.4 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.893e-05/0.008584, allocations: 384 / 381.4 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.00875, allocations: 54.23 kB / 381.4 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.008766, allocations: 7.875 kB / 381.4 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.008779, allocations: 0 / 381.4 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.008784, allocations: 4 kB / 381.4 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001021/0.008886, allocations: 15.98 kB / 381.4 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005396/0.009426, allocations: 299.7 kB / 381.7 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002105/0.009636, allocations: 67.11 kB / 381.8 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.321e-05/0.00971, allocations: 27.61 kB / 381.8 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.49e-05/0.009734, allocations: 0 / 381.8 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001767/0.009911, allocations: 77.03 kB / 381.9 MB, free: 14.21 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.009912, allocations: 0 / 381.9 MB, free: 14.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007601/0.01067, allocations: 173.4 kB / 382.1 MB, free: 14.04 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.601e-05/0.01073, allocations: 55.41 kB / 382.1 MB, free: 13.97 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002593/0.01099, allocations: 250.4 kB / 382.4 MB, free: 13.71 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.01101, allocations: 25.7 kB / 382.4 MB, free: 13.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.01112, allocations: 154.8 kB / 382.5 MB, free: 13.52 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.905e-05/0.01116, allocations: 31.78 kB / 382.6 MB, free: 13.49 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.692e-05/0.01122, allocations: 31.38 kB / 382.6 MB, free: 13.45 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002891/0.01151, allocations: 0.504 MB / 383.1 MB, free: 12.94 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.143e-05/0.01157, allocations: 19.98 kB / 383.1 MB, free: 12.92 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.627e-05/0.01166, allocations: 47.67 kB / 383.2 MB, free: 12.86 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/0.01179, allocations: 71.36 kB / 383.2 MB, free: 12.79 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.01179, allocations: 0 / 383.2 MB, free: 12.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002206/0.01201, allocations: 109.6 kB / 383.4 MB, free: 12.67 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.01203, allocations: 8 kB / 383.4 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.01203, allocations: 4.031 kB / 383.4 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.01205, allocations: 0 / 383.4 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.01216, allocations: 15.98 kB / 383.4 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.01217, allocations: 0 / 383.4 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.647e-05/0.01223, allocations: 4 kB / 383.4 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.01224, allocations: 4 kB / 383.4 MB, free: 12.64 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.0001378/0.01238, allocations: 172.5 kB / 383.6 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.317e-05/0.01241, allocations: 19.89 kB / 383.6 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002645/0.01267, allocations: 115.1 kB / 383.7 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.01268, allocations: 0 / 383.7 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.01268, allocations: 4 kB / 383.7 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.01268, allocations: 0 / 383.7 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005643/0.01325, allocations: 416.9 kB / 384.1 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.01325, allocations: 0 / 384.1 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.506e-05/0.0133, allocations: 15.98 kB / 384.1 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.0133, allocations: 3.984 kB / 384.1 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.01331, allocations: 4 kB / 384.1 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.01332, allocations: 4 kB / 384.1 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01332, allocations: 0 / 384.1 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003274/0.01365, allocations: 263.4 kB / 384.4 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.616e-05/0.01367, allocations: 19.94 kB / 384.4 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.661e-05/0.0137, allocations: 4 kB / 384.4 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.015e-05/0.01377, allocations: 3.984 kB / 384.4 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.596e-05/0.01381, allocations: 8 kB / 384.4 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.039e-05/0.01383, allocations: 7.984 kB / 384.4 MB, free: 11.51 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001625/0.014, allocations: 180.1 kB / 384.6 MB, free: 11.34 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.014, allocations: 0 / 384.6 MB, free: 11.34 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002677/0.01426, allocations: 23.94 kB / 384.6 MB, free: 11.31 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.003521/0.01779, allocations: 0.4964 MB / 385.1 MB, free: 11.02 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002607/0.01805, allocations: 59.67 kB / 385.2 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.01805, allocations: 0 / 385.2 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.812e-05/0.01815, allocations: 39.77 kB / 385.2 MB, free: 10.91 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004143/0.01856, allocations: 43.08 kB / 385.3 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005863/0.01915, allocations: 230.1 kB / 385.5 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001103/0.01926, allocations: 92.3 kB / 385.6 MB, free: 10.51 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.465e-05/0.01931, allocations: 16.97 kB / 385.6 MB, free: 10.49 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.601e-05/0.01937, allocations: 28.42 kB / 385.6 MB, free: 10.46 MB / 362.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01937, allocations: 0 / 385.6 MB, free: 10.46 MB / 362.7 MB Notification: Performance of Templates: time 0.006138/0.02551, allocations: 1.846 MB / 387.5 MB, free: 8.637 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31.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: 5.154807646991685]