Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007916/0.0007916, allocations: 98.7 kB / 18.01 MB, free: 5.734 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.000912/0.0009121, allocations: 181.3 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.308/1.308, allocations: 223.3 MB / 242.9 MB, free: 14.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1913/0.1913, allocations: 44.24 MB / 338.3 MB, free: 2.418 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003107/0.0003105, allocations: 12.48 kB / 411 MB, free: 27.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09713/0.09746, allocations: 61.92 MB / 472.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.00187/0.09938, allocations: 1.375 MB / 474.3 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001317/0.1007, allocations: 0.8304 MB / 475.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.954e-05/0.1008, allocations: 0 / 475.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002955/0.1011, allocations: 75.83 kB / 475.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001918/0.1013, allocations: 67.78 kB / 475.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002789/0.1016, allocations: 91.77 kB / 475.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001647/0.1018, allocations: 103.7 kB / 475.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.584e-05/0.1018, allocations: 4 kB / 475.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.038e-05/0.1019, allocations: 43.83 kB / 475.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.894e-05/0.102, allocations: 51.77 kB / 475.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.1021, allocations: 4 kB / 475.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.897e-05/0.1022, allocations: 31.92 kB / 475.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.973e-05/0.1022, allocations: 19.92 kB / 475.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.377e-05/0.1023, allocations: 49.52 kB / 475.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001367/0.1024, allocations: 88.03 kB / 475.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1024, allocations: 4 kB / 475.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1024, allocations: 0 / 475.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.648e-06/0.1024, allocations: 0 / 475.7 MB, free: 10.45 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.0004795/0.1029, allocations: 393.5 kB / 476.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.103, allocations: 8.031 kB / 476.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.883e-05/0.103, allocations: 8.844 kB / 476.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002393/0.1033, allocations: 216 kB / 476.4 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.1033, allocations: 384 / 476.4 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.496e-05/0.1033, allocations: 8.125 kB / 476.4 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001274/0.1034, allocations: 53.66 kB / 476.4 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.861e-06/0.1035, allocations: 0 / 476.4 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.477e-06/0.1035, allocations: 0 / 476.4 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.1035, allocations: 0 / 476.4 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.134e-05/0.1036, allocations: 15.98 kB / 476.4 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001844/0.1038, allocations: 185.6 kB / 476.6 MB, free: 9.445 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001569/0.1039, allocations: 62.55 kB / 476.7 MB, free: 9.375 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.331e-05/0.104, allocations: 20.8 kB / 476.7 MB, free: 9.352 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.104, allocations: 3.938 kB / 476.7 MB, free: 9.348 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001684/0.1042, allocations: 71.38 kB / 476.8 MB, free: 9.266 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.313e-06/0.1042, allocations: 0 / 476.8 MB, free: 9.266 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002695/0.1045, allocations: 93.52 kB / 476.9 MB, free: 9.168 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.97e-05/0.1045, allocations: 59.41 kB / 476.9 MB, free: 9.098 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001932/0.1047, allocations: 211.2 kB / 477.1 MB, free: 8.879 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.1047, allocations: 25.7 kB / 477.2 MB, free: 8.848 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.129e-05/0.1048, allocations: 104.1 kB / 477.3 MB, free: 8.742 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.011e-05/0.1048, allocations: 15.75 kB / 477.3 MB, free: 8.727 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-05/0.1049, allocations: 17.7 kB / 477.3 MB, free: 8.703 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.105, allocations: 326.8 kB / 477.6 MB, free: 8.375 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.864e-05/0.105, allocations: 12 kB / 477.6 MB, free: 8.363 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.533e-05/0.1051, allocations: 33.7 kB / 477.7 MB, free: 8.324 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001/0.1052, allocations: 45.64 kB / 477.7 MB, free: 8.273 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1052, allocations: 0 / 477.7 MB, free: 8.273 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001531/0.1054, allocations: 81.78 kB / 477.8 MB, free: 8.188 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.1054, allocations: 4 kB / 477.8 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.1054, allocations: 64 / 477.8 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.1054, allocations: 4 kB / 477.8 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.411e-05/0.1055, allocations: 23.97 kB / 477.8 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.1055, allocations: 0 / 477.8 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.271e-05/0.1056, allocations: 11.92 kB / 477.8 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.66e-06/0.1056, allocations: 0 / 477.8 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.0001003/0.1057, allocations: 132.4 kB / 477.9 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.877e-05/0.1057, allocations: 11.81 kB / 478 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.563e-05/0.1058, allocations: 13 kB / 478 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.1058, allocations: 4 kB / 478 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.1058, allocations: 0 / 478 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1058, allocations: 4 kB / 478 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001418/0.1059, allocations: 189.6 kB / 478.2 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.106, allocations: 0 / 478.2 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.054e-05/0.106, allocations: 4 kB / 478.2 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.106, allocations: 0 / 478.2 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.106, allocations: 0 / 478.2 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.106, allocations: 4 kB / 478.2 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.106, allocations: 0 / 478.2 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001726/0.1062, allocations: 120.8 kB / 478.3 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.561e-05/0.1063, allocations: 96.91 kB / 478.4 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.893e-05/0.1063, allocations: 0 / 478.4 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.662e-05/0.1063, allocations: 0 / 478.4 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.837e-05/0.1064, allocations: 4 kB / 478.4 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/0.1064, allocations: 7.984 kB / 478.4 MB, free: 7.473 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001369/0.1065, allocations: 155.2 kB / 478.5 MB, free: 7.32 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1065, allocations: 0 / 478.5 MB, free: 7.32 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002155/0.1067, allocations: 20 kB / 478.6 MB, free: 7.301 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.0009111/0.1077, allocations: 421.2 kB / 479 MB, free: 7.047 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001454/0.1078, allocations: 43.92 kB / 479 MB, free: 7.004 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1078, allocations: 0 / 479 MB, free: 7.004 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.93e-05/0.1079, allocations: 19.98 kB / 479 MB, free: 6.984 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002599/0.1082, allocations: 23.92 kB / 479.1 MB, free: 6.961 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004261/0.1086, allocations: 271.2 kB / 479.3 MB, free: 6.66 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000254/0.1089, allocations: 0.7043 MB / 480 MB, free: 5.93 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.068e-05/0.1089, allocations: 11.44 kB / 480 MB, free: 5.918 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1089, allocations: 7.938 kB / 480.1 MB, free: 5.91 MB / 350.1 MB Notification: Performance of Templates: time 0.003382/0.1123, allocations: 1.707 MB / 481.8 MB, free: 4.207 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches