Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.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.Test60,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.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,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.Test60") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009927/0.0009926, allocations: 95.34 kB / 17.35 MB, free: 6.344 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.001129/0.00113, allocations: 173.8 kB / 18.25 MB, free: 5.504 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.577/1.577, allocations: 223.3 MB / 242.3 MB, free: 14.48 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.2179/0.2179, allocations: 44.24 MB / 337.7 MB, free: 2.426 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006127/0.0006128, allocations: 8 kB / 410.3 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2059/0.2066, allocations: 61.92 MB / 472.3 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.002752/0.2094, allocations: 1.417 MB / 473.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002754/0.2122, allocations: 1.429 MB / 475.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.148e-05/0.2123, allocations: 3.938 kB / 475.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003456/0.2126, allocations: 31.89 kB / 475.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002616/0.2129, allocations: 47.83 kB / 475.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003722/0.2133, allocations: 95.77 kB / 475.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002118/0.2135, allocations: 95.69 kB / 475.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.2137, allocations: 12.22 kB / 475.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001137/0.2138, allocations: 35.8 kB / 475.4 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001714/0.214, allocations: 39.83 kB / 475.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.817e-05/0.214, allocations: 0 / 475.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001631/0.2142, allocations: 59.91 kB / 475.5 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.841e-05/0.2142, allocations: 23.86 kB / 475.5 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.49e-05/0.2143, allocations: 53.5 kB / 475.6 MB, free: 9.949 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002747/0.2146, allocations: 112 kB / 475.7 MB, free: 9.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.2146, allocations: 0 / 475.7 MB, free: 9.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.528e-06/0.2146, allocations: 0 / 475.7 MB, free: 9.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.097e-06/0.2146, allocations: 3.938 kB / 475.7 MB, free: 9.836 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.0006697/0.2153, allocations: 391.3 kB / 476.1 MB, free: 9.406 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.2154, allocations: 8.031 kB / 476.1 MB, free: 9.398 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.24e-05/0.2154, allocations: 12.75 kB / 476.1 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002918/0.2157, allocations: 210.4 kB / 476.3 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.2158, allocations: 384 / 476.3 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.687e-05/0.2158, allocations: 8.125 kB / 476.3 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002038/0.216, allocations: 67.39 kB / 476.4 MB, free: 9.059 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.216, allocations: 0 / 476.4 MB, free: 9.059 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.802e-05/0.2161, allocations: 8 kB / 476.4 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.2161, allocations: 3.984 kB / 476.4 MB, free: 9.047 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.89e-05/0.2162, allocations: 15.94 kB / 476.4 MB, free: 9.031 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004771/0.2167, allocations: 280.8 kB / 476.7 MB, free: 8.707 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002141/0.2169, allocations: 62.67 kB / 476.8 MB, free: 8.637 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.717e-05/0.217, allocations: 20.84 kB / 476.8 MB, free: 8.613 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.666e-05/0.217, allocations: 0 / 476.8 MB, free: 8.613 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002215/0.2172, allocations: 71.33 kB / 476.8 MB, free: 8.531 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.023e-06/0.2173, allocations: 3.938 kB / 476.8 MB, free: 8.527 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006718/0.2179, allocations: 185.2 kB / 477 MB, free: 8.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.301e-05/0.218, allocations: 81.11 kB / 477.1 MB, free: 8.242 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001764/0.2182, allocations: 145.8 kB / 477.2 MB, free: 8.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.2183, allocations: 25.7 kB / 477.3 MB, free: 8.059 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.042e-05/0.2183, allocations: 100.1 kB / 477.4 MB, free: 7.957 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.79e-05/0.2184, allocations: 23.7 kB / 477.4 MB, free: 7.934 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.663e-05/0.2184, allocations: 13.72 kB / 477.4 MB, free: 7.914 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.2186, allocations: 322.8 kB / 477.7 MB, free: 7.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.295e-05/0.2187, allocations: 20 kB / 477.7 MB, free: 7.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.97e-05/0.2188, allocations: 46.56 kB / 477.8 MB, free: 7.516 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001567/0.219, allocations: 61.64 kB / 477.8 MB, free: 7.449 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.219, allocations: 0 / 477.8 MB, free: 7.449 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002554/0.2192, allocations: 89.59 kB / 477.9 MB, free: 7.355 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.2193, allocations: 14.67 kB / 478 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.2193, allocations: 0 / 478 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.2193, allocations: 8 kB / 478 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.2194, allocations: 15.94 kB / 478 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.2195, allocations: 4.156 kB / 478 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.228e-05/0.2195, allocations: 15.86 kB / 478 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.2196, allocations: 7.984 kB / 478 MB, free: 7.293 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.0001223/0.2197, allocations: 117.8 kB / 478.1 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.768e-05/0.2197, allocations: 7.906 kB / 478.1 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.724e-05/0.2198, allocations: 12.72 kB / 478.1 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.2198, allocations: 3.984 kB / 478.1 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.2198, allocations: 4 kB / 478.1 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.216e-06/0.2198, allocations: 3.938 kB / 478.1 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005806/0.2204, allocations: 391.2 kB / 478.5 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.2204, allocations: 3.984 kB / 478.5 MB, free: 6.688 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.177e-05/0.2205, allocations: 8 kB / 478.5 MB, free: 6.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.874e-06/0.2205, allocations: 4 kB / 478.5 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.2205, allocations: 11.86 kB / 478.6 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.2205, allocations: 32 / 478.6 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.2205, allocations: 4 kB / 478.6 MB, free: 6.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002915/0.2208, allocations: 200.3 kB / 478.8 MB, free: 6.445 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.292e-05/0.2209, allocations: 89 kB / 478.8 MB, free: 6.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.696e-05/0.221, allocations: 15.88 kB / 478.9 MB, free: 6.324 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.2211, allocations: 0 / 478.9 MB, free: 6.324 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.058e-05/0.2211, allocations: 11.98 kB / 478.9 MB, free: 6.312 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.928e-05/0.2212, allocations: 4 kB / 478.9 MB, free: 6.309 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001232/0.2213, allocations: 113.7 kB / 479 MB, free: 6.199 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.2213, allocations: 0 / 479 MB, free: 6.199 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004288/0.2217, allocations: 39.98 kB / 479 MB, free: 6.16 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.001657/0.2234, allocations: 0.4886 MB / 479.5 MB, free: 5.863 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002457/0.2237, allocations: 55.97 kB / 479.6 MB, free: 5.809 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.2237, allocations: 0 / 479.6 MB, free: 5.809 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.537e-05/0.2238, allocations: 39.92 kB / 479.6 MB, free: 5.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004972/0.2243, allocations: 23.98 kB / 479.6 MB, free: 5.746 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005912/0.2249, allocations: 210 kB / 479.8 MB, free: 5.508 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003817/0.2253, allocations: 0.7043 MB / 480.5 MB, free: 4.777 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.652e-05/0.2254, allocations: 12.88 kB / 480.6 MB, free: 4.762 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.107e-05/0.2255, allocations: 23.36 kB / 480.6 MB, free: 4.738 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2255, allocations: 0 / 480.6 MB, free: 4.738 MB / 350.1 MB Notification: Performance of Templates: time 0.007469/0.233, allocations: 1.886 MB / 482.5 MB, free: 2.871 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches