Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,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.CombiTable1Ds.Test32") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,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.CombiTable1Ds.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 222.9 MB / 241.6 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009594/0.0009596, allocations: 97.7 kB / 291.9 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4415/0.4415, allocations: 44.13 MB / 386.1 MB, free: 37.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 55.91 kB / 457.7 MB, free: 2.281 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3927/0.394, allocations: 60.8 MB / 0.5064 GB, free: 38.12 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.003528/0.3976, allocations: 1.636 MB / 0.508 GB, free: 37.02 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007537/0.3984, allocations: 412.4 kB / 0.5084 GB, free: 36.74 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.571e-05/0.3985, allocations: 2.656 kB / 0.5084 GB, free: 36.74 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002896/0.3987, allocations: 102.9 kB / 0.5085 GB, free: 36.73 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001466/0.3989, allocations: 69.72 kB / 0.5085 GB, free: 36.71 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002276/0.3992, allocations: 85.61 kB / 0.5086 GB, free: 36.66 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001398/0.3993, allocations: 80.59 kB / 0.5087 GB, free: 36.63 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.897e-05/0.3994, allocations: 15.88 kB / 0.5087 GB, free: 36.62 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.789e-05/0.3995, allocations: 29.14 kB / 0.5087 GB, free: 36.62 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.3996, allocations: 64.14 kB / 0.5088 GB, free: 36.61 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.925e-05/0.3996, allocations: 2.906 kB / 0.5088 GB, free: 36.61 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.27e-05/0.3997, allocations: 41.45 kB / 0.5089 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.571e-05/0.3997, allocations: 23.17 kB / 0.5089 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.554e-05/0.3998, allocations: 41.66 kB / 0.5089 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001751/0.4, allocations: 109.3 kB / 0.509 GB, free: 36.5 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.4, allocations: 0 / 0.509 GB, free: 36.5 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.4, allocations: 2.688 kB / 0.509 GB, free: 36.5 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.057e-06/0.4, allocations: 0 / 0.509 GB, free: 36.5 MB / 378.7 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.0004208/0.4004, allocations: 418 kB / 0.5094 GB, free: 36.09 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.4005, allocations: 7.719 kB / 0.5094 GB, free: 36.09 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.602e-05/0.4005, allocations: 13.98 kB / 0.5094 GB, free: 36.09 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001618/0.4007, allocations: 212.9 kB / 0.5096 GB, free: 35.86 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.424e-06/0.4007, allocations: 4.375 kB / 0.5096 GB, free: 35.86 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.344e-05/0.4007, allocations: 3 kB / 0.5097 GB, free: 35.86 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001371/0.4009, allocations: 62.27 kB / 0.5097 GB, free: 35.81 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.4009, allocations: 0 / 0.5097 GB, free: 35.81 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.4009, allocations: 0 / 0.5097 GB, free: 35.81 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.4009, allocations: 0 / 0.5097 GB, free: 35.81 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.365e-05/0.401, allocations: 25.09 kB / 0.5097 GB, free: 35.8 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003166/0.4013, allocations: 303.5 kB / 0.51 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.545e-05/0.4014, allocations: 45.19 kB / 0.5101 GB, free: 35.47 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.101e-05/0.4015, allocations: 19.77 kB / 0.5101 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.506e-05/0.4015, allocations: 0 / 0.5101 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.4015, allocations: 33.41 kB / 0.5101 GB, free: 35.42 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.4015, allocations: 0 / 0.5101 GB, free: 35.42 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007737/0.4023, allocations: 228.5 kB / 0.5103 GB, free: 35.33 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/0.4024, allocations: 51.41 kB / 0.5104 GB, free: 35.27 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001712/0.4025, allocations: 246.6 kB / 0.5106 GB, free: 35.12 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.091e-05/0.4026, allocations: 25.7 kB / 0.5106 GB, free: 35.09 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.504e-05/0.4026, allocations: 109.1 kB / 0.5107 GB, free: 34.99 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.374e-05/0.4026, allocations: 25.7 kB / 0.5108 GB, free: 34.97 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.351e-05/0.4027, allocations: 26.72 kB / 0.5108 GB, free: 34.95 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.061e-05/0.4027, allocations: 323.8 kB / 0.5111 GB, free: 34.63 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.038e-05/0.4028, allocations: 29.66 kB / 0.5111 GB, free: 34.62 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.865e-05/0.4029, allocations: 25.03 kB / 0.5112 GB, free: 34.61 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00012/0.403, allocations: 60.47 kB / 0.5112 GB, free: 34.59 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.403, allocations: 0 / 0.5112 GB, free: 34.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001742/0.4032, allocations: 107 kB / 0.5113 GB, free: 34.53 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.4032, allocations: 2.969 kB / 0.5113 GB, free: 34.53 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.4032, allocations: 2.938 kB / 0.5113 GB, free: 34.53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.4032, allocations: 4 kB / 0.5113 GB, free: 34.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.039e-05/0.4033, allocations: 21.75 kB / 0.5113 GB, free: 34.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.4033, allocations: 3.938 kB / 0.5114 GB, free: 34.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.82e-05/0.4034, allocations: 10.09 kB / 0.5114 GB, free: 34.51 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.4034, allocations: 2.969 kB / 0.5114 GB, free: 34.51 MB / 378.7 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 7.228e-05/0.4035, allocations: 128.4 kB / 0.5115 GB, free: 34.39 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.073e-05/0.4035, allocations: 13.78 kB / 0.5115 GB, free: 34.38 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002285/0.4037, allocations: 125.7 kB / 0.5116 GB, free: 34.32 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.4038, allocations: 2.906 kB / 0.5116 GB, free: 34.32 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.4038, allocations: 3.938 kB / 0.5116 GB, free: 34.32 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.4038, allocations: 4 kB / 0.5116 GB, free: 34.31 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004132/0.4042, allocations: 399.8 kB / 0.512 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.4042, allocations: 6.969 kB / 0.512 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.844e-05/0.4043, allocations: 19.12 kB / 0.512 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.4043, allocations: 0 / 0.512 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.4043, allocations: 6.969 kB / 0.512 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.4043, allocations: 4.031 kB / 0.512 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4043, allocations: 0 / 0.512 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004175/0.4047, allocations: 0.7928 MB / 0.5128 GB, free: 33.19 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.963e-05/0.4048, allocations: 91.36 kB / 0.5129 GB, free: 33.09 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.4048, allocations: 4 kB / 0.5129 GB, free: 33.08 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.552e-05/0.4049, allocations: 8.875 kB / 0.5129 GB, free: 33.08 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.821e-05/0.4049, allocations: 2.719 kB / 0.5129 GB, free: 33.08 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.4049, allocations: 6.25 kB / 0.5129 GB, free: 33.08 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001217/0.405, allocations: 184.5 kB / 0.5131 GB, free: 32.98 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.813e-06/0.4051, allocations: 2.906 kB / 0.5131 GB, free: 32.98 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005465/0.4056, allocations: 30.55 kB / 0.5131 GB, free: 32.96 MB / 378.7 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.001441/0.4071, allocations: 457.1 kB / 0.5136 GB, free: 32.75 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002659/0.4074, allocations: 62.58 kB / 0.5136 GB, free: 32.73 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4074, allocations: 4 kB / 0.5136 GB, free: 32.73 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001152/0.4075, allocations: 36.08 kB / 0.5137 GB, free: 32.72 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005432/0.408, allocations: 22.88 kB / 0.5137 GB, free: 32.71 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007022/0.4088, allocations: 443.3 kB / 0.5141 GB, free: 32.37 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002231/0.409, allocations: 0.7111 MB / 0.5148 GB, free: 31.67 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.759e-05/0.4091, allocations: 14.94 kB / 0.5148 GB, free: 31.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.144e-05/0.4091, allocations: 15.25 kB / 0.5148 GB, free: 31.66 MB / 378.7 MB Notification: Performance of SimCode: time 3.21e-07/0.4092, allocations: 0 / 0.5148 GB, free: 31.66 MB / 378.7 MB Notification: Performance of Templates: time 0.004918/0.4141, allocations: 1.312 MB / 0.5161 GB, free: 31.49 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches