Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.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.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83") translateModel(ModelicaTest.Tables.CombiTimeTable.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 112.9 kB / 17.08 MB, free: 5.965 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.00115/0.00115, allocations: 198.9 kB / 18.02 MB, free: 5.047 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.367/1.367, allocations: 205.1 MB / 223.9 MB, free: 12.21 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.2066/0.2066, allocations: 43.51 MB / 314.8 MB, free: 460 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.001397/0.001397, allocations: 69.47 kB / 442.5 MB, free: 5.605 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1113, allocations: 57.8 MB / 0.4886 GB, free: 11.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.003407/0.1148, allocations: 1.929 MB / 0.4905 GB, free: 9.797 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001533/0.1163, allocations: 0.9676 MB / 0.4914 GB, free: 8.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001076/0.1165, allocations: 7.938 kB / 0.4914 GB, free: 8.812 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007003/0.1172, allocations: 195.4 kB / 0.4916 GB, free: 8.621 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003373/0.1175, allocations: 159.4 kB / 0.4918 GB, free: 8.465 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000467/0.118, allocations: 191.5 kB / 0.492 GB, free: 8.277 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003995/0.1184, allocations: 263.2 kB / 0.4922 GB, free: 8.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.1185, allocations: 21.66 kB / 0.4922 GB, free: 7.996 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001489/0.1187, allocations: 115.5 kB / 0.4923 GB, free: 7.883 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001527/0.1189, allocations: 99.59 kB / 0.4924 GB, free: 7.785 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.947e-05/0.1189, allocations: 12 kB / 0.4924 GB, free: 7.773 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001534/0.1191, allocations: 63.89 kB / 0.4925 GB, free: 7.711 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.202e-05/0.1191, allocations: 43.84 kB / 0.4925 GB, free: 7.668 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.672e-05/0.1192, allocations: 83.47 kB / 0.4926 GB, free: 7.586 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002986/0.1196, allocations: 239.1 kB / 0.4929 GB, free: 7.352 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1196, allocations: 0 / 0.4929 GB, free: 7.352 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1196, allocations: 4 kB / 0.4929 GB, free: 7.348 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.1196, allocations: 0 / 0.4929 GB, free: 7.348 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008043/0.1204, allocations: 0.5466 MB / 0.4934 GB, free: 6.746 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.1205, allocations: 11.89 kB / 0.4934 GB, free: 6.734 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.553e-05/0.1205, allocations: 24.66 kB / 0.4934 GB, free: 6.711 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003892/0.1209, allocations: 283.5 kB / 0.4937 GB, free: 6.395 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.1209, allocations: 4.375 kB / 0.4937 GB, free: 6.391 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.822e-05/0.121, allocations: 8.125 kB / 0.4937 GB, free: 6.383 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002344/0.1212, allocations: 104.2 kB / 0.4938 GB, free: 6.266 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.1212, allocations: 0 / 0.4938 GB, free: 6.266 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.829e-05/0.1212, allocations: 4 kB / 0.4938 GB, free: 6.262 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.1213, allocations: 4 kB / 0.4938 GB, free: 6.258 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001242/0.1214, allocations: 39.91 kB / 0.4939 GB, free: 6.219 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005397/0.1219, allocations: 377.6 kB / 0.4942 GB, free: 5.797 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002871/0.1222, allocations: 121.2 kB / 0.4943 GB, free: 5.66 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001227/0.1224, allocations: 49.69 kB / 0.4944 GB, free: 5.605 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.882e-05/0.1224, allocations: 4 kB / 0.4944 GB, free: 5.602 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002479/0.1227, allocations: 112.9 kB / 0.4945 GB, free: 5.473 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.433e-06/0.1227, allocations: 4 kB / 0.4945 GB, free: 5.469 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004481/0.1231, allocations: 177.3 kB / 0.4947 GB, free: 5.289 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.46e-05/0.1232, allocations: 110.8 kB / 0.4948 GB, free: 5.156 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003453/0.1236, allocations: 331 kB / 0.4951 GB, free: 4.816 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.989e-05/0.1236, allocations: 33.7 kB / 0.4951 GB, free: 4.777 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.73e-05/0.1237, allocations: 140 kB / 0.4953 GB, free: 4.637 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.176e-05/0.1237, allocations: 23.66 kB / 0.4953 GB, free: 4.613 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.092e-05/0.1238, allocations: 33.7 kB / 0.4953 GB, free: 4.574 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.1239, allocations: 338.8 kB / 0.4956 GB, free: 4.234 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.944e-05/0.124, allocations: 31.98 kB / 0.4957 GB, free: 4.203 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.1242, allocations: 81.12 kB / 0.4957 GB, free: 4.105 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000182/0.1243, allocations: 91.36 kB / 0.4958 GB, free: 4.004 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1244, allocations: 3.938 kB / 0.4958 GB, free: 4 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003457/0.1247, allocations: 161.8 kB / 0.496 GB, free: 3.836 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.1247, allocations: 4 kB / 0.496 GB, free: 3.832 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.1247, allocations: 4 kB / 0.496 GB, free: 3.828 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.1248, allocations: 0 / 0.496 GB, free: 3.828 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.1249, allocations: 19.98 kB / 0.496 GB, free: 3.809 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.75e-06/0.1249, allocations: 4 kB / 0.496 GB, free: 3.805 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.216e-05/0.125, allocations: 8 kB / 0.496 GB, free: 3.797 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.125, allocations: 7.938 kB / 0.496 GB, free: 3.789 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: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001562/0.1252, allocations: 177.6 kB / 0.4962 GB, free: 3.605 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.653e-05/0.1252, allocations: 19.72 kB / 0.4962 GB, free: 3.586 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.584e-05/0.1253, allocations: 29.73 kB / 0.4962 GB, free: 3.559 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.1253, allocations: 0 / 0.4962 GB, free: 3.559 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.1253, allocations: 7.938 kB / 0.4963 GB, free: 3.551 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.1253, allocations: 0 / 0.4963 GB, free: 3.551 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002202/0.1255, allocations: 249.5 kB / 0.4965 GB, free: 3.258 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1255, allocations: 0 / 0.4965 GB, free: 3.258 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.31e-05/0.1256, allocations: 8 kB / 0.4965 GB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1256, allocations: 0 / 0.4965 GB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.839e-05/0.1256, allocations: 15.98 kB / 0.4965 GB, free: 3.234 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.1256, allocations: 0 / 0.4965 GB, free: 3.234 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1256, allocations: 0 / 0.4965 GB, free: 3.234 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003206/0.1259, allocations: 177.5 kB / 0.4967 GB, free: 3.039 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.538e-05/0.126, allocations: 96.91 kB / 0.4968 GB, free: 2.926 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.983e-05/0.1261, allocations: 4 kB / 0.4968 GB, free: 2.922 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.366e-05/0.1261, allocations: 8 kB / 0.4968 GB, free: 2.914 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.007e-05/0.1262, allocations: 15.98 kB / 0.4968 GB, free: 2.898 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.737e-05/0.1262, allocations: 11.92 kB / 0.4968 GB, free: 2.887 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002517/0.1265, allocations: 241.9 kB / 0.497 GB, free: 2.652 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.955e-06/0.1265, allocations: 0 / 0.497 GB, free: 2.652 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002481/0.1267, allocations: 43.84 kB / 0.4971 GB, free: 2.609 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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * 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.001041/0.1278, allocations: 434.9 kB / 0.4975 GB, free: 2.219 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002619/0.1281, allocations: 95.89 kB / 0.4976 GB, free: 2.125 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1281, allocations: 0 / 0.4976 GB, free: 2.125 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000114/0.1282, allocations: 39.98 kB / 0.4976 GB, free: 2.086 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003791/0.1286, allocations: 68.61 kB / 0.4977 GB, free: 2.02 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007421/0.1293, allocations: 401.9 kB / 0.4981 GB, free: 1.594 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003474/0.1297, allocations: 0.7516 MB / 0.4988 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.055e-05/0.1298, allocations: 23.44 kB / 0.4988 GB, free: 0.793 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1298, allocations: 0 / 0.4988 GB, free: 0.793 MB / 382.1 MB Notification: Performance of Templates: time 0.005565/0.1353, allocations: 3.267 MB / 0.502 GB, free: 13.52 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches