Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.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.001402/0.001402, allocations: 82.75 kB / 20.68 MB, free: 1.023 MB / 14.72 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.00168/0.00168, allocations: 163.2 kB / 23.95 MB, free: 4.156 MB / 14.72 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.505/1.505, allocations: 177.2 MB / 204.3 MB, free: 9.184 MB / 190.1 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.2276/0.2276, allocations: 34.29 MB / 295 MB, free: 14.57 MB / 286.1 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.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 442.8 MB, free: 5.312 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.966e-05/3.124e-05, allocations: 2.281 kB / 442.8 MB, free: 5.309 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.00329/0.003321, allocations: 1.735 MB / 444.5 MB, free: 3.562 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001865/0.005187, allocations: 0.9665 MB / 445.5 MB, free: 2.59 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.664e-05/0.005263, allocations: 4 kB / 445.5 MB, free: 2.586 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002887/0.005552, allocations: 47.69 kB / 445.5 MB, free: 2.539 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003199/0.005872, allocations: 95.53 kB / 445.6 MB, free: 2.445 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002646/0.006136, allocations: 83.55 kB / 445.7 MB, free: 2.363 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001954/0.006332, allocations: 119.6 kB / 445.8 MB, free: 2.246 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.366e-05/0.006415, allocations: 4 kB / 445.8 MB, free: 2.242 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.006529, allocations: 59.77 kB / 445.9 MB, free: 2.184 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.657e-05/0.006615, allocations: 23.91 kB / 445.9 MB, free: 2.16 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.148e-05/0.006637, allocations: 4 kB / 445.9 MB, free: 2.156 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.00674, allocations: 39.98 kB / 445.9 MB, free: 2.117 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.48e-05/0.006805, allocations: 27.91 kB / 446 MB, free: 2.09 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.132e-05/0.006856, allocations: 23.81 kB / 446 MB, free: 2.066 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002381/0.007094, allocations: 123.5 kB / 446.1 MB, free: 1.945 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.0071, allocations: 4 kB / 446.1 MB, free: 1.941 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.007101, allocations: 0 / 446.1 MB, free: 1.941 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.007106, allocations: 4 kB / 446.1 MB, free: 1.938 MB / 366.1 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.0006157/0.007722, allocations: 361.4 kB / 446.5 MB, free: 1.555 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.007756, allocations: 8.031 kB / 446.5 MB, free: 1.547 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.176e-05/0.007808, allocations: 16.84 kB / 446.5 MB, free: 1.531 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002588/0.008067, allocations: 158.3 kB / 446.6 MB, free: 1.348 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.008079, allocations: 384 / 446.6 MB, free: 1.348 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.737e-05/0.008107, allocations: 8.375 kB / 446.7 MB, free: 1.34 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.008266, allocations: 54.23 kB / 446.7 MB, free: 1.281 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.00828, allocations: 3.938 kB / 446.7 MB, free: 1.277 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.008289, allocations: 4 kB / 446.7 MB, free: 1.273 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.008294, allocations: 4 kB / 446.7 MB, free: 1.27 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.28e-05/0.008376, allocations: 23.92 kB / 446.7 MB, free: 1.246 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003802/0.008757, allocations: 236.5 kB / 447 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000205/0.008962, allocations: 58.67 kB / 447 MB, free: 0.918 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.905e-05/0.009031, allocations: 24.78 kB / 447.1 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.743e-05/0.009048, allocations: 0 / 447.1 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001703/0.009218, allocations: 71.33 kB / 447.1 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.432e-06/0.00922, allocations: 0 / 447.1 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006335/0.009853, allocations: 185.5 kB / 447.3 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.421e-05/0.009908, allocations: 59.41 kB / 447.4 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002703/0.01018, allocations: 243.6 kB / 447.6 MB, free: 312 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.353e-05/0.0102, allocations: 25.7 kB / 447.6 MB, free: 280 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.957e-05/0.0103, allocations: 112.1 kB / 447.7 MB, free: 164 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.435e-05/0.01034, allocations: 23.8 kB / 447.8 MB, free: 140 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.702e-05/0.01039, allocations: 21.7 kB / 447.8 MB, free: 112 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.224/0.2343, allocations: 326.8 kB / 448.1 MB, free: 19.05 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001253/0.2345, allocations: 17.28 kB / 448.1 MB, free: 19.05 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.232e-05/0.2346, allocations: 37.58 kB / 448.2 MB, free: 19.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001305/0.2347, allocations: 63.77 kB / 448.2 MB, free: 19.02 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2347, allocations: 0.6562 kB / 448.2 MB, free: 19.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002365/0.2349, allocations: 113.4 kB / 448.3 MB, free: 18.99 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.2349, allocations: 7.203 kB / 448.3 MB, free: 18.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.2349, allocations: 2.812 kB / 448.3 MB, free: 18.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/0.235, allocations: 1.859 kB / 448.3 MB, free: 18.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001/0.2351, allocations: 19.5 kB / 448.4 MB, free: 18.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.2351, allocations: 1.25 kB / 448.4 MB, free: 18.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.76e-05/0.2351, allocations: 6.422 kB / 448.4 MB, free: 18.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.2351, allocations: 2.688 kB / 448.4 MB, free: 18.99 MB / 366.1 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 9.298e-05/0.2352, allocations: 133.8 kB / 448.5 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.647e-05/0.2353, allocations: 20.53 kB / 448.5 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002623/0.2355, allocations: 122.1 kB / 448.6 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.2355, allocations: 1.219 kB / 448.6 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.2355, allocations: 5.688 kB / 448.6 MB, free: 18.83 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.2355, allocations: 0.7031 kB / 448.6 MB, free: 18.83 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004211/0.236, allocations: 357.7 kB / 449 MB, free: 18.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.236, allocations: 0.6562 kB / 449 MB, free: 18.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.02e-05/0.236, allocations: 10.2 kB / 449 MB, free: 18.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.236, allocations: 1.594 kB / 449 MB, free: 18.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.236, allocations: 9.766 kB / 449 MB, free: 18.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.236, allocations: 5.031 kB / 449 MB, free: 18.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.236, allocations: 0 / 449 MB, free: 18.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000218/0.2362, allocations: 215.7 kB / 449.2 MB, free: 18.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.05e-05/0.2363, allocations: 14.16 kB / 449.2 MB, free: 18.45 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.778e-05/0.2363, allocations: 9.719 kB / 449.3 MB, free: 18.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.576e-05/0.2364, allocations: 5.516 kB / 449.3 MB, free: 18.44 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.928e-05/0.2364, allocations: 7.391 kB / 449.3 MB, free: 18.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.2364, allocations: 6.312 kB / 449.3 MB, free: 18.44 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000138/0.2366, allocations: 179.4 kB / 449.4 MB, free: 18.37 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2366, allocations: 0 / 449.4 MB, free: 18.37 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002779/0.2368, allocations: 27.42 kB / 449.5 MB, free: 18.37 MB / 366.1 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.001832/0.2387, allocations: 0.4935 MB / 450 MB, free: 18.22 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002085/0.2389, allocations: 60.84 kB / 450 MB, free: 18.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2389, allocations: 0 / 450 MB, free: 18.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.512e-05/0.239, allocations: 36.41 kB / 450.1 MB, free: 18.21 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003833/0.2394, allocations: 26.14 kB / 450.1 MB, free: 18.2 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005146/0.2399, allocations: 264.8 kB / 450.3 MB, free: 18.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.384e-05/0.24, allocations: 96.8 kB / 450.4 MB, free: 17.95 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.485e-05/0.24, allocations: 17.44 kB / 450.5 MB, free: 17.94 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.172e-05/0.2401, allocations: 19.81 kB / 450.5 MB, free: 17.93 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2401, allocations: 0 / 450.5 MB, free: 17.93 MB / 366.1 MB Notification: Performance of Templates: time 0.005811/0.2459, allocations: 1.863 MB / 452.3 MB, free: 17.69 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.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.928963236510754]