Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 112.9 kB / 17.08 MB, free: 5.828 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.001083/0.001083, allocations: 197.2 kB / 18.02 MB, free: 4.938 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.378/1.378, 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.2191/0.2191, allocations: 43.52 MB / 314.8 MB, free: 464 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.001433/0.001433, allocations: 77.45 kB / 442.6 MB, free: 5.578 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.109, allocations: 57.78 MB / 0.4886 GB, free: 11.72 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.003139/0.1121, allocations: 1.654 MB / 0.4902 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001305/0.1135, allocations: 0.7805 MB / 0.491 GB, free: 9.266 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.152e-05/0.1136, allocations: 0 / 0.491 GB, free: 9.266 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003412/0.1139, allocations: 91.73 kB / 0.4911 GB, free: 9.176 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002583/0.1142, allocations: 75.67 kB / 0.4911 GB, free: 9.102 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002755/0.1145, allocations: 87.75 kB / 0.4912 GB, free: 9.016 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000191/0.1147, allocations: 99.69 kB / 0.4913 GB, free: 8.918 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.398e-05/0.1148, allocations: 7.984 kB / 0.4913 GB, free: 8.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.1149, allocations: 51.77 kB / 0.4914 GB, free: 8.859 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/0.115, allocations: 55.81 kB / 0.4914 GB, free: 8.805 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.103e-05/0.115, allocations: 4 kB / 0.4914 GB, free: 8.801 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.415e-05/0.1151, allocations: 32 kB / 0.4915 GB, free: 8.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.532e-05/0.1152, allocations: 19.92 kB / 0.4915 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.473e-05/0.1152, allocations: 43.66 kB / 0.4915 GB, free: 8.707 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001879/0.1154, allocations: 95.66 kB / 0.4916 GB, free: 8.613 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.1155, allocations: 4 kB / 0.4916 GB, free: 8.609 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1155, allocations: 0 / 0.4916 GB, free: 8.609 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.287e-06/0.1155, allocations: 0 / 0.4916 GB, free: 8.609 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005413/0.116, allocations: 406.9 kB / 0.492 GB, free: 8.164 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.1161, allocations: 15.89 kB / 0.492 GB, free: 8.148 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.06e-05/0.1161, allocations: 12.75 kB / 0.492 GB, free: 8.137 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003003/0.1164, allocations: 216.6 kB / 0.4922 GB, free: 7.887 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.1165, allocations: 384 / 0.4922 GB, free: 7.887 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.307e-05/0.1165, allocations: 8.125 kB / 0.4923 GB, free: 7.879 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/0.1166, allocations: 49.61 kB / 0.4923 GB, free: 7.824 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.1166, allocations: 0 / 0.4923 GB, free: 7.824 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.1167, allocations: 3.938 kB / 0.4923 GB, free: 7.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.1167, allocations: 4 kB / 0.4923 GB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.2e-05/0.1167, allocations: 19.98 kB / 0.4923 GB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001885/0.1169, allocations: 177.7 kB / 0.4925 GB, free: 7.574 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001759/0.1171, allocations: 50.62 kB / 0.4925 GB, free: 7.516 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.98e-05/0.1172, allocations: 24.78 kB / 0.4926 GB, free: 7.488 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.1172, allocations: 4 kB / 0.4926 GB, free: 7.484 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001525/0.1174, allocations: 67.33 kB / 0.4926 GB, free: 7.406 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.744e-06/0.1174, allocations: 0 / 0.4926 GB, free: 7.406 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003094/0.1177, allocations: 101.5 kB / 0.4927 GB, free: 7.301 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/0.1178, allocations: 51.41 kB / 0.4928 GB, free: 7.238 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000197/0.118, allocations: 215.1 kB / 0.493 GB, free: 7.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.118, allocations: 29.7 kB / 0.493 GB, free: 6.984 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.313e-05/0.1181, allocations: 108.1 kB / 0.4931 GB, free: 6.875 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.55e-05/0.1181, allocations: 19.78 kB / 0.4931 GB, free: 6.855 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.432e-05/0.1182, allocations: 17.72 kB / 0.4932 GB, free: 6.832 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.1183, allocations: 322.8 kB / 0.4935 GB, free: 6.508 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.67e-05/0.1183, allocations: 15.98 kB / 0.4935 GB, free: 6.492 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.023e-05/0.1184, allocations: 37.69 kB / 0.4935 GB, free: 6.449 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.641e-05/0.1185, allocations: 37.72 kB / 0.4936 GB, free: 6.406 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.1185, allocations: 4 kB / 0.4936 GB, free: 6.402 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001758/0.1187, allocations: 93.36 kB / 0.4936 GB, free: 6.305 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.1187, allocations: 4 kB / 0.4936 GB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.1187, allocations: 0 / 0.4936 GB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.1188, allocations: 4 kB / 0.4937 GB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.707e-05/0.1188, allocations: 8 kB / 0.4937 GB, free: 6.289 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.1189, allocations: 0 / 0.4937 GB, free: 6.289 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.855e-05/0.1189, allocations: 4 kB / 0.4937 GB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.1189, allocations: 3.984 kB / 0.4937 GB, free: 6.281 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 (7): * Single equations (assignments): 7 * 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.0001092/0.119, allocations: 141.7 kB / 0.4938 GB, free: 6.133 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.283e-05/0.1191, allocations: 11.81 kB / 0.4938 GB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.984e-05/0.1191, allocations: 12.98 kB / 0.4938 GB, free: 6.105 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.1191, allocations: 4 kB / 0.4938 GB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1191, allocations: 0 / 0.4938 GB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.1191, allocations: 0 / 0.4938 GB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001484/0.1193, allocations: 197.5 kB / 0.494 GB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1193, allocations: 3.938 kB / 0.494 GB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.258e-05/0.1193, allocations: 4 kB / 0.494 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.1193, allocations: 4 kB / 0.494 GB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.365e-06/0.1194, allocations: 0 / 0.494 GB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.1194, allocations: 320 / 0.494 GB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1194, allocations: 4 kB / 0.494 GB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001817/0.1196, allocations: 113 kB / 0.4941 GB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.509e-05/0.1196, allocations: 89 kB / 0.4942 GB, free: 5.609 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.231e-05/0.1197, allocations: 7.938 kB / 0.4942 GB, free: 5.602 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.891e-05/0.1197, allocations: 3.984 kB / 0.4942 GB, free: 5.598 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.099e-05/0.1197, allocations: 8 kB / 0.4942 GB, free: 5.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/0.1198, allocations: 0 / 0.4942 GB, free: 5.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001211/0.1199, allocations: 155.2 kB / 0.4944 GB, free: 5.438 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1199, allocations: 0 / 0.4944 GB, free: 5.438 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002375/0.1201, allocations: 24 kB / 0.4944 GB, free: 5.414 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: 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 (5): * Single equations (assignments): 3 * 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.0009634/0.1211, allocations: 409.1 kB / 0.4948 GB, free: 5.043 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001657/0.1213, allocations: 39.98 kB / 0.4948 GB, free: 5.004 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.1213, allocations: 4.062 kB / 0.4948 GB, free: 5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.451e-05/0.1214, allocations: 23.88 kB / 0.4949 GB, free: 4.977 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002885/0.1217, allocations: 43.05 kB / 0.4949 GB, free: 4.938 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004544/0.1221, allocations: 239.7 kB / 0.4951 GB, free: 4.672 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/0.1224, allocations: 0.7041 MB / 0.4958 GB, free: 3.941 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.553e-05/0.1225, allocations: 15.44 kB / 0.4958 GB, free: 3.926 MB / 382.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1225, allocations: 4 kB / 0.4958 GB, free: 3.922 MB / 382.1 MB Notification: Performance of Templates: time 0.003656/0.1261, allocations: 1.746 MB / 0.4976 GB, free: 2.18 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches