Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001688/0.001687, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002194/0.002194, allocations: 202.9 kB / 16.79 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.668/1.668, allocations: 205.1 MB / 222.6 MB, free: 4.777 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5053/0.5053, allocations: 43.49 MB / 313.5 MB, free: 8.238 MB / 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.001574/0.001574, allocations: 67.91 kB / 382 MB, free: 8.5 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2053/0.2069, allocations: 57.78 MB / 439.8 MB, free: 14.61 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.004113/0.211, allocations: 1.764 MB / 441.6 MB, free: 12.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001758/0.2128, allocations: 0.7846 MB / 442.4 MB, free: 12.03 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.208e-05/0.213, allocations: 0 / 442.4 MB, free: 12.03 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005952/0.2136, allocations: 87.75 kB / 442.5 MB, free: 11.95 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002469/0.2138, allocations: 67.8 kB / 442.5 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000251/0.2141, allocations: 75.84 kB / 442.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000231/0.2143, allocations: 107.7 kB / 442.7 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.2144, allocations: 12.22 kB / 442.7 MB, free: 11.69 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.2146, allocations: 51.72 kB / 442.8 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001194/0.2147, allocations: 67.73 kB / 442.8 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.814e-05/0.2147, allocations: 0 / 442.8 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.2148, allocations: 39.98 kB / 442.9 MB, free: 11.53 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.056e-05/0.2149, allocations: 27.91 kB / 442.9 MB, free: 11.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.541e-05/0.215, allocations: 35.69 kB / 442.9 MB, free: 11.47 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002202/0.2152, allocations: 115.9 kB / 443 MB, free: 11.36 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.2152, allocations: 0 / 443 MB, free: 11.36 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.407e-06/0.2152, allocations: 4 kB / 443 MB, free: 11.35 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.2153, allocations: 0 / 443 MB, free: 11.35 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007308/0.216, allocations: 430.8 kB / 443.5 MB, free: 10.88 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.482e-05/0.2161, allocations: 8.031 kB / 443.5 MB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.103e-05/0.2161, allocations: 12.83 kB / 443.5 MB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003199/0.2164, allocations: 216 kB / 443.7 MB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.2165, allocations: 4.375 kB / 443.7 MB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.016e-05/0.2165, allocations: 4.125 kB / 443.7 MB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.2167, allocations: 53.67 kB / 443.8 MB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/0.2167, allocations: 7.984 kB / 443.8 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.2167, allocations: 4 kB / 443.8 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/0.2167, allocations: 0 / 443.8 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.306e-05/0.2168, allocations: 19.92 kB / 443.8 MB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000441/0.2173, allocations: 292.8 kB / 444.1 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001937/0.2175, allocations: 62.66 kB / 444.1 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.633e-05/0.2176, allocations: 20.86 kB / 444.2 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.3e-05/0.2176, allocations: 4 kB / 444.2 MB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002465/0.2178, allocations: 67.33 kB / 444.2 MB, free: 10 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.173e-06/0.2178, allocations: 0 / 444.2 MB, free: 10 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006231/0.2185, allocations: 177.1 kB / 444.4 MB, free: 9.824 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.454e-05/0.2185, allocations: 51.41 kB / 444.5 MB, free: 9.762 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002307/0.2188, allocations: 222.7 kB / 444.7 MB, free: 9.535 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.2188, allocations: 25.7 kB / 444.7 MB, free: 9.504 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.503e-05/0.2189, allocations: 108.1 kB / 444.8 MB, free: 9.395 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.281e-05/0.2189, allocations: 27.64 kB / 444.8 MB, free: 9.367 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.87e-05/0.219, allocations: 25.7 kB / 444.9 MB, free: 9.336 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.2192, allocations: 326.8 kB / 445.2 MB, free: 9.008 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.401e-05/0.2192, allocations: 23.98 kB / 445.2 MB, free: 8.984 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.819e-05/0.2193, allocations: 45.64 kB / 445.2 MB, free: 8.934 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001158/0.2195, allocations: 53.66 kB / 445.3 MB, free: 8.875 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.2195, allocations: 0 / 445.3 MB, free: 8.875 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001952/0.2197, allocations: 105.5 kB / 445.4 MB, free: 8.766 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.2197, allocations: 4 kB / 445.4 MB, free: 8.762 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.2197, allocations: 0 / 445.4 MB, free: 8.762 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.2197, allocations: 3.938 kB / 445.4 MB, free: 8.758 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.2199, allocations: 24.3 kB / 445.4 MB, free: 8.734 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.2199, allocations: 4.188 kB / 445.4 MB, free: 8.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.677e-05/0.2199, allocations: 3.938 kB / 445.4 MB, free: 8.727 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.2199, allocations: 12 kB / 445.4 MB, free: 8.715 MB / 382.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.0001252/0.2201, allocations: 129.8 kB / 445.6 MB, free: 8.578 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.426e-05/0.2201, allocations: 11.91 kB / 445.6 MB, free: 8.566 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.844e-05/0.2202, allocations: 21.39 kB / 445.6 MB, free: 8.547 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.2202, allocations: 4 kB / 445.6 MB, free: 8.543 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.2202, allocations: 0 / 445.6 MB, free: 8.543 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.2202, allocations: 11.92 kB / 445.6 MB, free: 8.531 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005051/0.2207, allocations: 395.2 kB / 446 MB, free: 8.086 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.2207, allocations: 0 / 446 MB, free: 8.086 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.105e-05/0.2208, allocations: 8 kB / 446 MB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.2208, allocations: 0 / 446 MB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/0.2208, allocations: 11.88 kB / 446 MB, free: 8.066 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.307e-06/0.2208, allocations: 3.984 kB / 446 MB, free: 8.062 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.2208, allocations: 0 / 446 MB, free: 8.062 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002564/0.2211, allocations: 204.3 kB / 446.2 MB, free: 7.844 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.778e-05/0.2212, allocations: 88.92 kB / 446.3 MB, free: 7.738 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.26e-05/0.2212, allocations: 7.938 kB / 446.3 MB, free: 7.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.474e-05/0.2213, allocations: 0 / 446.3 MB, free: 7.73 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.711e-05/0.2213, allocations: 11.98 kB / 446.3 MB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.67e-05/0.2214, allocations: 4 kB / 446.3 MB, free: 7.715 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001686/0.2215, allocations: 176.3 kB / 446.5 MB, free: 7.543 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2215, allocations: 0 / 446.5 MB, free: 7.543 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002694/0.2218, allocations: 24 kB / 446.5 MB, free: 7.52 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: 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.001232/0.223, allocations: 466.3 kB / 447 MB, free: 7.102 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001851/0.2232, allocations: 59.95 kB / 447.1 MB, free: 7.043 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2233, allocations: 0 / 447.1 MB, free: 7.043 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.136e-05/0.2233, allocations: 27.94 kB / 447.1 MB, free: 7.016 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003666/0.2237, allocations: 31.97 kB / 447.1 MB, free: 6.984 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005433/0.2243, allocations: 276.8 kB / 447.4 MB, free: 6.684 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003956/0.2247, allocations: 0.7121 MB / 448.1 MB, free: 5.945 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001569/0.2248, allocations: 17.19 kB / 448.1 MB, free: 5.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.234e-05/0.2249, allocations: 23.36 kB / 448.1 MB, free: 5.906 MB / 382.1 MB Notification: Performance of SimCode: time 2.104e-06/0.2249, allocations: 0 / 448.1 MB, free: 5.906 MB / 382.1 MB Notification: Performance of Templates: time 0.005392/0.2303, allocations: 1.657 MB / 449.8 MB, free: 4.25 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches