Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 117.7 kB / 17.08 MB, free: 6.008 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.001326/0.001326, allocations: 194.4 kB / 18.01 MB, free: 5.094 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.338/1.338, allocations: 205.1 MB / 223.9 MB, free: 12.26 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.1862/0.1862, allocations: 43.53 MB / 314.8 MB, free: 476 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.001332/0.001332, allocations: 75.89 kB / 442.5 MB, free: 5.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.104, allocations: 57.79 MB / 0.4886 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003467/0.1075, allocations: 1.783 MB / 0.4903 GB, free: 9.973 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001594/0.1092, allocations: 0.878 MB / 0.4912 GB, free: 9.086 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001222/0.1093, allocations: 3.938 kB / 0.4912 GB, free: 9.082 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005659/0.1099, allocations: 307.3 kB / 0.4915 GB, free: 8.781 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004478/0.1104, allocations: 211.4 kB / 0.4917 GB, free: 8.574 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004241/0.1108, allocations: 147.6 kB / 0.4918 GB, free: 8.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003725/0.1112, allocations: 231.4 kB / 0.4921 GB, free: 8.203 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.573e-05/0.1113, allocations: 21.52 kB / 0.4921 GB, free: 8.184 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000232/0.1115, allocations: 131.5 kB / 0.4922 GB, free: 8.055 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000285/0.1118, allocations: 195.5 kB / 0.4924 GB, free: 7.863 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.617e-05/0.1118, allocations: 8 kB / 0.4924 GB, free: 7.855 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001626/0.112, allocations: 47.92 kB / 0.4924 GB, free: 7.809 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001738/0.1122, allocations: 135.6 kB / 0.4926 GB, free: 7.676 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001422/0.1123, allocations: 150.8 kB / 0.4927 GB, free: 7.527 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004723/0.1128, allocations: 366.7 kB / 0.4931 GB, free: 7.168 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.1128, allocations: 0 / 0.4931 GB, free: 7.168 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1128, allocations: 3.938 kB / 0.4931 GB, free: 7.164 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.082e-05/0.1129, allocations: 0 / 0.4931 GB, free: 7.164 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.001007/0.1139, allocations: 0.7301 MB / 0.4938 GB, free: 6.387 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.1139, allocations: 11.89 kB / 0.4938 GB, free: 6.375 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001169/0.114, allocations: 44.38 kB / 0.4938 GB, free: 6.332 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006524/0.1147, allocations: 455.8 kB / 0.4943 GB, free: 5.844 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.1147, allocations: 4.375 kB / 0.4943 GB, free: 5.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.045e-05/0.1148, allocations: 8.125 kB / 0.4943 GB, free: 5.832 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001999/0.115, allocations: 91.3 kB / 0.4944 GB, free: 5.73 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.115, allocations: 0 / 0.4944 GB, free: 5.73 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.115, allocations: 0 / 0.4944 GB, free: 5.73 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.115, allocations: 4 kB / 0.4944 GB, free: 5.727 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.969e-05/0.1151, allocations: 23.98 kB / 0.4944 GB, free: 5.703 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003964/0.1155, allocations: 378.4 kB / 0.4948 GB, free: 5.281 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002571/0.1158, allocations: 105.2 kB / 0.4949 GB, free: 5.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.095e-05/0.1159, allocations: 45.64 kB / 0.4949 GB, free: 5.109 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.171e-05/0.1159, allocations: 4 kB / 0.4949 GB, free: 5.105 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001954/0.1161, allocations: 109 kB / 0.495 GB, free: 4.98 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.243e-06/0.1161, allocations: 4 kB / 0.495 GB, free: 4.977 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004885/0.1166, allocations: 200.9 kB / 0.4952 GB, free: 4.773 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.353e-05/0.1167, allocations: 81.11 kB / 0.4953 GB, free: 4.676 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/0.1177, allocations: 1.034 MB / 0.4963 GB, free: 3.629 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.1178, allocations: 29.7 kB / 0.4963 GB, free: 3.594 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001642/0.1179, allocations: 232.1 kB / 0.4965 GB, free: 3.363 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.488e-05/0.118, allocations: 19.72 kB / 0.4966 GB, free: 3.344 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.951e-05/0.1181, allocations: 33.7 kB / 0.4966 GB, free: 3.305 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.1182, allocations: 366.8 kB / 0.4969 GB, free: 2.938 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.721e-05/0.1183, allocations: 31.98 kB / 0.497 GB, free: 2.906 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/0.1184, allocations: 67.33 kB / 0.497 GB, free: 2.828 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001729/0.1186, allocations: 91.86 kB / 0.4971 GB, free: 2.727 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.1186, allocations: 4 kB / 0.4971 GB, free: 2.723 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003086/0.1189, allocations: 172.8 kB / 0.4973 GB, free: 2.547 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.119, allocations: 7.984 kB / 0.4973 GB, free: 2.539 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.119, allocations: 4 kB / 0.4973 GB, free: 2.535 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.119, allocations: 0 / 0.4973 GB, free: 2.535 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.1191, allocations: 16 kB / 0.4973 GB, free: 2.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.1191, allocations: 7.984 kB / 0.4973 GB, free: 2.512 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.869e-05/0.1192, allocations: 15.81 kB / 0.4973 GB, free: 2.496 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/0.1193, allocations: 12.06 kB / 0.4974 GB, free: 2.484 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.0002069/0.1195, allocations: 225.6 kB / 0.4976 GB, free: 2.254 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.709e-05/0.1195, allocations: 51.34 kB / 0.4976 GB, free: 2.203 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.15e-05/0.1196, allocations: 56 kB / 0.4977 GB, free: 2.148 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.1196, allocations: 4 kB / 0.4977 GB, free: 2.145 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.1197, allocations: 0 / 0.4977 GB, free: 2.145 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.1197, allocations: 0 / 0.4977 GB, free: 2.145 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002864/0.12, allocations: 345.4 kB / 0.498 GB, free: 1.758 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.12, allocations: 0 / 0.498 GB, free: 1.758 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.374e-05/0.12, allocations: 4 kB / 0.498 GB, free: 1.754 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.12, allocations: 8 kB / 0.498 GB, free: 1.746 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.12, allocations: 7.984 kB / 0.498 GB, free: 1.738 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/0.12, allocations: 7.984 kB / 0.498 GB, free: 1.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.12, allocations: 3.938 kB / 0.498 GB, free: 1.727 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003223/0.1204, allocations: 197.4 kB / 0.4982 GB, free: 1.512 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001339/0.1205, allocations: 144.4 kB / 0.4984 GB, free: 1.352 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.913e-05/0.1206, allocations: 8 kB / 0.4984 GB, free: 1.344 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.074e-05/0.1207, allocations: 7.984 kB / 0.4984 GB, free: 1.336 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.747e-05/0.1207, allocations: 4 kB / 0.4984 GB, free: 1.332 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.101e-05/0.1208, allocations: 7.984 kB / 0.4984 GB, free: 1.324 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007804/0.1215, allocations: 0.7722 MB / 0.4991 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1216, allocations: 0 / 0.4991 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002749/0.1218, allocations: 43.98 kB / 0.4992 GB, free: 0.5117 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.0009234/0.1228, allocations: 419 kB / 0.4996 GB, free: 140 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002522/0.123, allocations: 80.03 kB / 0.4997 GB, free: 60 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.123, allocations: 0 / 0.4997 GB, free: 60 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.866e-05/0.1231, allocations: 43.91 kB / 0.4997 GB, free: 16 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004325/0.1236, allocations: 73.91 kB / 0.4998 GB, free: 15.94 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001249/0.1248, allocations: 0.9074 MB / 0.5007 GB, free: 15 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004306/0.1253, allocations: 0.8427 MB / 0.5015 GB, free: 14.13 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.228e-05/0.1254, allocations: 31.42 kB / 0.5015 GB, free: 14.1 MB / 398.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1254, allocations: 0 / 0.5015 GB, free: 14.1 MB / 398.1 MB Notification: Performance of Templates: time 0.008353/0.1337, allocations: 5.085 MB / 0.5065 GB, free: 9.008 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches