Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009937/0.0009937, allocations: 99.38 kB / 18.01 MB, free: 5.602 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.001087/0.001087, allocations: 184.4 kB / 18.91 MB, free: 4.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 223.3 MB / 243 MB, free: 16 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1873/0.1873, allocations: 44.25 MB / 338.3 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003061/0.0003062, allocations: 16.84 kB / 411 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.109, allocations: 61.92 MB / 472.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.002192/0.1112, allocations: 1.375 MB / 474.3 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001414/0.1126, allocations: 0.8304 MB / 475.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.404e-05/0.1128, allocations: 7.938 kB / 475.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002964/0.1131, allocations: 39.88 kB / 475.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002109/0.1133, allocations: 51.83 kB / 475.2 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003098/0.1136, allocations: 95.14 kB / 475.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001677/0.1138, allocations: 87.69 kB / 475.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.214e-05/0.1138, allocations: 12 kB / 475.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.873e-05/0.114, allocations: 39.84 kB / 475.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.763e-05/0.1141, allocations: 39.77 kB / 475.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.1141, allocations: 0 / 475.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.582e-05/0.1142, allocations: 32 kB / 475.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.695e-05/0.1142, allocations: 11.92 kB / 475.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.404e-05/0.1143, allocations: 61.44 kB / 475.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001495/0.1145, allocations: 72.11 kB / 475.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.1145, allocations: 0 / 475.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1145, allocations: 4 kB / 475.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.1145, allocations: 3.938 kB / 475.7 MB, free: 10.55 MB / 350.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.0004914/0.115, allocations: 379.2 kB / 476 MB, free: 10.13 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.115, allocations: 8.031 kB / 476.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.159e-05/0.1151, allocations: 8.844 kB / 476.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002182/0.1153, allocations: 204.1 kB / 476.3 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.1153, allocations: 384 / 476.3 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.687e-05/0.1154, allocations: 8.125 kB / 476.3 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.1155, allocations: 53.61 kB / 476.3 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.1155, allocations: 0 / 476.3 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.1155, allocations: 7.938 kB / 476.3 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.1156, allocations: 0 / 476.3 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.476e-05/0.1156, allocations: 11.98 kB / 476.3 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001893/0.1158, allocations: 181.7 kB / 476.5 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001704/0.116, allocations: 54.62 kB / 476.6 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.608e-05/0.1161, allocations: 36.7 kB / 476.6 MB, free: 9.465 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.1161, allocations: 0 / 476.6 MB, free: 9.465 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001696/0.1163, allocations: 59.39 kB / 476.7 MB, free: 9.395 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.412e-06/0.1163, allocations: 0 / 476.7 MB, free: 9.395 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002838/0.1166, allocations: 89.58 kB / 476.8 MB, free: 9.301 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.546e-05/0.1166, allocations: 59.34 kB / 476.8 MB, free: 9.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/0.1168, allocations: 172.5 kB / 477 MB, free: 9.055 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.1168, allocations: 33.69 kB / 477 MB, free: 9.016 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.638e-05/0.1169, allocations: 92.14 kB / 477.1 MB, free: 8.922 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.888e-05/0.1169, allocations: 19.75 kB / 477.1 MB, free: 8.902 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.509e-05/0.1169, allocations: 13.7 kB / 477.1 MB, free: 8.883 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.1171, allocations: 318.8 kB / 477.4 MB, free: 8.562 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.058e-05/0.1171, allocations: 15.98 kB / 477.5 MB, free: 8.547 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.886e-05/0.1172, allocations: 33.7 kB / 477.5 MB, free: 8.508 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.269e-05/0.1173, allocations: 41.97 kB / 477.5 MB, free: 8.461 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.1173, allocations: 3.984 kB / 477.5 MB, free: 8.457 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001625/0.1175, allocations: 85.47 kB / 477.6 MB, free: 8.367 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.1175, allocations: 8 kB / 477.6 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.1175, allocations: 0 / 477.6 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.1175, allocations: 0 / 477.6 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.507e-05/0.1176, allocations: 8 kB / 477.6 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.1176, allocations: 8.031 kB / 477.6 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.002e-05/0.1177, allocations: 7.891 kB / 477.7 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.1177, allocations: 7.938 kB / 477.7 MB, free: 8.328 MB / 350.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.0001071/0.1178, allocations: 130.6 kB / 477.8 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.852e-05/0.1178, allocations: 7.906 kB / 477.8 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.733e-05/0.1179, allocations: 12.3 kB / 477.8 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.1179, allocations: 0 / 477.8 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.1179, allocations: 3.938 kB / 477.8 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1179, allocations: 0 / 477.8 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001482/0.1181, allocations: 189.6 kB / 478 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1181, allocations: 3.938 kB / 478 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.215e-05/0.1181, allocations: 4 kB / 478 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1181, allocations: 0 / 478 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.1181, allocations: 3.984 kB / 478 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1181, allocations: 0 / 478 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1181, allocations: 0 / 478 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001892/0.1183, allocations: 112.9 kB / 478.1 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.622e-05/0.1184, allocations: 89.02 kB / 478.2 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.145e-05/0.1184, allocations: 4 kB / 478.2 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.942e-05/0.1185, allocations: 4 kB / 478.2 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.101e-05/0.1185, allocations: 3.984 kB / 478.2 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/0.1185, allocations: 4 kB / 478.2 MB, free: 7.668 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001047/0.1186, allocations: 131.1 kB / 478.3 MB, free: 7.539 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1187, allocations: 0 / 478.3 MB, free: 7.539 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002192/0.1189, allocations: 23.98 kB / 478.4 MB, free: 7.516 MB / 350.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.0009592/0.1198, allocations: 421.2 kB / 478.8 MB, free: 7.258 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001536/0.12, allocations: 43.92 kB / 478.8 MB, free: 7.215 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/0.12, allocations: 0 / 478.8 MB, free: 7.215 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.896e-05/0.1201, allocations: 19.94 kB / 478.8 MB, free: 7.195 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002661/0.1204, allocations: 31.56 kB / 478.9 MB, free: 7.168 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003978/0.1208, allocations: 234.8 kB / 479.1 MB, free: 6.902 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002451/0.121, allocations: 0.6926 MB / 479.8 MB, free: 6.184 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.456e-05/0.1211, allocations: 19.42 kB / 479.8 MB, free: 6.168 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1211, allocations: 0 / 479.8 MB, free: 6.168 MB / 350.1 MB Notification: Performance of Templates: time 0.00348/0.1246, allocations: 1.643 MB / 481.5 MB, free: 4.527 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches