Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 113.4 kB / 17.08 MB, free: 5.992 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.001111/0.001111, allocations: 197.2 kB / 18.01 MB, free: 5.07 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.364/1.364, allocations: 205.1 MB / 223.9 MB, free: 12.23 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.2091/0.2091, allocations: 43.53 MB / 314.8 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.001429/0.001429, allocations: 73.45 kB / 442.5 MB, free: 5.602 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.112, allocations: 57.78 MB / 0.4886 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003325/0.1154, allocations: 1.79 MB / 0.4903 GB, free: 9.945 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001587/0.117, allocations: 0.8741 MB / 0.4912 GB, free: 9.062 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.1171, allocations: 3.938 kB / 0.4912 GB, free: 9.059 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005595/0.1177, allocations: 299.4 kB / 0.4915 GB, free: 8.766 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003919/0.1181, allocations: 215.3 kB / 0.4917 GB, free: 8.555 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004065/0.1186, allocations: 135.7 kB / 0.4918 GB, free: 8.422 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003252/0.1189, allocations: 247.3 kB / 0.4921 GB, free: 8.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.271e-05/0.119, allocations: 21.52 kB / 0.4921 GB, free: 8.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002076/0.1192, allocations: 123.5 kB / 0.4922 GB, free: 8.039 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002423/0.1194, allocations: 188 kB / 0.4924 GB, free: 7.855 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.082e-05/0.1195, allocations: 8 kB / 0.4924 GB, free: 7.848 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001178/0.1196, allocations: 43.98 kB / 0.4924 GB, free: 7.805 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001363/0.1198, allocations: 136.5 kB / 0.4925 GB, free: 7.672 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001337/0.1199, allocations: 138.8 kB / 0.4927 GB, free: 7.535 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003744/0.1203, allocations: 366.7 kB / 0.493 GB, free: 7.176 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.1203, allocations: 0 / 0.493 GB, free: 7.176 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.1203, allocations: 0 / 0.493 GB, free: 7.176 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.733e-05/0.1204, allocations: 0 / 0.493 GB, free: 7.176 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001028/0.1214, allocations: 0.7229 MB / 0.4937 GB, free: 6.402 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.1214, allocations: 11.89 kB / 0.4937 GB, free: 6.391 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.886e-05/0.1215, allocations: 44.38 kB / 0.4938 GB, free: 6.348 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005931/0.1221, allocations: 443.9 kB / 0.4942 GB, free: 5.871 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.1222, allocations: 4.359 kB / 0.4942 GB, free: 5.867 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.785e-05/0.1222, allocations: 8.125 kB / 0.4942 GB, free: 5.859 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002365/0.1224, allocations: 87.31 kB / 0.4943 GB, free: 5.762 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.1224, allocations: 0 / 0.4943 GB, free: 5.762 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.721e-05/0.1225, allocations: 4 kB / 0.4943 GB, free: 5.758 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.1225, allocations: 3.984 kB / 0.4943 GB, free: 5.754 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001145/0.1226, allocations: 27.98 kB / 0.4943 GB, free: 5.727 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004177/0.123, allocations: 374.3 kB / 0.4947 GB, free: 5.309 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002947/0.1233, allocations: 105.2 kB / 0.4948 GB, free: 5.188 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.288e-05/0.1234, allocations: 45.64 kB / 0.4948 GB, free: 5.137 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.1235, allocations: 0 / 0.4948 GB, free: 5.137 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002117/0.1237, allocations: 113 kB / 0.495 GB, free: 5.008 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.272e-06/0.1237, allocations: 0 / 0.495 GB, free: 5.008 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005276/0.1242, allocations: 197.2 kB / 0.4951 GB, free: 4.809 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.1243, allocations: 81.11 kB / 0.4952 GB, free: 4.711 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001025/0.1253, allocations: 1.007 MB / 0.4962 GB, free: 3.691 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/0.1253, allocations: 29.7 kB / 0.4962 GB, free: 3.656 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001574/0.1255, allocations: 232.1 kB / 0.4965 GB, free: 3.426 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.274e-05/0.1256, allocations: 27.64 kB / 0.4965 GB, free: 3.398 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.843e-05/0.1256, allocations: 29.7 kB / 0.4965 GB, free: 3.363 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.1258, allocations: 370.7 kB / 0.4969 GB, free: 2.992 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.199e-05/0.1258, allocations: 27.98 kB / 0.4969 GB, free: 2.965 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.868e-05/0.1259, allocations: 59.41 kB / 0.4969 GB, free: 2.895 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000213/0.1262, allocations: 87.36 kB / 0.497 GB, free: 2.797 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.1262, allocations: 0 / 0.497 GB, free: 2.797 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002875/0.1265, allocations: 172.9 kB / 0.4972 GB, free: 2.621 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.1265, allocations: 8 kB / 0.4972 GB, free: 2.613 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.1265, allocations: 7.922 kB / 0.4972 GB, free: 2.605 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.1265, allocations: 0 / 0.4972 GB, free: 2.605 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.1267, allocations: 23.98 kB / 0.4972 GB, free: 2.582 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.802e-06/0.1267, allocations: 0 / 0.4972 GB, free: 2.582 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001039/0.1268, allocations: 11.91 kB / 0.4972 GB, free: 2.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.311e-05/0.1268, allocations: 4 kB / 0.4972 GB, free: 2.566 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * 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.0002225/0.127, allocations: 238.1 kB / 0.4975 GB, free: 2.324 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.762e-05/0.1271, allocations: 47.34 kB / 0.4975 GB, free: 2.277 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.333e-05/0.1272, allocations: 63.84 kB / 0.4976 GB, free: 2.215 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.1272, allocations: 0 / 0.4976 GB, free: 2.215 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.1272, allocations: 4 kB / 0.4976 GB, free: 2.211 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.1272, allocations: 0 / 0.4976 GB, free: 2.211 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002711/0.1275, allocations: 337.3 kB / 0.4979 GB, free: 1.832 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.1275, allocations: 3.984 kB / 0.4979 GB, free: 1.828 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.437e-05/0.1275, allocations: 4 kB / 0.4979 GB, free: 1.824 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.1275, allocations: 8 kB / 0.4979 GB, free: 1.816 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.1276, allocations: 4 kB / 0.4979 GB, free: 1.812 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.1276, allocations: 0 / 0.4979 GB, free: 1.812 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.876e-06/0.1276, allocations: 4 kB / 0.4979 GB, free: 1.809 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003117/0.1279, allocations: 197.2 kB / 0.4981 GB, free: 1.594 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00016/0.1281, allocations: 136.4 kB / 0.4982 GB, free: 1.441 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.184e-05/0.1281, allocations: 4 kB / 0.4982 GB, free: 1.438 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.624e-05/0.1282, allocations: 12 kB / 0.4983 GB, free: 1.426 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.45e-05/0.1283, allocations: 7.984 kB / 0.4983 GB, free: 1.418 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.751e-05/0.1283, allocations: 4 kB / 0.4983 GB, free: 1.414 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007668/0.1291, allocations: 0.7487 MB / 0.499 GB, free: 0.668 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.673e-06/0.1291, allocations: 0 / 0.499 GB, free: 0.668 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002642/0.1293, allocations: 47.92 kB / 0.499 GB, free: 0.6211 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009476/0.1303, allocations: 420 kB / 0.4994 GB, free: 248 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002532/0.1306, allocations: 79.91 kB / 0.4995 GB, free: 168 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1306, allocations: 0 / 0.4995 GB, free: 168 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001025/0.1307, allocations: 39.92 kB / 0.4996 GB, free: 128 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004415/0.1311, allocations: 81.69 kB / 0.4996 GB, free: 48 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.1324, allocations: 0.888 MB / 0.5005 GB, free: 15.12 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004335/0.1328, allocations: 0.8349 MB / 0.5013 GB, free: 14.26 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.769e-05/0.1329, allocations: 35.42 kB / 0.5014 GB, free: 14.23 MB / 398.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1329, allocations: 0 / 0.5014 GB, free: 14.23 MB / 398.1 MB Notification: Performance of Templates: time 0.008494/0.1414, allocations: 5.038 MB / 0.5063 GB, free: 9.18 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches