Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,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.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,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.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 96.14 kB / 15.87 MB, free: 12 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.001166/0.001166, allocations: 198.4 kB / 16.79 MB, free: 6.828 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.567/1.567, allocations: 205.1 MB / 222.6 MB, free: 4.785 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.3673/0.3673, allocations: 43.5 MB / 313.5 MB, free: 8.465 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.001974/0.001974, allocations: 64.38 kB / 382 MB, free: 8.734 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2077/0.2097, allocations: 57.79 MB / 439.8 MB, free: 14.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.005022/0.2149, allocations: 1.749 MB / 441.6 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001935/0.2169, allocations: 0.7963 MB / 442.4 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001121/0.217, allocations: 3.938 kB / 442.4 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005199/0.2175, allocations: 31.89 kB / 442.4 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002736/0.2178, allocations: 47.83 kB / 442.5 MB, free: 12.19 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003001/0.2181, allocations: 75.86 kB / 442.5 MB, free: 12.11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002819/0.2184, allocations: 95.69 kB / 442.6 MB, free: 12.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001776/0.2186, allocations: 12.22 kB / 442.6 MB, free: 12.01 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001245/0.2187, allocations: 39.78 kB / 442.7 MB, free: 11.97 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001098/0.2188, allocations: 35.78 kB / 442.7 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.15e-05/0.2189, allocations: 0 / 442.7 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001305/0.219, allocations: 35.98 kB / 442.7 MB, free: 11.9 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.343e-05/0.2191, allocations: 19.92 kB / 442.8 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.024e-05/0.2192, allocations: 35.73 kB / 442.8 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002423/0.2194, allocations: 111.9 kB / 442.9 MB, free: 11.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.747e-06/0.2195, allocations: 0 / 442.9 MB, free: 11.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2195, allocations: 0 / 442.9 MB, free: 11.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.757e-06/0.2195, allocations: 4 kB / 442.9 MB, free: 11.73 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.0007918/0.2203, allocations: 418.9 kB / 443.3 MB, free: 11.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.011e-05/0.2203, allocations: 12.03 kB / 443.3 MB, free: 11.26 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.232e-05/0.2204, allocations: 8.844 kB / 443.3 MB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003321/0.2208, allocations: 212 kB / 443.5 MB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.2208, allocations: 4.375 kB / 443.6 MB, free: 11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.211e-05/0.2208, allocations: 8.125 kB / 443.6 MB, free: 11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002047/0.221, allocations: 49.67 kB / 443.6 MB, free: 10.94 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.253e-05/0.2211, allocations: 8 kB / 443.6 MB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.2211, allocations: 7.938 kB / 443.6 MB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.2211, allocations: 3.938 kB / 443.6 MB, free: 10.92 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.18e-05/0.2212, allocations: 19.92 kB / 443.6 MB, free: 10.9 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005054/0.2217, allocations: 284.9 kB / 443.9 MB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002349/0.222, allocations: 58.67 kB / 444 MB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.69e-05/0.222, allocations: 20.86 kB / 444 MB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.898e-05/0.2221, allocations: 3.938 kB / 444 MB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002864/0.2224, allocations: 71.28 kB / 444.1 MB, free: 10.4 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.2224, allocations: 0 / 444.1 MB, free: 10.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007469/0.2231, allocations: 169.3 kB / 444.2 MB, free: 10.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.673e-05/0.2232, allocations: 55.41 kB / 444.3 MB, free: 10.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000242/0.2235, allocations: 186.1 kB / 444.5 MB, free: 9.965 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.2235, allocations: 29.7 kB / 444.5 MB, free: 9.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.607e-05/0.2236, allocations: 104.1 kB / 444.6 MB, free: 9.824 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.804e-05/0.2236, allocations: 19.72 kB / 444.6 MB, free: 9.805 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.132e-05/0.2237, allocations: 25.7 kB / 444.7 MB, free: 9.773 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001943/0.2239, allocations: 326.8 kB / 445 MB, free: 9.445 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.054e-05/0.224, allocations: 16 kB / 445 MB, free: 9.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.128e-05/0.2241, allocations: 37.7 kB / 445 MB, free: 9.387 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001768/0.2242, allocations: 65.64 kB / 445.1 MB, free: 9.316 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.2242, allocations: 0 / 445.1 MB, free: 9.316 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002029/0.2245, allocations: 105.5 kB / 445.2 MB, free: 9.207 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.2245, allocations: 8 kB / 445.2 MB, free: 9.199 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.2245, allocations: 0 / 445.2 MB, free: 9.199 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.345e-05/0.2245, allocations: 4.031 kB / 445.2 MB, free: 9.195 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.2246, allocations: 12 kB / 445.2 MB, free: 9.184 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.293e-05/0.2247, allocations: 4 kB / 445.2 MB, free: 9.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.27e-05/0.2247, allocations: 7.922 kB / 445.2 MB, free: 9.172 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.2247, allocations: 4.375 kB / 445.2 MB, free: 9.168 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.0001418/0.2249, allocations: 121.8 kB / 445.3 MB, free: 9.039 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.15e-05/0.2249, allocations: 7.906 kB / 445.4 MB, free: 9.031 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.833e-05/0.225, allocations: 20.7 kB / 445.4 MB, free: 9.016 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.225, allocations: 0 / 445.4 MB, free: 9.016 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.225, allocations: 8 kB / 445.4 MB, free: 9.008 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.225, allocations: 3.938 kB / 445.4 MB, free: 9.004 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000549/0.2256, allocations: 391.2 kB / 445.8 MB, free: 8.562 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2256, allocations: 3.938 kB / 445.8 MB, free: 8.559 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.832e-05/0.2256, allocations: 16.11 kB / 445.8 MB, free: 8.543 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.2257, allocations: 0 / 445.8 MB, free: 8.543 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.581e-05/0.2257, allocations: 7.875 kB / 445.8 MB, free: 8.535 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.2257, allocations: 4 kB / 445.8 MB, free: 8.531 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.2257, allocations: 4.031 kB / 445.8 MB, free: 8.527 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002813/0.226, allocations: 200.3 kB / 446 MB, free: 8.312 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.168e-05/0.2261, allocations: 85.02 kB / 446.1 MB, free: 8.211 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.818e-05/0.2261, allocations: 3.938 kB / 446.1 MB, free: 8.207 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.998e-05/0.2262, allocations: 7.984 kB / 446.1 MB, free: 8.199 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.188e-05/0.2262, allocations: 11.92 kB / 446.1 MB, free: 8.188 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.298e-05/0.2263, allocations: 8 kB / 446.1 MB, free: 8.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002175/0.2265, allocations: 148 kB / 446.3 MB, free: 8.035 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2265, allocations: 0 / 446.3 MB, free: 8.035 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002644/0.2268, allocations: 20 kB / 446.3 MB, free: 8.016 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.001328/0.2281, allocations: 481.1 kB / 446.8 MB, free: 7.574 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002201/0.2283, allocations: 55.92 kB / 446.8 MB, free: 7.52 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2283, allocations: 0 / 446.8 MB, free: 7.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.94e-05/0.2284, allocations: 27.98 kB / 446.8 MB, free: 7.492 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003823/0.2288, allocations: 27.92 kB / 446.9 MB, free: 7.465 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005749/0.2294, allocations: 245.2 kB / 447.1 MB, free: 7.195 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003546/0.2298, allocations: 0.7043 MB / 447.8 MB, free: 6.465 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.053e-05/0.2299, allocations: 20.88 kB / 447.8 MB, free: 6.445 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.116e-05/0.2299, allocations: 15.44 kB / 447.8 MB, free: 6.43 MB / 382.1 MB Notification: Performance of SimCode: time 2.01e-07/0.2299, allocations: 0 / 447.8 MB, free: 6.43 MB / 382.1 MB Notification: Performance of Templates: time 0.005371/0.2353, allocations: 1.63 MB / 449.5 MB, free: 4.801 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches