Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 104.3 kB / 18.4 MB, free: 4.57 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.0009826/0.0009826, allocations: 191 kB / 19.34 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.568/1.568, allocations: 222.9 MB / 243 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2773/0.2773, allocations: 44.18 MB / 337.4 MB, free: 2.711 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002635/0.002635, allocations: 64.48 kB / 409.9 MB, free: 26.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2015/0.2042, allocations: 60.83 MB / 470.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.004694/0.2089, allocations: 1.699 MB / 472.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002178/0.2111, allocations: 0.8808 MB / 473.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001416/0.2113, allocations: 3.938 kB / 473.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003683/0.2117, allocations: 43.81 kB / 473.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003555/0.2121, allocations: 63.69 kB / 473.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004989/0.2126, allocations: 115.4 kB / 473.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002234/0.2129, allocations: 95.75 kB / 473.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.213, allocations: 4.234 kB / 473.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001148/0.2131, allocations: 43.78 kB / 473.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.566e-05/0.2132, allocations: 31.78 kB / 473.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.162e-05/0.2133, allocations: 4 kB / 473.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001209/0.2134, allocations: 43.98 kB / 473.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.407e-05/0.2135, allocations: 27.86 kB / 473.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.862e-05/0.2135, allocations: 35.75 kB / 473.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000246/0.2138, allocations: 119.6 kB / 473.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2138, allocations: 0 / 473.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2138, allocations: 0 / 473.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.112e-05/0.2138, allocations: 0 / 473.9 MB, free: 10.44 MB / 350.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.000591/0.2144, allocations: 434.8 kB / 474.3 MB, free: 9.965 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.2145, allocations: 8.031 kB / 474.3 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.409e-05/0.2145, allocations: 12.75 kB / 474.4 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003166/0.2148, allocations: 212.1 kB / 474.6 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.2149, allocations: 4.375 kB / 474.6 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.021e-05/0.2149, allocations: 4.125 kB / 474.6 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.2151, allocations: 57.61 kB / 474.6 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.2151, allocations: 4 kB / 474.6 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.2151, allocations: 0 / 474.6 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.85e-06/0.2151, allocations: 0 / 474.6 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.704e-05/0.2152, allocations: 27.91 kB / 474.7 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004604/0.2157, allocations: 296.7 kB / 475 MB, free: 9.258 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001815/0.2159, allocations: 58.67 kB / 475 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.498e-05/0.2159, allocations: 20.84 kB / 475 MB, free: 9.168 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.578e-05/0.216, allocations: 4 kB / 475 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001651/0.2161, allocations: 75.31 kB / 475.1 MB, free: 9.078 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.2161, allocations: 0 / 475.1 MB, free: 9.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005953/0.2167, allocations: 173.4 kB / 475.3 MB, free: 8.902 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.822e-05/0.2168, allocations: 51.41 kB / 475.3 MB, free: 8.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002411/0.2171, allocations: 218.7 kB / 475.5 MB, free: 8.609 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.2171, allocations: 25.7 kB / 475.6 MB, free: 8.578 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.828e-05/0.2172, allocations: 116 kB / 475.7 MB, free: 8.461 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.097e-05/0.2172, allocations: 27.64 kB / 475.7 MB, free: 8.434 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.104e-05/0.2173, allocations: 25.72 kB / 475.7 MB, free: 8.402 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000231/0.2175, allocations: 330.8 kB / 476.1 MB, free: 8.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.087e-05/0.2176, allocations: 20.11 kB / 476.1 MB, free: 8.051 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.874e-05/0.2176, allocations: 41.7 kB / 476.1 MB, free: 8.004 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001156/0.2178, allocations: 61.64 kB / 476.2 MB, free: 7.938 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.2178, allocations: 0 / 476.2 MB, free: 7.938 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002348/0.218, allocations: 105.5 kB / 476.3 MB, free: 7.828 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.218, allocations: 4 kB / 476.3 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.2181, allocations: 0 / 476.3 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.2181, allocations: 4 kB / 476.3 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.965e-05/0.2182, allocations: 15.98 kB / 476.3 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.2182, allocations: 0 / 476.3 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.631e-05/0.2183, allocations: 11.94 kB / 476.3 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.2183, allocations: 0 / 476.3 MB, free: 7.793 MB / 350.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.0001244/0.2184, allocations: 132.4 kB / 476.4 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.942e-05/0.2184, allocations: 19.84 kB / 476.5 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001882/0.2186, allocations: 17.39 kB / 476.5 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.2186, allocations: 4 kB / 476.5 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.2187, allocations: 0 / 476.5 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.2187, allocations: 4.125 kB / 476.5 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005022/0.2192, allocations: 391.5 kB / 476.9 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.2192, allocations: 3.938 kB / 476.9 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.698e-05/0.2192, allocations: 15.92 kB / 476.9 MB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.2193, allocations: 8.031 kB / 476.9 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.2193, allocations: 3.938 kB / 476.9 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.2193, allocations: 0 / 476.9 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.2193, allocations: 80 / 476.9 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002744/0.2196, allocations: 208.2 kB / 477.1 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.037e-05/0.2196, allocations: 81.02 kB / 477.2 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.146e-05/0.2197, allocations: 11.92 kB / 477.2 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.875e-05/0.2198, allocations: 8 kB / 477.2 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.047e-05/0.2198, allocations: 4 kB / 477.2 MB, free: 6.797 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.393e-05/0.2199, allocations: 7.984 kB / 477.2 MB, free: 6.789 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001678/0.22, allocations: 175.2 kB / 477.4 MB, free: 6.617 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.104e-06/0.2201, allocations: 0 / 477.4 MB, free: 6.617 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003175/0.2204, allocations: 27.94 kB / 477.4 MB, free: 6.59 MB / 350.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 (8): * Single equations (assignments): 6 * 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.001288/0.2217, allocations: 465 kB / 477.9 MB, free: 6.312 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002024/0.2219, allocations: 55.92 kB / 477.9 MB, free: 6.258 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.2219, allocations: 0 / 477.9 MB, free: 6.258 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.995e-05/0.222, allocations: 31.98 kB / 478 MB, free: 6.227 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004628/0.2225, allocations: 24.11 kB / 478 MB, free: 6.203 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006349/0.2231, allocations: 266.7 kB / 478.2 MB, free: 5.914 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004754/0.2236, allocations: 0.708 MB / 478.9 MB, free: 5.18 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.87e-05/0.2237, allocations: 25.11 kB / 479 MB, free: 5.156 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.879e-05/0.2237, allocations: 15.44 kB / 479 MB, free: 5.141 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2237, allocations: 0 / 479 MB, free: 5.141 MB / 350.1 MB Notification: Performance of Templates: time 0.005526/0.2292, allocations: 1.717 MB / 480.7 MB, free: 3.441 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches