Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 113 kB / 17.08 MB, free: 6.012 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.001277/0.001277, allocations: 199 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.375/1.375, allocations: 205.1 MB / 223.9 MB, free: 12.29 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.2081/0.2081, allocations: 43.52 MB / 314.8 MB, free: 472 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.001395/0.001395, allocations: 75.83 kB / 442.5 MB, free: 5.609 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09986/0.1013, allocations: 57.79 MB / 0.4886 GB, free: 11.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.002838/0.1041, allocations: 1.783 MB / 0.4903 GB, free: 9.945 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001311/0.1055, allocations: 0.874 MB / 0.4912 GB, free: 9.062 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.851e-05/0.1056, allocations: 4 kB / 0.4912 GB, free: 9.059 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000496/0.1061, allocations: 315.3 kB / 0.4915 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003555/0.1064, allocations: 211.4 kB / 0.4917 GB, free: 8.543 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003311/0.1068, allocations: 139.6 kB / 0.4918 GB, free: 8.406 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002983/0.1071, allocations: 243.4 kB / 0.4921 GB, free: 8.168 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.955e-05/0.1072, allocations: 17.53 kB / 0.4921 GB, free: 8.152 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001613/0.1073, allocations: 127.5 kB / 0.4922 GB, free: 8.027 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002165/0.1076, allocations: 191.5 kB / 0.4924 GB, free: 7.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.814e-05/0.1076, allocations: 8 kB / 0.4924 GB, free: 7.832 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001016/0.1077, allocations: 47.97 kB / 0.4924 GB, free: 7.785 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001273/0.1078, allocations: 135.6 kB / 0.4926 GB, free: 7.652 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001235/0.108, allocations: 154.7 kB / 0.4927 GB, free: 7.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003565/0.1083, allocations: 362.7 kB / 0.4931 GB, free: 7.145 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1083, allocations: 0 / 0.4931 GB, free: 7.145 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1083, allocations: 0 / 0.4931 GB, free: 7.145 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.1084, allocations: 0 / 0.4931 GB, free: 7.145 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.0009395/0.1093, allocations: 0.7229 MB / 0.4938 GB, free: 6.371 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.1094, allocations: 15.89 kB / 0.4938 GB, free: 6.355 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.66e-05/0.1094, allocations: 44.38 kB / 0.4938 GB, free: 6.312 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005919/0.11, allocations: 463.7 kB / 0.4943 GB, free: 5.816 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.1101, allocations: 4.375 kB / 0.4943 GB, free: 5.812 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/0.1101, allocations: 8.125 kB / 0.4943 GB, free: 5.805 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.1103, allocations: 87.36 kB / 0.4944 GB, free: 5.707 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.1103, allocations: 0 / 0.4944 GB, free: 5.707 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.1103, allocations: 0 / 0.4944 GB, free: 5.707 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.1103, allocations: 4 kB / 0.4944 GB, free: 5.703 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001018/0.1104, allocations: 35.91 kB / 0.4944 GB, free: 5.668 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000352/0.1108, allocations: 370.4 kB / 0.4948 GB, free: 5.254 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002745/0.1111, allocations: 101.2 kB / 0.4949 GB, free: 5.137 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.36e-05/0.1112, allocations: 49.58 kB / 0.4949 GB, free: 5.082 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.553e-05/0.1112, allocations: 4 kB / 0.4949 GB, free: 5.078 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001962/0.1114, allocations: 105.1 kB / 0.495 GB, free: 4.957 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 2.766e-06/0.1114, allocations: 3.984 kB / 0.495 GB, free: 4.953 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004537/0.1119, allocations: 200.9 kB / 0.4952 GB, free: 4.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.709e-05/0.1119, allocations: 81.11 kB / 0.4953 GB, free: 4.652 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001002/0.1129, allocations: 1.038 MB / 0.4963 GB, free: 3.602 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/0.113, allocations: 33.7 kB / 0.4963 GB, free: 3.562 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001606/0.1131, allocations: 232 kB / 0.4965 GB, free: 3.332 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.687e-05/0.1132, allocations: 27.7 kB / 0.4966 GB, free: 3.305 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.241e-05/0.1132, allocations: 21.72 kB / 0.4966 GB, free: 3.277 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.1134, allocations: 370.8 kB / 0.4969 GB, free: 2.906 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.323e-05/0.1135, allocations: 31.98 kB / 0.497 GB, free: 2.875 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.644e-05/0.1136, allocations: 63.41 kB / 0.497 GB, free: 2.801 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000166/0.1137, allocations: 83.86 kB / 0.4971 GB, free: 2.707 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.1138, allocations: 8 kB / 0.4971 GB, free: 2.699 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002837/0.114, allocations: 172.9 kB / 0.4973 GB, free: 2.523 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.1141, allocations: 4 kB / 0.4973 GB, free: 2.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.1141, allocations: 4 kB / 0.4973 GB, free: 2.516 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.1141, allocations: 0 / 0.4973 GB, free: 2.516 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.1142, allocations: 23.92 kB / 0.4973 GB, free: 2.492 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.1142, allocations: 7.984 kB / 0.4973 GB, free: 2.484 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.449e-05/0.1143, allocations: 7.938 kB / 0.4973 GB, free: 2.477 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.1144, allocations: 16 kB / 0.4974 GB, free: 2.461 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.0001914/0.1146, allocations: 225.6 kB / 0.4976 GB, free: 2.23 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.521e-05/0.1146, allocations: 47.34 kB / 0.4976 GB, free: 2.184 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.08e-05/0.1147, allocations: 64 kB / 0.4977 GB, free: 2.121 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.1147, allocations: 0 / 0.4977 GB, free: 2.121 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.1147, allocations: 4 kB / 0.4977 GB, free: 2.117 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.1147, allocations: 3.984 kB / 0.4977 GB, free: 2.113 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002744/0.115, allocations: 337.4 kB / 0.498 GB, free: 1.734 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.115, allocations: 0 / 0.498 GB, free: 1.734 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.801e-05/0.1151, allocations: 15.92 kB / 0.498 GB, free: 1.719 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.1151, allocations: 8 kB / 0.498 GB, free: 1.711 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.769e-06/0.1151, allocations: 0 / 0.498 GB, free: 1.711 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.1151, allocations: 4.125 kB / 0.498 GB, free: 1.707 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.676e-06/0.1151, allocations: 4 kB / 0.498 GB, free: 1.703 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003003/0.1154, allocations: 197.2 kB / 0.4982 GB, free: 1.488 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001529/0.1156, allocations: 140.4 kB / 0.4984 GB, free: 1.332 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.635e-05/0.1156, allocations: 11.98 kB / 0.4984 GB, free: 1.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.43e-05/0.1157, allocations: 4 kB / 0.4984 GB, free: 1.316 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.968e-05/0.1158, allocations: 7.984 kB / 0.4984 GB, free: 1.309 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.777e-05/0.1158, allocations: 8.094 kB / 0.4984 GB, free: 1.301 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007157/0.1165, allocations: 0.776 MB / 0.4991 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1165, allocations: 0 / 0.4991 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002619/0.1168, allocations: 40 kB / 0.4992 GB, free: 500 kB / 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.0009261/0.1177, allocations: 413.9 kB / 0.4996 GB, free: 124 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002472/0.118, allocations: 87.83 kB / 0.4997 GB, free: 36 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.118, allocations: 0 / 0.4997 GB, free: 36 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001122/0.1181, allocations: 40.02 kB / 0.4997 GB, free: 15.99 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004085/0.1185, allocations: 85.88 kB / 0.4998 GB, free: 15.91 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001136/0.1197, allocations: 0.9035 MB / 0.5007 GB, free: 14.97 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003934/0.1201, allocations: 0.8466 MB / 0.5015 GB, free: 14.1 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.07e-05/0.1202, allocations: 27.44 kB / 0.5015 GB, free: 14.07 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1202, allocations: 0 / 0.5015 GB, free: 14.07 MB / 398.1 MB Notification: Performance of Templates: time 0.007235/0.1274, allocations: 5.144 MB / 0.5065 GB, free: 8.922 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches