Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001834/0.001832, allocations: 96.94 kB / 16.02 MB, free: 84 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.002046/0.002046, allocations: 181.3 kB / 16.92 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.009/2.009, allocations: 205.4 MB / 223.1 MB, free: 5.445 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.3822/0.3822, allocations: 43.57 MB / 315 MB, free: 8.879 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.0005312/0.0005312, allocations: 12 kB / 384.6 MB, free: 7.641 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1222, allocations: 58.87 MB / 443.5 MB, free: 12.66 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.002589/0.1249, allocations: 1.622 MB / 445.1 MB, free: 11.03 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001327/0.1262, allocations: 0.8079 MB / 445.9 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.889e-05/0.1263, allocations: 0 / 445.9 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002958/0.1266, allocations: 35.77 kB / 445.9 MB, free: 10.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001771/0.1268, allocations: 47.84 kB / 446 MB, free: 10.13 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002742/0.1271, allocations: 99.83 kB / 446.1 MB, free: 10.03 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003561/0.1275, allocations: 127.5 kB / 446.2 MB, free: 9.906 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.1276, allocations: 33.75 kB / 446.2 MB, free: 9.871 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.532e-05/0.1277, allocations: 47.72 kB / 446.3 MB, free: 9.824 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.467e-05/0.1278, allocations: 47.72 kB / 446.3 MB, free: 9.777 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.644e-05/0.1278, allocations: 0 / 446.3 MB, free: 9.777 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.364e-05/0.1279, allocations: 43.98 kB / 446.4 MB, free: 9.734 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.454e-05/0.128, allocations: 19.86 kB / 446.4 MB, free: 9.715 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.339e-05/0.1281, allocations: 77.3 kB / 446.5 MB, free: 9.633 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001974/0.1283, allocations: 135.5 kB / 446.6 MB, free: 9.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.1283, allocations: 0 / 446.6 MB, free: 9.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1283, allocations: 0 / 446.6 MB, free: 9.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.1283, allocations: 0 / 446.6 MB, free: 9.5 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005999/0.1289, allocations: 464.6 kB / 447 MB, free: 8.992 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.1289, allocations: 8.031 kB / 447 MB, free: 8.984 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.511e-05/0.129, allocations: 20.73 kB / 447.1 MB, free: 8.965 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002406/0.1292, allocations: 220.8 kB / 447.3 MB, free: 8.711 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.1293, allocations: 4.375 kB / 447.3 MB, free: 8.707 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.723e-05/0.1293, allocations: 12.12 kB / 447.3 MB, free: 8.695 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002235/0.1295, allocations: 108.2 kB / 447.4 MB, free: 8.574 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.1295, allocations: 0 / 447.4 MB, free: 8.574 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.1296, allocations: 4 kB / 447.4 MB, free: 8.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.1296, allocations: 7.938 kB / 447.4 MB, free: 8.562 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001482/0.1297, allocations: 55.95 kB / 447.5 MB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005229/0.1303, allocations: 0.5048 MB / 448 MB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003174/0.1306, allocations: 94.59 kB / 448.1 MB, free: 7.844 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.1307, allocations: 44.77 kB / 448.1 MB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.932e-05/0.1308, allocations: 4 kB / 448.1 MB, free: 7.793 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002412/0.131, allocations: 91.31 kB / 448.2 MB, free: 7.691 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.663e-06/0.131, allocations: 0 / 448.2 MB, free: 7.691 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004157/0.1314, allocations: 149.4 kB / 448.4 MB, free: 7.539 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/0.1315, allocations: 55.34 kB / 448.4 MB, free: 7.473 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001952/0.1317, allocations: 187.5 kB / 448.6 MB, free: 7.277 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.1317, allocations: 25.7 kB / 448.6 MB, free: 7.246 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.065e-05/0.1318, allocations: 131.8 kB / 448.7 MB, free: 7.113 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.583e-05/0.1319, allocations: 23.72 kB / 448.8 MB, free: 7.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.858e-05/0.1319, allocations: 21.7 kB / 448.8 MB, free: 7.062 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.1321, allocations: 322.8 kB / 449.1 MB, free: 6.738 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.126e-05/0.1322, allocations: 27.98 kB / 449.1 MB, free: 6.711 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000123/0.1323, allocations: 76.2 kB / 449.2 MB, free: 6.621 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001933/0.1325, allocations: 92.22 kB / 449.3 MB, free: 6.516 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1325, allocations: 4 kB / 449.3 MB, free: 6.512 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002825/0.1328, allocations: 141.7 kB / 449.4 MB, free: 6.367 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.1328, allocations: 4 kB / 449.4 MB, free: 6.363 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.1328, allocations: 4 kB / 449.4 MB, free: 6.359 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.1329, allocations: 0 / 449.4 MB, free: 6.359 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.133, allocations: 35.86 kB / 449.5 MB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.133, allocations: 8.125 kB / 449.5 MB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.033e-05/0.1331, allocations: 15.83 kB / 449.5 MB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.1331, allocations: 4 kB / 449.5 MB, free: 6.297 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001243/0.1332, allocations: 121.8 kB / 449.6 MB, free: 6.168 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.267e-05/0.1332, allocations: 11.91 kB / 449.6 MB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.301e-05/0.1333, allocations: 21.39 kB / 449.7 MB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.1333, allocations: 3.938 kB / 449.7 MB, free: 6.133 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.1333, allocations: 4 kB / 449.7 MB, free: 6.129 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.1333, allocations: 4 kB / 449.7 MB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002024/0.1335, allocations: 209.5 kB / 449.9 MB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.1336, allocations: 0 / 449.9 MB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.085e-05/0.1337, allocations: 15.92 kB / 449.9 MB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1337, allocations: 4 kB / 449.9 MB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.1337, allocations: 0 / 449.9 MB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.1337, allocations: 3.938 kB / 449.9 MB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1337, allocations: 3.938 kB / 449.9 MB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003991/0.1341, allocations: 188.9 kB / 450.1 MB, free: 5.641 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.624e-05/0.1342, allocations: 92.89 kB / 450.2 MB, free: 5.531 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.496e-05/0.1342, allocations: 4 kB / 450.2 MB, free: 5.527 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.469e-05/0.1343, allocations: 11.92 kB / 450.2 MB, free: 5.516 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.595e-05/0.1343, allocations: 4 kB / 450.2 MB, free: 5.512 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.1344, allocations: 12.05 kB / 450.2 MB, free: 5.5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001305/0.1345, allocations: 141.2 kB / 450.3 MB, free: 5.363 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1345, allocations: 0 / 450.3 MB, free: 5.363 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002315/0.1347, allocations: 27.98 kB / 450.4 MB, free: 5.336 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001012/0.1357, allocations: 422.9 kB / 450.8 MB, free: 4.949 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002404/0.136, allocations: 83.97 kB / 450.9 MB, free: 4.867 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.136, allocations: 4 kB / 450.9 MB, free: 4.863 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.602e-05/0.1361, allocations: 39.97 kB / 450.9 MB, free: 4.824 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002902/0.1364, allocations: 32.34 kB / 450.9 MB, free: 4.793 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004766/0.1369, allocations: 321.8 kB / 451.3 MB, free: 4.453 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003271/0.1372, allocations: 0.7162 MB / 452 MB, free: 3.711 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.23e-05/0.1373, allocations: 25.41 kB / 452 MB, free: 3.684 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.841e-05/0.1374, allocations: 15.44 kB / 452 MB, free: 3.668 MB / 382.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1374, allocations: 0 / 452 MB, free: 3.668 MB / 382.1 MB Notification: Performance of Templates: time 0.004642/0.142, allocations: 1.763 MB / 453.8 MB, free: 1.91 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches