Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 108.3 kB / 16.41 MB, free: 6.473 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.001337/0.001337, allocations: 188.1 kB / 17.34 MB, free: 5.754 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.576/1.576, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2104/0.2104, allocations: 43.53 MB / 314.1 MB, free: 456 kB / 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.0015/0.0015, allocations: 63.91 kB / 441.8 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.121, allocations: 57.79 MB / 499.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.003299/0.1244, allocations: 1.546 MB / 0.4894 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006669/0.1251, allocations: 323.5 kB / 0.4897 GB, free: 9.914 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.219e-05/0.1252, allocations: 4 kB / 0.4897 GB, free: 9.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002633/0.1254, allocations: 27.83 kB / 0.4897 GB, free: 9.883 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002142/0.1257, allocations: 39.84 kB / 0.4898 GB, free: 9.844 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002826/0.126, allocations: 75.78 kB / 0.4899 GB, free: 9.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001627/0.1262, allocations: 47.91 kB / 0.4899 GB, free: 9.723 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.1263, allocations: 19.97 kB / 0.4899 GB, free: 9.703 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.286e-05/0.1264, allocations: 19.88 kB / 0.4899 GB, free: 9.684 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.421e-05/0.1264, allocations: 19.91 kB / 0.49 GB, free: 9.664 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.1265, allocations: 0 / 0.49 GB, free: 9.664 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.668e-05/0.1266, allocations: 31.98 kB / 0.49 GB, free: 9.633 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.768e-05/0.1266, allocations: 19.88 kB / 0.49 GB, free: 9.613 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.345e-05/0.1267, allocations: 27.8 kB / 0.49 GB, free: 9.586 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001719/0.1268, allocations: 75.78 kB / 0.4901 GB, free: 9.512 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.1269, allocations: 4 kB / 0.4901 GB, free: 9.508 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1269, allocations: 0 / 0.4901 GB, free: 9.508 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.1269, allocations: 0 / 0.4901 GB, free: 9.508 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004576/0.1273, allocations: 387 kB / 0.4905 GB, free: 9.082 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.1274, allocations: 11.89 kB / 0.4905 GB, free: 9.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.041e-05/0.1274, allocations: 8.844 kB / 0.4905 GB, free: 9.062 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001895/0.1276, allocations: 191.6 kB / 0.4907 GB, free: 8.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.724e-06/0.1277, allocations: 8.312 kB / 0.4907 GB, free: 8.832 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.353e-05/0.1277, allocations: 384 / 0.4907 GB, free: 8.832 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/0.1278, allocations: 57.8 kB / 0.4907 GB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.1279, allocations: 0 / 0.4907 GB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.926e-06/0.1279, allocations: 4 kB / 0.4907 GB, free: 8.766 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.1279, allocations: 0 / 0.4907 GB, free: 8.766 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.875e-05/0.128, allocations: 19.98 kB / 0.4908 GB, free: 8.746 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003486/0.1283, allocations: 280.8 kB / 0.491 GB, free: 8.422 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002047/0.1285, allocations: 42.5 kB / 0.4911 GB, free: 8.371 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.39e-05/0.1286, allocations: 24.94 kB / 0.4911 GB, free: 8.344 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.736e-05/0.1286, allocations: 0 / 0.4911 GB, free: 8.344 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.36e-05/0.1287, allocations: 30.56 kB / 0.4911 GB, free: 8.305 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.22e-07/0.1287, allocations: 0 / 0.4911 GB, free: 8.305 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005481/0.1292, allocations: 137.3 kB / 0.4913 GB, free: 8.164 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/0.1293, allocations: 51.41 kB / 0.4913 GB, free: 8.102 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/0.1295, allocations: 169.8 kB / 0.4915 GB, free: 7.926 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.1295, allocations: 29.7 kB / 0.4915 GB, free: 7.891 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.45e-05/0.1296, allocations: 100.1 kB / 0.4916 GB, free: 7.789 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.178e-05/0.1296, allocations: 7.812 kB / 0.4916 GB, free: 7.781 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.368e-05/0.1296, allocations: 17.72 kB / 0.4916 GB, free: 7.758 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.1297, allocations: 330.7 kB / 0.4919 GB, free: 7.426 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.78e-05/0.1298, allocations: 15.98 kB / 0.4919 GB, free: 7.41 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.9e-05/0.1299, allocations: 27.92 kB / 0.492 GB, free: 7.383 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001231/0.13, allocations: 48.77 kB / 0.492 GB, free: 7.332 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.13, allocations: 192 / 0.492 GB, free: 7.332 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001677/0.1302, allocations: 81.58 kB / 0.4921 GB, free: 7.246 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.1302, allocations: 4 kB / 0.4921 GB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1302, allocations: 0 / 0.4921 GB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.1303, allocations: 0 / 0.4921 GB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.408e-05/0.1303, allocations: 23.98 kB / 0.4921 GB, free: 7.219 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.1303, allocations: 0 / 0.4921 GB, free: 7.219 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.542e-05/0.1304, allocations: 0 / 0.4921 GB, free: 7.219 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.1304, allocations: 4 kB / 0.4921 GB, free: 7.215 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 9.875e-05/0.1305, allocations: 129.6 kB / 0.4923 GB, free: 7.078 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.829e-05/0.1305, allocations: 7.906 kB / 0.4923 GB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000212/0.1308, allocations: 89.95 kB / 0.4923 GB, free: 6.973 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.1308, allocations: 8 kB / 0.4924 GB, free: 6.965 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1308, allocations: 0 / 0.4924 GB, free: 6.965 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1308, allocations: 0 / 0.4924 GB, free: 6.965 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003987/0.1312, allocations: 350.4 kB / 0.4927 GB, free: 6.566 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1312, allocations: 0 / 0.4927 GB, free: 6.566 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.248e-05/0.1313, allocations: 11.98 kB / 0.4927 GB, free: 6.555 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1313, allocations: 0 / 0.4927 GB, free: 6.555 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.1313, allocations: 4 kB / 0.4927 GB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.1313, allocations: 7.938 kB / 0.4927 GB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1313, allocations: 0 / 0.4927 GB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002209/0.1315, allocations: 179.6 kB / 0.4929 GB, free: 6.352 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.884e-05/0.1316, allocations: 81.33 kB / 0.493 GB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.642e-05/0.1316, allocations: 4 kB / 0.493 GB, free: 6.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.451e-05/0.1317, allocations: 7.938 kB / 0.493 GB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.039e-05/0.1317, allocations: 7.984 kB / 0.493 GB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.459e-06/0.1317, allocations: 7.984 kB / 0.493 GB, free: 6.227 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001029/0.1318, allocations: 130.7 kB / 0.4931 GB, free: 6.102 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1318, allocations: 0 / 0.4931 GB, free: 6.102 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002295/0.1321, allocations: 16 kB / 0.4931 GB, free: 6.086 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.000894/0.133, allocations: 404.3 kB / 0.4935 GB, free: 5.723 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001834/0.1332, allocations: 47.97 kB / 0.4936 GB, free: 5.676 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1332, allocations: 4 kB / 0.4936 GB, free: 5.672 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.893e-05/0.1332, allocations: 27.92 kB / 0.4936 GB, free: 5.645 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003134/0.1336, allocations: 23.59 kB / 0.4936 GB, free: 5.625 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004189/0.134, allocations: 190 kB / 0.4938 GB, free: 5.414 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002686/0.1343, allocations: 0.6924 MB / 0.4945 GB, free: 4.695 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.164e-05/0.1343, allocations: 11.98 kB / 0.4945 GB, free: 4.684 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.828e-05/0.1343, allocations: 15.44 kB / 0.4945 GB, free: 4.668 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1344, allocations: 0 / 0.4945 GB, free: 4.668 MB / 382.1 MB Notification: Performance of Templates: time 0.003457/0.1378, allocations: 1.093 MB / 0.4956 GB, free: 3.574 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches