Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 116.4 kB / 17.08 MB, free: 5.789 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.001023/0.001023, allocations: 197.2 kB / 18.02 MB, free: 4.918 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.501/1.501, 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.2224/0.2224, allocations: 43.52 MB / 314.8 MB, free: 452 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.001408/0.001408, allocations: 77.45 kB / 442.6 MB, free: 5.57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1109, allocations: 57.78 MB / 0.4886 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.002991/0.1139, allocations: 1.654 MB / 0.4902 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00123/0.1152, allocations: 0.7884 MB / 0.491 GB, free: 9.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.122e-05/0.1153, allocations: 3.938 kB / 0.491 GB, free: 9.246 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003191/0.1156, allocations: 51.81 kB / 0.491 GB, free: 9.195 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001985/0.1158, allocations: 59.75 kB / 0.4911 GB, free: 9.137 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002229/0.1161, allocations: 87.66 kB / 0.4912 GB, free: 9.051 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002434/0.1163, allocations: 95.73 kB / 0.4913 GB, free: 8.957 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.352e-05/0.1164, allocations: 15.86 kB / 0.4913 GB, free: 8.941 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001064/0.1165, allocations: 35.8 kB / 0.4913 GB, free: 8.906 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.679e-05/0.1166, allocations: 31.86 kB / 0.4914 GB, free: 8.875 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.063e-05/0.1166, allocations: 4 kB / 0.4914 GB, free: 8.871 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.342e-05/0.1167, allocations: 27.97 kB / 0.4914 GB, free: 8.844 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.111e-05/0.1168, allocations: 23.92 kB / 0.4914 GB, free: 8.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.217e-05/0.1168, allocations: 39.67 kB / 0.4914 GB, free: 8.781 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001978/0.117, allocations: 119.6 kB / 0.4916 GB, free: 8.664 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.117, allocations: 0 / 0.4916 GB, free: 8.664 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.717e-06/0.1171, allocations: 0 / 0.4916 GB, free: 8.664 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.1171, allocations: 3.938 kB / 0.4916 GB, free: 8.66 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.0006075/0.1177, allocations: 438.7 kB / 0.492 GB, free: 8.184 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.1177, allocations: 11.89 kB / 0.492 GB, free: 8.172 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.52e-05/0.1178, allocations: 8.844 kB / 0.492 GB, free: 8.164 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002647/0.1181, allocations: 223.7 kB / 0.4922 GB, free: 7.906 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.1181, allocations: 384 / 0.4922 GB, free: 7.906 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.423e-05/0.1181, allocations: 8.125 kB / 0.4922 GB, free: 7.898 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/0.1182, allocations: 45.67 kB / 0.4923 GB, free: 7.848 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.1183, allocations: 0 / 0.4923 GB, free: 7.848 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.1183, allocations: 0 / 0.4923 GB, free: 7.848 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.1183, allocations: 0 / 0.4923 GB, free: 7.848 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.26e-05/0.1184, allocations: 23.92 kB / 0.4923 GB, free: 7.824 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002493/0.1186, allocations: 193.7 kB / 0.4925 GB, free: 7.586 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001624/0.1188, allocations: 50.61 kB / 0.4925 GB, free: 7.527 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.183e-05/0.1189, allocations: 20.8 kB / 0.4925 GB, free: 7.504 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.1189, allocations: 0 / 0.4925 GB, free: 7.504 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001488/0.119, allocations: 79.17 kB / 0.4926 GB, free: 7.414 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.373e-06/0.119, allocations: 4 kB / 0.4926 GB, free: 7.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002894/0.1193, allocations: 97.56 kB / 0.4927 GB, free: 7.309 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/0.1194, allocations: 55.41 kB / 0.4928 GB, free: 7.242 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000293/0.1197, allocations: 254.5 kB / 0.493 GB, free: 6.977 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.1197, allocations: 29.7 kB / 0.493 GB, free: 6.941 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.901e-05/0.1198, allocations: 108.1 kB / 0.4931 GB, free: 6.832 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.583e-05/0.1198, allocations: 23.75 kB / 0.4932 GB, free: 6.809 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-05/0.1199, allocations: 17.72 kB / 0.4932 GB, free: 6.785 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.12, allocations: 330.8 kB / 0.4935 GB, free: 6.453 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.741e-05/0.1201, allocations: 11.98 kB / 0.4935 GB, free: 6.441 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.863e-05/0.1201, allocations: 37.62 kB / 0.4935 GB, free: 6.398 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.929e-05/0.1203, allocations: 41.72 kB / 0.4936 GB, free: 6.352 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1203, allocations: 0 / 0.4936 GB, free: 6.352 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000151/0.1204, allocations: 93.36 kB / 0.4937 GB, free: 6.254 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.1204, allocations: 8 kB / 0.4937 GB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.1205, allocations: 3.938 kB / 0.4937 GB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.1205, allocations: 0 / 0.4937 GB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.981e-05/0.1205, allocations: 8 kB / 0.4937 GB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.229e-06/0.1206, allocations: 0 / 0.4937 GB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.299e-05/0.1206, allocations: 7.984 kB / 0.4937 GB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.1206, allocations: 4 kB / 0.4937 GB, free: 6.223 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.0001102/0.1207, allocations: 141.7 kB / 0.4938 GB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.248e-05/0.1208, allocations: 15.81 kB / 0.4939 GB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.932e-05/0.1208, allocations: 17 kB / 0.4939 GB, free: 6.039 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.1208, allocations: 0 / 0.4939 GB, free: 6.039 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.1208, allocations: 0 / 0.4939 GB, free: 6.039 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.1208, allocations: 7.922 kB / 0.4939 GB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001485/0.121, allocations: 197.6 kB / 0.4941 GB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.121, allocations: 0 / 0.4941 GB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.111e-05/0.121, allocations: 7.984 kB / 0.4941 GB, free: 5.781 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.121, allocations: 4 kB / 0.4941 GB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.121, allocations: 4.312 kB / 0.4941 GB, free: 5.773 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1211, allocations: 0 / 0.4941 GB, free: 5.773 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.1211, allocations: 4 kB / 0.4941 GB, free: 5.77 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001793/0.1212, allocations: 116.9 kB / 0.4942 GB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.909e-05/0.1213, allocations: 88.95 kB / 0.4943 GB, free: 5.531 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.062e-05/0.1213, allocations: 0 / 0.4943 GB, free: 5.531 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.652e-05/0.1214, allocations: 4 kB / 0.4943 GB, free: 5.527 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.218e-05/0.1214, allocations: 7.984 kB / 0.4943 GB, free: 5.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.1214, allocations: 4 kB / 0.4943 GB, free: 5.516 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002378/0.1217, allocations: 196.5 kB / 0.4945 GB, free: 5.324 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.694e-06/0.1217, allocations: 0 / 0.4945 GB, free: 5.324 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002018/0.1219, allocations: 15.94 kB / 0.4945 GB, free: 5.309 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.001017/0.1229, allocations: 412.8 kB / 0.4949 GB, free: 4.938 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001514/0.1231, allocations: 35.98 kB / 0.4949 GB, free: 4.902 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1231, allocations: 4.062 kB / 0.4949 GB, free: 4.898 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.814e-05/0.1231, allocations: 19.94 kB / 0.495 GB, free: 4.879 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002673/0.1234, allocations: 39.77 kB / 0.495 GB, free: 4.84 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004726/0.1239, allocations: 292.2 kB / 0.4953 GB, free: 4.523 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002895/0.1242, allocations: 0.708 MB / 0.496 GB, free: 3.789 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.309e-05/0.1242, allocations: 19.44 kB / 0.496 GB, free: 3.77 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1242, allocations: 4 kB / 0.496 GB, free: 3.766 MB / 382.1 MB Notification: Performance of Templates: time 0.003549/0.1278, allocations: 1.827 MB / 0.4978 GB, free: 1.945 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches