Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001691/0.001691, allocations: 113.6 kB / 17.08 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002627/0.002627, allocations: 198.3 kB / 18.01 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.819/2.819, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3985/0.3985, allocations: 43.52 MB / 314.8 MB, free: 464 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.007617/0.007618, allocations: 67.91 kB / 442.5 MB, free: 5.617 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2152/0.2228, allocations: 57.79 MB / 0.4886 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.006038/0.2289, allocations: 1.849 MB / 0.4904 GB, free: 9.887 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002927/0.2319, allocations: 0.9053 MB / 0.4913 GB, free: 8.973 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002691/0.2322, allocations: 3.938 kB / 0.4913 GB, free: 8.969 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006762/0.233, allocations: 155.5 kB / 0.4914 GB, free: 8.816 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006135/0.2336, allocations: 135.5 kB / 0.4916 GB, free: 8.684 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007254/0.2344, allocations: 155.6 kB / 0.4917 GB, free: 8.531 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005637/0.235, allocations: 215.4 kB / 0.4919 GB, free: 8.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001713/0.2352, allocations: 25.52 kB / 0.492 GB, free: 8.297 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003269/0.2355, allocations: 107.6 kB / 0.4921 GB, free: 8.191 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000343/0.2359, allocations: 119.5 kB / 0.4922 GB, free: 8.074 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.235e-05/0.2359, allocations: 8 kB / 0.4922 GB, free: 8.066 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002239/0.2362, allocations: 47.97 kB / 0.4922 GB, free: 8.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001365/0.2363, allocations: 47.84 kB / 0.4923 GB, free: 7.973 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001748/0.2365, allocations: 75.36 kB / 0.4923 GB, free: 7.898 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000567/0.2371, allocations: 191.4 kB / 0.4925 GB, free: 7.711 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.2371, allocations: 0 / 0.4925 GB, free: 7.711 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.2371, allocations: 0 / 0.4925 GB, free: 7.711 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.858e-05/0.2372, allocations: 0 / 0.4925 GB, free: 7.711 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.001156/0.2383, allocations: 0.5137 MB / 0.493 GB, free: 7.148 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.653e-05/0.2384, allocations: 15.89 kB / 0.493 GB, free: 7.133 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001222/0.2385, allocations: 24.66 kB / 0.4931 GB, free: 7.109 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007245/0.2393, allocations: 267.5 kB / 0.4933 GB, free: 6.805 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.629e-05/0.2393, allocations: 4.375 kB / 0.4933 GB, free: 6.801 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.223e-05/0.2394, allocations: 12.12 kB / 0.4933 GB, free: 6.789 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004284/0.2398, allocations: 103.2 kB / 0.4934 GB, free: 6.676 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.988e-05/0.2399, allocations: 0 / 0.4934 GB, free: 6.676 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.73e-05/0.2399, allocations: 4 kB / 0.4934 GB, free: 6.672 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.532e-05/0.2399, allocations: 4 kB / 0.4934 GB, free: 6.668 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002495/0.2402, allocations: 39.91 kB / 0.4935 GB, free: 6.629 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000948/0.2412, allocations: 440.9 kB / 0.4939 GB, free: 6.145 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006019/0.2418, allocations: 117.3 kB / 0.494 GB, free: 6.012 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001836/0.242, allocations: 37.7 kB / 0.494 GB, free: 5.969 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.269e-05/0.2421, allocations: 7.984 kB / 0.4941 GB, free: 5.961 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004023/0.2425, allocations: 113 kB / 0.4942 GB, free: 5.832 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 2.815e-06/0.2425, allocations: 0 / 0.4942 GB, free: 5.832 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001909/0.2444, allocations: 352 kB / 0.4945 GB, free: 5.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.308e-05/0.2446, allocations: 89.03 kB / 0.4946 GB, free: 5.375 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007097/0.2453, allocations: 351 kB / 0.4949 GB, free: 5.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.018e-05/0.2453, allocations: 25.7 kB / 0.4949 GB, free: 4.988 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001862/0.2455, allocations: 148.4 kB / 0.4951 GB, free: 4.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/0.2457, allocations: 51.28 kB / 0.4951 GB, free: 4.789 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/0.2458, allocations: 37.7 kB / 0.4952 GB, free: 4.746 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002186/0.246, allocations: 338.8 kB / 0.4955 GB, free: 4.406 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00022/0.2463, allocations: 39.98 kB / 0.4955 GB, free: 4.367 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002252/0.2465, allocations: 74.83 kB / 0.4956 GB, free: 4.285 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000467/0.247, allocations: 127.4 kB / 0.4957 GB, free: 4.148 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.247, allocations: 0.75 kB / 0.4957 GB, free: 4.148 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006857/0.2477, allocations: 181.2 kB / 0.4959 GB, free: 3.965 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.77e-05/0.2478, allocations: 4 kB / 0.4959 GB, free: 3.961 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.2478, allocations: 0 / 0.4959 GB, free: 3.961 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.389e-05/0.2478, allocations: 4.062 kB / 0.4959 GB, free: 3.957 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002786/0.2481, allocations: 31.98 kB / 0.4959 GB, free: 3.926 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.903e-05/0.2482, allocations: 11.88 kB / 0.4959 GB, free: 3.914 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001778/0.2484, allocations: 15.98 kB / 0.496 GB, free: 3.898 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.402e-05/0.2484, allocations: 4 kB / 0.496 GB, free: 3.895 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0002576/0.2487, allocations: 157.7 kB / 0.4961 GB, free: 3.73 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.473e-05/0.2488, allocations: 27.7 kB / 0.4961 GB, free: 3.703 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001079/0.2489, allocations: 29.73 kB / 0.4962 GB, free: 3.676 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/0.2489, allocations: 4 kB / 0.4962 GB, free: 3.672 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.128e-05/0.249, allocations: 7.938 kB / 0.4962 GB, free: 3.664 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.249, allocations: 0 / 0.4962 GB, free: 3.664 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001463/0.2504, allocations: 0.6124 MB / 0.4968 GB, free: 2.988 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.2505, allocations: 0 / 0.4968 GB, free: 2.988 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001247/0.2506, allocations: 19.98 kB / 0.4968 GB, free: 2.969 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-06/0.2506, allocations: 0 / 0.4968 GB, free: 2.969 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.564e-05/0.2507, allocations: 8.062 kB / 0.4968 GB, free: 2.961 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.232e-06/0.2507, allocations: 7.938 kB / 0.4968 GB, free: 2.953 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.2507, allocations: 4 kB / 0.4968 GB, free: 2.949 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005976/0.2513, allocations: 356.1 kB / 0.4972 GB, free: 2.578 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.828e-05/0.2514, allocations: 96.83 kB / 0.4972 GB, free: 2.465 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.335e-05/0.2515, allocations: 15.98 kB / 0.4973 GB, free: 2.449 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001958/0.2517, allocations: 4 kB / 0.4973 GB, free: 2.445 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.829e-05/0.2518, allocations: 15.92 kB / 0.4973 GB, free: 2.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.338e-05/0.2518, allocations: 8 kB / 0.4973 GB, free: 2.422 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000373/0.2522, allocations: 261.9 kB / 0.4975 GB, free: 2.168 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2522, allocations: 0 / 0.4975 GB, free: 2.168 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005481/0.2528, allocations: 43.98 kB / 0.4976 GB, free: 2.125 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001851/0.2546, allocations: 467.4 kB / 0.498 GB, free: 1.703 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006094/0.2553, allocations: 119.8 kB / 0.4981 GB, free: 1.586 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.015e-05/0.2553, allocations: 4.125 kB / 0.4981 GB, free: 1.582 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002657/0.2556, allocations: 59.91 kB / 0.4982 GB, free: 1.523 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/0.2566, allocations: 64.59 kB / 0.4983 GB, free: 1.453 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001406/0.258, allocations: 471.8 kB / 0.4987 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005492/0.2586, allocations: 0.7516 MB / 0.4994 GB, free: 180 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/0.2587, allocations: 27.42 kB / 0.4995 GB, free: 152 kB / 382.1 MB Notification: Performance of SimCode: time 1.844e-06/0.2588, allocations: 4 kB / 0.4995 GB, free: 148 kB / 382.1 MB Notification: Performance of Templates: time 0.01185/0.2706, allocations: 3.144 MB / 0.5025 GB, free: 13 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches