Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.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.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007875/0.0007875, allocations: 97.45 kB / 18.01 MB, free: 5.738 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.0008505/0.0008505, allocations: 176.5 kB / 18.91 MB, free: 4.871 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.326/1.326, allocations: 223.3 MB / 243 MB, free: 220 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.2052/0.2052, allocations: 44.25 MB / 338.3 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003061/0.000306, allocations: 14.56 kB / 411 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09614/0.09646, allocations: 61.92 MB / 472.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.001885/0.09838, allocations: 1.371 MB / 474.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001244/0.09965, allocations: 0.8421 MB / 475.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.381e-05/0.09972, allocations: 0 / 475.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002701/0.1, allocations: 47.86 kB / 475.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000167/0.1002, allocations: 59.75 kB / 475.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002348/0.1004, allocations: 86.97 kB / 475.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001468/0.1006, allocations: 91.69 kB / 475.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.804e-05/0.1006, allocations: 4 kB / 475.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.72e-05/0.1007, allocations: 39.84 kB / 475.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.977e-05/0.1008, allocations: 39.72 kB / 475.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.41e-05/0.1008, allocations: 0 / 475.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.029e-05/0.1009, allocations: 28 kB / 475.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.904e-05/0.101, allocations: 31.89 kB / 475.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.188e-05/0.1011, allocations: 53.45 kB / 475.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001488/0.1012, allocations: 88.05 kB / 475.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1012, allocations: 4 kB / 475.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.469e-06/0.1012, allocations: 3.984 kB / 475.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.638e-06/0.1013, allocations: 3.938 kB / 475.7 MB, free: 10.54 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.0004869/0.1017, allocations: 417.1 kB / 476.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.1018, allocations: 8.031 kB / 476.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.091e-05/0.1018, allocations: 16.84 kB / 476.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002227/0.1021, allocations: 215.9 kB / 476.3 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.1021, allocations: 4.375 kB / 476.3 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.541e-05/0.1021, allocations: 8.125 kB / 476.4 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/0.1022, allocations: 49.67 kB / 476.4 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.281e-06/0.1023, allocations: 0 / 476.4 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.1023, allocations: 0 / 476.4 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.1023, allocations: 0 / 476.4 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.454e-05/0.1024, allocations: 23.86 kB / 476.4 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001898/0.1026, allocations: 193.7 kB / 476.6 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001447/0.1027, allocations: 50.62 kB / 476.7 MB, free: 9.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.924e-05/0.1028, allocations: 24.78 kB / 476.7 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.1028, allocations: 0 / 476.7 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000159/0.103, allocations: 75.28 kB / 476.8 MB, free: 9.316 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.293e-06/0.103, allocations: 0 / 476.8 MB, free: 9.316 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.00025/0.1032, allocations: 93.52 kB / 476.9 MB, free: 9.219 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.026e-05/0.1033, allocations: 59.41 kB / 476.9 MB, free: 9.148 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002305/0.1035, allocations: 262.9 kB / 477.2 MB, free: 8.879 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.1035, allocations: 25.7 kB / 477.2 MB, free: 8.848 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.647e-05/0.1036, allocations: 108.1 kB / 477.3 MB, free: 8.738 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.765e-05/0.1036, allocations: 11.81 kB / 477.3 MB, free: 8.727 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.587e-05/0.1037, allocations: 21.72 kB / 477.3 MB, free: 8.699 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.1038, allocations: 326.8 kB / 477.7 MB, free: 8.371 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.808e-05/0.1038, allocations: 12 kB / 477.7 MB, free: 8.359 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.424e-05/0.1039, allocations: 29.7 kB / 477.7 MB, free: 8.324 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.361e-05/0.104, allocations: 49.64 kB / 477.7 MB, free: 8.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.104, allocations: 0 / 477.7 MB, free: 8.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001563/0.1042, allocations: 89.38 kB / 477.8 MB, free: 8.176 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.1042, allocations: 8 kB / 477.8 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.1042, allocations: 0 / 477.8 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.686e-06/0.1042, allocations: 0 / 477.8 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.233e-05/0.1043, allocations: 11.98 kB / 477.8 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.1043, allocations: 4 kB / 477.9 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.614e-05/0.1044, allocations: 3.938 kB / 477.9 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.116e-06/0.1044, allocations: 4 kB / 477.9 MB, free: 8.145 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.0001068/0.1045, allocations: 137.8 kB / 478 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.869e-05/0.1045, allocations: 15.84 kB / 478 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.933e-05/0.1046, allocations: 20.98 kB / 478 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.1046, allocations: 0 / 478 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.1046, allocations: 4.25 kB / 478 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.1046, allocations: 0 / 478 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000153/0.1047, allocations: 197.6 kB / 478.2 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.1048, allocations: 8 kB / 478.2 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.216e-05/0.1048, allocations: 3.938 kB / 478.2 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.1048, allocations: 7.938 kB / 478.2 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-06/0.1048, allocations: 0 / 478.2 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1048, allocations: 4 kB / 478.2 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1048, allocations: 0 / 478.2 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001698/0.105, allocations: 112.9 kB / 478.4 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.373e-05/0.1051, allocations: 92.98 kB / 478.5 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.075e-05/0.1051, allocations: 4 kB / 478.5 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.799e-05/0.1051, allocations: 0 / 478.5 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.029e-05/0.1052, allocations: 4 kB / 478.5 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.1052, allocations: 4 kB / 478.5 MB, free: 7.441 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001649/0.1054, allocations: 204.2 kB / 478.7 MB, free: 7.242 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1054, allocations: 0 / 478.7 MB, free: 7.242 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002121/0.1056, allocations: 20 kB / 478.7 MB, free: 7.223 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.0009235/0.1065, allocations: 415.8 kB / 479.1 MB, free: 6.969 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001495/0.1067, allocations: 35.98 kB / 479.1 MB, free: 6.934 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1067, allocations: 0 / 479.1 MB, free: 6.934 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.97e-05/0.1068, allocations: 28.05 kB / 479.2 MB, free: 6.906 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002676/0.107, allocations: 23.92 kB / 479.2 MB, free: 6.883 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004655/0.1075, allocations: 319.3 kB / 479.5 MB, free: 6.535 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002696/0.1078, allocations: 0.7185 MB / 480.2 MB, free: 5.793 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.008e-05/0.1078, allocations: 11.44 kB / 480.2 MB, free: 5.781 MB / 350.1 MB Notification: Performance of SimCode: time 6.22e-07/0.1078, allocations: 0 / 480.2 MB, free: 5.781 MB / 350.1 MB Notification: Performance of Templates: time 0.003473/0.1113, allocations: 1.805 MB / 482 MB, free: 3.98 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches