Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.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.001806/0.001806, allocations: 85.67 kB / 20.68 MB, free: 0.8906 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.002218/0.002218, allocations: 168.4 kB / 23.96 MB, free: 3.91 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.568/1.568, allocations: 177.1 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.2201/0.2201, allocations: 34.28 MB / 294.9 MB, free: 14.58 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.Test17,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.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,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.Test17") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 442.8 MB, free: 5.336 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.468e-05/3.604e-05, allocations: 2.281 kB / 442.8 MB, free: 5.332 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.003293/0.003329, allocations: 1.727 MB / 444.5 MB, free: 3.59 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002006/0.005335, allocations: 0.9703 MB / 445.5 MB, free: 2.613 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.005437, allocations: 4 kB / 445.5 MB, free: 2.609 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003026/0.005739, allocations: 31.78 kB / 445.5 MB, free: 2.578 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003743/0.006114, allocations: 95.53 kB / 445.6 MB, free: 2.484 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002832/0.006397, allocations: 87.48 kB / 445.7 MB, free: 2.398 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002212/0.006618, allocations: 107.6 kB / 445.8 MB, free: 2.293 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.00672, allocations: 11.98 kB / 445.8 MB, free: 2.281 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001313/0.006852, allocations: 55.83 kB / 445.8 MB, free: 2.227 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.483e-05/0.006946, allocations: 23.91 kB / 445.9 MB, free: 2.203 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.566e-05/0.006972, allocations: 4 kB / 445.9 MB, free: 2.199 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001206/0.007093, allocations: 39.98 kB / 445.9 MB, free: 2.16 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.665e-05/0.007159, allocations: 19.92 kB / 445.9 MB, free: 2.141 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.147e-05/0.007211, allocations: 23.92 kB / 446 MB, free: 2.117 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002637/0.007475, allocations: 123.5 kB / 446.1 MB, free: 1.996 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.007478, allocations: 0 / 446.1 MB, free: 1.996 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.007479, allocations: 0 / 446.1 MB, free: 1.996 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.007484, allocations: 0 / 446.1 MB, free: 1.996 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.0006388/0.008123, allocations: 345.6 kB / 446.4 MB, free: 1.629 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.008165, allocations: 8.031 kB / 446.4 MB, free: 1.621 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.464e-05/0.008219, allocations: 8.891 kB / 446.4 MB, free: 1.613 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002673/0.008486, allocations: 146.9 kB / 446.6 MB, free: 1.445 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.008502, allocations: 384 / 446.6 MB, free: 1.445 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.5e-05/0.008527, allocations: 16.31 kB / 446.6 MB, free: 1.43 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001714/0.008698, allocations: 50.23 kB / 446.6 MB, free: 1.375 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/0.008717, allocations: 7.875 kB / 446.6 MB, free: 1.367 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.00873, allocations: 4 kB / 446.6 MB, free: 1.363 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.008737, allocations: 4 kB / 446.7 MB, free: 1.359 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.954e-05/0.008816, allocations: 15.98 kB / 446.7 MB, free: 1.344 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003866/0.009203, allocations: 228.6 kB / 446.9 MB, free: 1.09 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001966/0.0094, allocations: 58.67 kB / 446.9 MB, free: 1.023 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.437e-05/0.009464, allocations: 28.72 kB / 447 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.009481, allocations: 4 kB / 447 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001635/0.009644, allocations: 67.39 kB / 447 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.009646, allocations: 0 / 447 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.000639/0.01028, allocations: 189.5 kB / 447.2 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.143e-05/0.01034, allocations: 51.41 kB / 447.3 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002047/0.01054, allocations: 195.2 kB / 447.5 MB, free: 464 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.01056, allocations: 25.7 kB / 447.5 MB, free: 432 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.946e-05/0.01063, allocations: 104.1 kB / 447.6 MB, free: 324 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.343e-05/0.01067, allocations: 23.8 kB / 447.6 MB, free: 300 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.107e-05/0.01072, allocations: 29.7 kB / 447.6 MB, free: 264 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.2157/0.2264, allocations: 326.8 kB / 448 MB, free: 19.08 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001596/0.2266, allocations: 14.66 kB / 448 MB, free: 19.08 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001182/0.2267, allocations: 35.47 kB / 448 MB, free: 19.06 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001717/0.2269, allocations: 66.98 kB / 448.1 MB, free: 19.05 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.2269, allocations: 0 / 448.1 MB, free: 19.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003212/0.2272, allocations: 106.7 kB / 448.2 MB, free: 19.02 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.2272, allocations: 5.625 kB / 448.2 MB, free: 19.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.2272, allocations: 2.406 kB / 448.2 MB, free: 19.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.187e-05/0.2272, allocations: 2.078 kB / 448.2 MB, free: 19.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.2274, allocations: 16.89 kB / 448.2 MB, free: 19.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.2274, allocations: 5.438 kB / 448.2 MB, free: 19.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.844e-05/0.2275, allocations: 6.734 kB / 448.2 MB, free: 19.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.2275, allocations: 3.25 kB / 448.2 MB, free: 19.02 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 0.0001154/0.2276, allocations: 127.4 kB / 448.4 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.361e-05/0.2276, allocations: 9.609 kB / 448.4 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000349/0.228, allocations: 124.4 kB / 448.5 MB, free: 18.87 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.228, allocations: 0 / 448.5 MB, free: 18.87 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/0.228, allocations: 6.766 kB / 448.5 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.228, allocations: 0.75 kB / 448.5 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005363/0.2285, allocations: 346 kB / 448.8 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2285, allocations: 3.75 kB / 448.8 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.687e-05/0.2286, allocations: 14.23 kB / 448.8 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.2286, allocations: 1.062 kB / 448.8 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.2286, allocations: 7.328 kB / 448.9 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.2286, allocations: 0.75 kB / 448.9 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.2286, allocations: 1.406 kB / 448.9 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002818/0.2289, allocations: 213.3 kB / 449.1 MB, free: 18.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.439e-05/0.2289, allocations: 11.62 kB / 449.1 MB, free: 18.48 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.673e-05/0.2289, allocations: 10.52 kB / 449.1 MB, free: 18.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/0.2291, allocations: 2.234 kB / 449.1 MB, free: 18.47 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.734e-05/0.2291, allocations: 7.141 kB / 449.1 MB, free: 18.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.076e-05/0.2291, allocations: 9.969 kB / 449.1 MB, free: 18.47 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001486/0.2293, allocations: 145.6 kB / 449.2 MB, free: 18.39 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2293, allocations: 0 / 449.2 MB, free: 18.39 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000474/0.2298, allocations: 25.53 kB / 449.3 MB, free: 18.39 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.002421/0.2322, allocations: 492.6 kB / 449.8 MB, free: 18.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002402/0.2324, allocations: 61.67 kB / 449.8 MB, free: 18.25 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2324, allocations: 3.938 kB / 449.8 MB, free: 18.25 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001189/0.2325, allocations: 33.17 kB / 449.9 MB, free: 18.24 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005722/0.2331, allocations: 40 kB / 449.9 MB, free: 18.24 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000471/0.2336, allocations: 229.9 kB / 450.1 MB, free: 18.08 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.794e-05/0.2337, allocations: 87.73 kB / 450.2 MB, free: 18.01 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.812e-05/0.2337, allocations: 17.19 kB / 450.2 MB, free: 18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.854e-05/0.2338, allocations: 20.86 kB / 450.2 MB, free: 17.99 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2338, allocations: 0 / 450.2 MB, free: 17.99 MB / 366.1 MB Notification: Performance of Templates: time 0.007318/0.2411, allocations: 1.842 MB / 452.1 MB, free: 17.75 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.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.125128585845232]