Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.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.CombiTable1Dv.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 108.4 kB / 17.98 MB, free: 5.34 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.001275/0.001275, allocations: 193.3 kB / 18.9 MB, free: 4.426 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.338/1.338, allocations: 222.9 MB / 242.6 MB, free: 15.38 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.2091/0.2091, allocations: 44.17 MB / 336.9 MB, free: 2.922 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 64.69 kB / 408.5 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09252/0.09372, allocations: 60.84 MB / 469.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test26): time 0.002928/0.09669, allocations: 1.633 MB / 471 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006978/0.09741, allocations: 411.3 kB / 471.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.182e-05/0.09748, allocations: 3.938 kB / 471.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002506/0.09774, allocations: 71.83 kB / 471.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001876/0.09794, allocations: 59.75 kB / 471.6 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003179/0.09828, allocations: 103.8 kB / 471.7 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001441/0.09843, allocations: 71.88 kB / 471.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.865e-05/0.09853, allocations: 16.17 kB / 471.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.793e-05/0.09859, allocations: 35.8 kB / 471.8 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001282/0.09873, allocations: 51.88 kB / 471.8 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.09875, allocations: 8 kB / 471.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.97e-05/0.09886, allocations: 43.98 kB / 471.9 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.905e-05/0.09891, allocations: 23.91 kB / 471.9 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.898e-05/0.09896, allocations: 27.75 kB / 471.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001396/0.0991, allocations: 76.17 kB / 472 MB, free: 12.08 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.09911, allocations: 0 / 472 MB, free: 12.08 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.09912, allocations: 0 / 472 MB, free: 12.08 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.09913, allocations: 0 / 472 MB, free: 12.08 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004438/0.09958, allocations: 410.9 kB / 472.4 MB, free: 11.63 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.09962, allocations: 8.031 kB / 472.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.845e-05/0.09967, allocations: 12.84 kB / 472.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001716/0.09984, allocations: 192.1 kB / 472.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.408e-06/0.09986, allocations: 4.375 kB / 472.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.09989, allocations: 384 / 472.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001371/0.1, allocations: 57.61 kB / 472.7 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.1, allocations: 7.906 kB / 472.7 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.295e-06/0.1001, allocations: 0 / 472.7 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.1001, allocations: 0 / 472.7 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001027/0.1002, allocations: 35.91 kB / 472.7 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004305/0.1006, allocations: 296.8 kB / 473 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.526e-05/0.1007, allocations: 46.66 kB / 473 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.72e-05/0.1008, allocations: 16.84 kB / 473.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.1008, allocations: 0 / 473.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.1008, allocations: 42.5 kB / 473.1 MB, free: 10.81 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 2.214e-06/0.1009, allocations: 3.984 kB / 473.1 MB, free: 10.81 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008289/0.1017, allocations: 229 kB / 473.3 MB, free: 10.58 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/0.1017, allocations: 55.41 kB / 473.4 MB, free: 10.51 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001799/0.1019, allocations: 214.1 kB / 473.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.1019, allocations: 25.7 kB / 473.6 MB, free: 10.26 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.836e-05/0.102, allocations: 108 kB / 473.7 MB, free: 10.15 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.581e-05/0.102, allocations: 31.58 kB / 473.8 MB, free: 10.12 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-05/0.1021, allocations: 17.72 kB / 473.8 MB, free: 10.1 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.1022, allocations: 326.8 kB / 474.1 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.098e-05/0.1023, allocations: 23.98 kB / 474.1 MB, free: 9.746 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.343e-05/0.1024, allocations: 48.03 kB / 474.2 MB, free: 9.699 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001566/0.1025, allocations: 72.81 kB / 474.2 MB, free: 9.625 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1025, allocations: 0 / 474.2 MB, free: 9.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000207/0.1028, allocations: 117.4 kB / 474.4 MB, free: 9.504 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.1028, allocations: 4 kB / 474.4 MB, free: 9.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.1028, allocations: 4 kB / 474.4 MB, free: 9.496 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.1028, allocations: 4 kB / 474.4 MB, free: 9.492 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.098e-05/0.1029, allocations: 15.98 kB / 474.4 MB, free: 9.477 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.1029, allocations: 3.938 kB / 474.4 MB, free: 9.473 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.88e-05/0.103, allocations: 4 kB / 474.4 MB, free: 9.469 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.103, allocations: 4 kB / 474.4 MB, free: 9.465 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 9.197e-05/0.1031, allocations: 126.4 kB / 474.5 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.667e-05/0.1031, allocations: 11.91 kB / 474.5 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002622/0.1034, allocations: 130.3 kB / 474.7 MB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.1034, allocations: 4 kB / 474.7 MB, free: 9.184 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.1034, allocations: 7.938 kB / 474.7 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.1034, allocations: 0 / 474.7 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000498/0.1039, allocations: 415.2 kB / 475.1 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.1039, allocations: 0 / 475.1 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.539e-05/0.104, allocations: 23.95 kB / 475.1 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.104, allocations: 0 / 475.1 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.104, allocations: 8 kB / 475.1 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.104, allocations: 0 / 475.1 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1041, allocations: 3.938 kB / 475.1 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002438/0.1043, allocations: 216.6 kB / 475.3 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.883e-05/0.1043, allocations: 88.95 kB / 475.4 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.1044, allocations: 0 / 475.4 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.114e-05/0.1044, allocations: 7.984 kB / 475.4 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.611e-05/0.1045, allocations: 8 kB / 475.4 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.1045, allocations: 4 kB / 475.4 MB, free: 8.32 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001153/0.1046, allocations: 151.2 kB / 475.6 MB, free: 8.172 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1046, allocations: 3.938 kB / 475.6 MB, free: 8.168 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002442/0.1049, allocations: 23.98 kB / 475.6 MB, free: 8.145 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0009482/0.1058, allocations: 464.5 kB / 476.1 MB, free: 7.871 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002175/0.1061, allocations: 83.92 kB / 476.1 MB, free: 7.789 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1061, allocations: 0 / 476.1 MB, free: 7.789 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.765e-05/0.1062, allocations: 39.92 kB / 476.2 MB, free: 7.75 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/0.1065, allocations: 23.92 kB / 476.2 MB, free: 7.727 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004459/0.107, allocations: 312.8 kB / 476.5 MB, free: 7.383 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002499/0.1072, allocations: 0.708 MB / 477.2 MB, free: 6.648 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.805e-05/0.1073, allocations: 19.42 kB / 477.2 MB, free: 6.629 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1073, allocations: 0 / 477.2 MB, free: 6.629 MB / 350.1 MB Notification: Performance of Templates: time 0.00321/0.1105, allocations: 1.758 MB / 479 MB, free: 4.879 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches