Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001934/0.001934, allocations: 113.5 kB / 17.08 MB, free: 5.961 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.002445/0.002445, allocations: 198.4 kB / 18.02 MB, free: 5.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.099/3.099, allocations: 205.1 MB / 223.9 MB, free: 12.22 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.4841/0.4841, allocations: 43.52 MB / 314.8 MB, free: 460 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.002611/0.002611, allocations: 81.44 kB / 442.5 MB, free: 5.594 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2149/0.2175, allocations: 57.78 MB / 0.4886 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.006916/0.2245, allocations: 1.779 MB / 0.4903 GB, free: 9.934 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004809/0.2294, allocations: 1.48 MB / 0.4918 GB, free: 8.441 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002527/0.2297, allocations: 7.938 kB / 0.4918 GB, free: 8.434 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006705/0.2305, allocations: 47.77 kB / 0.4918 GB, free: 8.387 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006759/0.2312, allocations: 91.53 kB / 0.4919 GB, free: 8.297 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00074/0.232, allocations: 147.5 kB / 0.4921 GB, free: 8.152 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004928/0.2325, allocations: 179.5 kB / 0.4922 GB, free: 7.977 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.2326, allocations: 17.55 kB / 0.4922 GB, free: 7.961 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003275/0.233, allocations: 87.61 kB / 0.4923 GB, free: 7.875 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003945/0.2334, allocations: 71.62 kB / 0.4924 GB, free: 7.805 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.896e-05/0.2334, allocations: 8 kB / 0.4924 GB, free: 7.797 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002679/0.2337, allocations: 59.98 kB / 0.4925 GB, free: 7.738 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001097/0.2338, allocations: 31.89 kB / 0.4925 GB, free: 7.707 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001293/0.234, allocations: 51.61 kB / 0.4925 GB, free: 7.656 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005734/0.2346, allocations: 171.4 kB / 0.4927 GB, free: 7.488 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/0.2346, allocations: 0 / 0.4927 GB, free: 7.488 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.2346, allocations: 0 / 0.4927 GB, free: 7.488 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.298e-05/0.2346, allocations: 4 kB / 0.4927 GB, free: 7.484 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001105/0.2358, allocations: 470.6 kB / 0.4932 GB, free: 6.977 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.323e-05/0.2358, allocations: 11.89 kB / 0.4932 GB, free: 6.965 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001172/0.236, allocations: 20.75 kB / 0.4932 GB, free: 6.945 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006858/0.2367, allocations: 251.6 kB / 0.4934 GB, free: 6.66 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.914e-05/0.2367, allocations: 8.359 kB / 0.4934 GB, free: 6.652 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.292e-05/0.2368, allocations: 8.125 kB / 0.4934 GB, free: 6.645 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003631/0.2371, allocations: 97.08 kB / 0.4935 GB, free: 6.531 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.2372, allocations: 0 / 0.4935 GB, free: 6.531 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/0.2372, allocations: 0 / 0.4935 GB, free: 6.531 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.2372, allocations: 4 kB / 0.4935 GB, free: 6.527 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001808/0.2374, allocations: 31.92 kB / 0.4936 GB, free: 6.496 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004366/0.2379, allocations: 214.5 kB / 0.4938 GB, free: 6.234 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004953/0.2384, allocations: 105.2 kB / 0.4939 GB, free: 6.113 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001587/0.2386, allocations: 41.64 kB / 0.4939 GB, free: 6.066 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.301e-05/0.2386, allocations: 11.94 kB / 0.4939 GB, free: 6.055 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003654/0.239, allocations: 112.9 kB / 0.494 GB, free: 5.926 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 2.415e-06/0.239, allocations: 0 / 0.494 GB, free: 5.926 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0008595/0.2399, allocations: 161.4 kB / 0.4942 GB, free: 5.762 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002413/0.2401, allocations: 136.5 kB / 0.4943 GB, free: 5.598 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004524/0.2406, allocations: 215.8 kB / 0.4945 GB, free: 5.371 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.779e-05/0.2407, allocations: 29.7 kB / 0.4946 GB, free: 5.336 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.2408, allocations: 112.1 kB / 0.4947 GB, free: 5.223 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.32e-05/0.2409, allocations: 27.64 kB / 0.4947 GB, free: 5.195 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.241, allocations: 29.66 kB / 0.4947 GB, free: 5.16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002257/0.2413, allocations: 326.8 kB / 0.495 GB, free: 4.832 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001566/0.2414, allocations: 35.97 kB / 0.4951 GB, free: 4.797 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001872/0.2416, allocations: 69.14 kB / 0.4951 GB, free: 4.711 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000321/0.242, allocations: 87.86 kB / 0.4952 GB, free: 4.613 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.242, allocations: 0 / 0.4952 GB, free: 4.613 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005131/0.2425, allocations: 145.4 kB / 0.4954 GB, free: 4.465 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.929e-05/0.2426, allocations: 8 kB / 0.4954 GB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.2426, allocations: 0 / 0.4954 GB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.716e-05/0.2426, allocations: 0 / 0.4954 GB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002098/0.2428, allocations: 27.92 kB / 0.4954 GB, free: 4.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.596e-05/0.2429, allocations: 3.984 kB / 0.4954 GB, free: 4.426 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001653/0.2431, allocations: 11.91 kB / 0.4954 GB, free: 4.414 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.935e-05/0.2431, allocations: 4 kB / 0.4954 GB, free: 4.41 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_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0002175/0.2433, allocations: 137.8 kB / 0.4955 GB, free: 4.266 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001575/0.2435, allocations: 15.81 kB / 0.4956 GB, free: 4.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.15e-05/0.2436, allocations: 24.92 kB / 0.4956 GB, free: 4.223 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.2436, allocations: 0 / 0.4956 GB, free: 4.223 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.759e-06/0.2436, allocations: 0 / 0.4956 GB, free: 4.223 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.2437, allocations: 0 / 0.4956 GB, free: 4.223 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004587/0.2441, allocations: 221.5 kB / 0.4958 GB, free: 3.957 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.2441, allocations: 0 / 0.4958 GB, free: 3.957 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.315e-05/0.2442, allocations: 11.98 kB / 0.4958 GB, free: 3.945 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.2442, allocations: 0 / 0.4958 GB, free: 3.945 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.492e-05/0.2443, allocations: 12 kB / 0.4958 GB, free: 3.934 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.2443, allocations: 0 / 0.4958 GB, free: 3.934 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.092e-06/0.2443, allocations: 0 / 0.4958 GB, free: 3.934 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005298/0.2448, allocations: 177.6 kB / 0.496 GB, free: 3.738 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.048e-05/0.245, allocations: 92.91 kB / 0.4961 GB, free: 3.629 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.53e-05/0.245, allocations: 4 kB / 0.4961 GB, free: 3.625 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.2452, allocations: 8 kB / 0.4961 GB, free: 3.617 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.335e-05/0.2453, allocations: 7.984 kB / 0.4961 GB, free: 3.609 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.19e-05/0.2453, allocations: 4 kB / 0.4961 GB, free: 3.605 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002889/0.2456, allocations: 169.5 kB / 0.4963 GB, free: 3.441 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.2456, allocations: 0 / 0.4963 GB, free: 3.441 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004559/0.2461, allocations: 32 kB / 0.4963 GB, free: 3.41 MB / 382.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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.00188/0.248, allocations: 455.9 kB / 0.4967 GB, free: 3 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004614/0.2485, allocations: 84.03 kB / 0.4968 GB, free: 2.918 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/0.2485, allocations: 4 kB / 0.4968 GB, free: 2.914 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001717/0.2487, allocations: 35.98 kB / 0.4968 GB, free: 2.879 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006276/0.2493, allocations: 67.23 kB / 0.4969 GB, free: 2.816 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/0.2505, allocations: 301.6 kB / 0.4972 GB, free: 2.484 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005265/0.2511, allocations: 0.7124 MB / 0.4979 GB, free: 1.746 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001125/0.2512, allocations: 27.42 kB / 0.4979 GB, free: 1.719 MB / 382.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2512, allocations: 0 / 0.4979 GB, free: 1.719 MB / 382.1 MB Notification: Performance of Templates: time 0.0105/0.2617, allocations: 2.754 MB / 0.5006 GB, free: 14.97 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches