Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.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.Blocks.IntegerTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integerTable.y|integerTable2.y|integerTable3.y|integerTable4.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable") translateModel(ModelicaTest.Blocks.IntegerTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integerTable.y|integerTable2.y|integerTable3.y|integerTable4.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001857/0.001857, allocations: 111.9 kB / 17.09 MB, free: 5.988 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.00213/0.00213, allocations: 200.2 kB / 18.02 MB, free: 5.066 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.262/1.262, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.1898/0.1898, 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.001421/0.001421, allocations: 69.45 kB / 442.5 MB, free: 5.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09249/0.09393, allocations: 57.78 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.00337/0.09733, allocations: 2.275 MB / 0.4908 GB, free: 9.516 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002386/0.09974, allocations: 1.462 MB / 0.4922 GB, free: 8.043 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001976/0.09996, allocations: 3.938 kB / 0.4922 GB, free: 8.039 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003966/0.1004, allocations: 147.3 kB / 0.4923 GB, free: 7.895 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004396/0.1008, allocations: 223 kB / 0.4925 GB, free: 7.676 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001396/0.1022, allocations: 0.6082 MB / 0.4931 GB, free: 7.066 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005714/0.1028, allocations: 0.5298 MB / 0.4936 GB, free: 6.535 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001579/0.103, allocations: 76.98 kB / 0.4937 GB, free: 6.453 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002891/0.1033, allocations: 227.1 kB / 0.4939 GB, free: 6.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000271/0.1036, allocations: 219 kB / 0.4941 GB, free: 6.016 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.515e-05/0.1036, allocations: 24 kB / 0.4942 GB, free: 5.992 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003073/0.1039, allocations: 179.8 kB / 0.4943 GB, free: 5.816 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001316/0.1041, allocations: 127.5 kB / 0.4945 GB, free: 5.691 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001763/0.1043, allocations: 198.7 kB / 0.4947 GB, free: 5.496 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005839/0.1049, allocations: 0.5685 MB / 0.4952 GB, free: 4.926 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.1049, allocations: 0 / 0.4952 GB, free: 4.926 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1049, allocations: 0 / 0.4952 GB, free: 4.926 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.194e-05/0.1049, allocations: 4 kB / 0.4952 GB, free: 4.922 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001122/0.106, allocations: 0.8864 MB / 0.4961 GB, free: 3.961 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.1061, allocations: 19.89 kB / 0.4961 GB, free: 3.941 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001076/0.1062, allocations: 52.38 kB / 0.4961 GB, free: 3.891 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006059/0.1068, allocations: 464.1 kB / 0.4966 GB, free: 3.395 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.876e-05/0.1068, allocations: 16.55 kB / 0.4966 GB, free: 3.379 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.393e-05/0.1069, allocations: 20.12 kB / 0.4966 GB, free: 3.359 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004326/0.1073, allocations: 261.3 kB / 0.4969 GB, free: 3.062 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/0.1073, allocations: 0 / 0.4969 GB, free: 3.062 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.52e-05/0.1074, allocations: 4 kB / 0.4969 GB, free: 3.059 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.1074, allocations: 4 kB / 0.4969 GB, free: 3.055 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002919/0.1077, allocations: 115.9 kB / 0.497 GB, free: 2.941 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009719/0.1086, allocations: 0.868 MB / 0.4978 GB, free: 2.012 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006389/0.1093, allocations: 298.5 kB / 0.4981 GB, free: 1.684 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002117/0.1095, allocations: 111.4 kB / 0.4982 GB, free: 1.562 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.845e-05/0.1096, allocations: 8 kB / 0.4982 GB, free: 1.555 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003773/0.11, allocations: 226.3 kB / 0.4985 GB, free: 1.309 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 2.565e-06/0.11, allocations: 0 / 0.4985 GB, free: 1.309 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009189/0.1109, allocations: 404.8 kB / 0.4988 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001241/0.111, allocations: 338.1 kB / 0.4992 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006624/0.1117, allocations: 0.6355 MB / 0.4998 GB, free: 15.85 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.164e-05/0.1117, allocations: 33.7 kB / 0.4998 GB, free: 15.81 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001689/0.1119, allocations: 228.5 kB / 0.5 GB, free: 15.58 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.848e-05/0.112, allocations: 59.27 kB / 0.5001 GB, free: 15.52 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.726e-05/0.1121, allocations: 65.69 kB / 0.5002 GB, free: 15.45 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.1122, allocations: 366.8 kB / 0.5005 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002027/0.1124, allocations: 79.95 kB / 0.5006 GB, free: 15.01 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003077/0.1127, allocations: 248.5 kB / 0.5008 GB, free: 14.71 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000434/0.1132, allocations: 235.7 kB / 0.501 GB, free: 14.45 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.1132, allocations: 0 / 0.501 GB, free: 14.45 MB / 398.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005929/0.1138, allocations: 312.8 kB / 0.5013 GB, free: 14.14 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.1138, allocations: 8 kB / 0.5013 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.1138, allocations: 0 / 0.5013 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.1139, allocations: 4 kB / 0.5013 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002453/0.1141, allocations: 55.84 kB / 0.5014 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.1141, allocations: 7.938 kB / 0.5014 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001996/0.1143, allocations: 35.95 kB / 0.5014 GB, free: 14.03 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.116e-05/0.1144, allocations: 8 kB / 0.5015 GB, free: 14.02 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 24 ($PRE.integerTable.combiTimeTable.nextTimeEvent,$whenCondition4,integerTable.combiTimeTable.nextTimeEventScaled,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent,integerTable.y,$PRE.integerTable2.combiTimeTable.nextTimeEvent,$whenCondition3,integerTable2.combiTimeTable.nextTimeEventScaled,$PRE.integerTable2.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEvent,integerTable2.y,$PRE.integerTable3.combiTimeTable.nextTimeEvent,$whenCondition2,integerTable3.combiTimeTable.nextTimeEventScaled,$PRE.integerTable3.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEvent,integerTable3.y,$PRE.integerTable4.combiTimeTable.nextTimeEvent,$whenCondition1,integerTable4.combiTimeTable.nextTimeEventScaled,$PRE.integerTable4.combiTimeTable.nextTimeEventScaled,integerTable4.combiTimeTable.nextTimeEvent,integerTable4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * 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.0002353/0.1146, allocations: 229.8 kB / 0.5017 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.934e-05/0.1147, allocations: 59.28 kB / 0.5017 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.035e-05/0.1148, allocations: 55.91 kB / 0.5018 GB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.1148, allocations: 7.922 kB / 0.5018 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1148, allocations: 0 / 0.5018 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.471e-05/0.1149, allocations: 124.5 kB / 0.5019 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.725e-05/0.115, allocations: 11.98 kB / 0.5019 GB, free: 13.51 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001746/0.1152, allocations: 19.98 kB / 0.5019 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.163e-05/0.1153, allocations: 35.97 kB / 0.502 GB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007441/0.116, allocations: 0.5961 MB / 0.5026 GB, free: 12.85 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007311/0.1168, allocations: 0.7146 MB / 0.5033 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003074/0.1171, allocations: 180 kB / 0.5034 GB, free: 11.94 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004717/0.1176, allocations: 466.8 kB / 0.5039 GB, free: 11.48 MB / 398.1 MB Notification: Performance of Backend: time 6.41e-07/0.1176, allocations: 0 / 0.5039 GB, free: 11.48 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001858/0.1194, allocations: 0.6072 MB / 0.5045 GB, free: 10.92 MB / 398.1 MB Notification: Performance of SimCode: time 0.001463/0.1209, allocations: 1.247 MB / 0.5057 GB, free: 9.625 MB / 398.1 MB Notification: Performance of Templates: time 0.01383/0.1348, allocations: 8.635 MB / 0.5141 GB, free: 0.9883 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/IntegerTable/IntegerTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches