Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.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.Test84,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.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,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.Test84") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001278/0.001278, 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.001389/0.001389, allocations: 203.8 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.658/1.658, allocations: 205.1 MB / 222.6 MB, free: 4.773 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.4766/0.4766, allocations: 43.5 MB / 313.5 MB, free: 8.281 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.001932/0.001932, allocations: 75.89 kB / 382.1 MB, free: 8.5 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1979/0.1999, allocations: 57.78 MB / 439.8 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.00589/0.2059, allocations: 1.753 MB / 441.6 MB, free: 12.85 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00339/0.2093, allocations: 1.367 MB / 442.9 MB, free: 11.47 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000229/0.2096, allocations: 7.938 kB / 443 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006305/0.2103, allocations: 35.89 kB / 443 MB, free: 11.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004895/0.2108, allocations: 51.81 kB / 443 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004848/0.2113, allocations: 75.8 kB / 443.1 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003437/0.2117, allocations: 87.75 kB / 443.2 MB, free: 11.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001866/0.2119, allocations: 16.2 kB / 443.2 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001338/0.212, allocations: 47.72 kB / 443.3 MB, free: 11.15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002295/0.2123, allocations: 35.84 kB / 443.3 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.961e-05/0.2123, allocations: 4 kB / 443.3 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002469/0.2126, allocations: 59.95 kB / 443.4 MB, free: 11.05 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.99e-05/0.2126, allocations: 15.92 kB / 443.4 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.387e-05/0.2127, allocations: 23.81 kB / 443.4 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003702/0.2131, allocations: 131.8 kB / 443.5 MB, free: 10.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.478e-06/0.2131, allocations: 0 / 443.5 MB, free: 10.89 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.2131, allocations: 0 / 443.5 MB, free: 10.89 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.458e-06/0.2132, allocations: 0 / 443.5 MB, free: 10.89 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.0009098/0.2141, allocations: 403.1 kB / 443.9 MB, free: 10.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.941e-05/0.2141, allocations: 12.02 kB / 443.9 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.893e-05/0.2142, allocations: 8.844 kB / 443.9 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003285/0.2145, allocations: 204.1 kB / 444.1 MB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.2146, allocations: 4.375 kB / 444.1 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.971e-05/0.2146, allocations: 8.109 kB / 444.2 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002403/0.2149, allocations: 79.27 kB / 444.2 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.2149, allocations: 0 / 444.2 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.2149, allocations: 0 / 444.2 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.2149, allocations: 8 kB / 444.2 MB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.835e-05/0.215, allocations: 15.98 kB / 444.3 MB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004937/0.2155, allocations: 284.8 kB / 444.5 MB, free: 9.734 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002136/0.2158, allocations: 58.62 kB / 444.6 MB, free: 9.668 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.346e-05/0.2158, allocations: 24.84 kB / 444.6 MB, free: 9.641 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.9e-05/0.2159, allocations: 0 / 444.6 MB, free: 9.641 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003386/0.2162, allocations: 67.39 kB / 444.7 MB, free: 9.562 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.2162, allocations: 0 / 444.7 MB, free: 9.562 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006597/0.2169, allocations: 173.2 kB / 444.8 MB, free: 9.387 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.187e-05/0.217, allocations: 77.11 kB / 444.9 MB, free: 9.293 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002112/0.2172, allocations: 157.8 kB / 445.1 MB, free: 9.129 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.102e-05/0.2172, allocations: 29.7 kB / 445.1 MB, free: 9.094 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.776e-05/0.2173, allocations: 92.14 kB / 445.2 MB, free: 9 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.132e-05/0.2173, allocations: 31.62 kB / 445.2 MB, free: 8.969 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.706e-05/0.2174, allocations: 21.72 kB / 445.3 MB, free: 8.941 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.2176, allocations: 326.8 kB / 445.6 MB, free: 8.613 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.56e-05/0.2176, allocations: 19.98 kB / 445.6 MB, free: 8.594 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.367e-05/0.2177, allocations: 50.5 kB / 445.6 MB, free: 8.535 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001314/0.2178, allocations: 57.7 kB / 445.7 MB, free: 8.473 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.2179, allocations: 0 / 445.7 MB, free: 8.473 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002031/0.2181, allocations: 97.53 kB / 445.8 MB, free: 8.371 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/0.2181, allocations: 4 kB / 445.8 MB, free: 8.367 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.2181, allocations: 0 / 445.8 MB, free: 8.367 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.359e-05/0.2181, allocations: 0 / 445.8 MB, free: 8.367 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.2183, allocations: 19.98 kB / 445.8 MB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.2183, allocations: 4.062 kB / 445.8 MB, free: 8.344 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.56e-05/0.2184, allocations: 7.938 kB / 445.8 MB, free: 8.336 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.2184, allocations: 4 kB / 445.8 MB, free: 8.332 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.0001631/0.2186, allocations: 129.7 kB / 446 MB, free: 8.195 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.827e-05/0.2186, allocations: 11.81 kB / 446 MB, free: 8.184 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.762e-05/0.2187, allocations: 12.72 kB / 446 MB, free: 8.176 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.2187, allocations: 0 / 446 MB, free: 8.176 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/0.2187, allocations: 0 / 446 MB, free: 8.176 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.2187, allocations: 8.25 kB / 446 MB, free: 8.168 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005732/0.2193, allocations: 399.5 kB / 446.4 MB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.2193, allocations: 4 kB / 446.4 MB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.288e-05/0.2193, allocations: 8 kB / 446.4 MB, free: 7.707 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.2193, allocations: 4 kB / 446.4 MB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/0.2194, allocations: 3.938 kB / 446.4 MB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.2194, allocations: 0 / 446.4 MB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.2194, allocations: 0 / 446.4 MB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003286/0.2197, allocations: 212.2 kB / 446.6 MB, free: 7.473 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.198e-05/0.2198, allocations: 89 kB / 446.7 MB, free: 7.367 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.553e-05/0.2198, allocations: 7.938 kB / 446.7 MB, free: 7.359 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.595e-05/0.2199, allocations: 4 kB / 446.7 MB, free: 7.355 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.826e-05/0.22, allocations: 7.984 kB / 446.7 MB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.095e-05/0.22, allocations: 4.188 kB / 446.7 MB, free: 7.344 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001297/0.2201, allocations: 122.5 kB / 446.8 MB, free: 7.227 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2202, allocations: 3.938 kB / 446.8 MB, free: 7.223 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003158/0.2205, allocations: 28 kB / 446.9 MB, free: 7.195 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.001466/0.2219, allocations: 0.4942 MB / 447.4 MB, free: 6.734 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000266/0.2222, allocations: 55.92 kB / 447.4 MB, free: 6.68 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2222, allocations: 0 / 447.4 MB, free: 6.68 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.483e-05/0.2223, allocations: 31.92 kB / 447.4 MB, free: 6.648 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004263/0.2228, allocations: 32.23 kB / 447.5 MB, free: 6.617 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005248/0.2233, allocations: 204.8 kB / 447.7 MB, free: 6.387 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003186/0.2236, allocations: 0.6965 MB / 448.4 MB, free: 5.664 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.121e-05/0.2237, allocations: 28.86 kB / 448.4 MB, free: 5.637 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.812e-05/0.2238, allocations: 19.44 kB / 448.4 MB, free: 5.617 MB / 382.1 MB Notification: Performance of SimCode: time 6.71e-07/0.2238, allocations: 0 / 448.4 MB, free: 5.617 MB / 382.1 MB Notification: Performance of Templates: time 0.006052/0.2299, allocations: 1.893 MB / 450.3 MB, free: 3.727 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches