Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00118/0.00118, 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.371/1.371, 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.001113/0.001114, allocations: 115.3 kB / 291.9 MB, free: 10.93 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.4213/0.4213, allocations: 44.13 MB / 386.1 MB, free: 37.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001072/0.001072, allocations: 59.89 kB / 457.7 MB, free: 2.289 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4269/0.428, allocations: 60.8 MB / 0.5064 GB, free: 38.32 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.003184/0.4312, allocations: 1.626 MB / 0.508 GB, free: 37.21 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0014/0.4326, allocations: 0.996 MB / 0.5089 GB, free: 36.51 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.935e-05/0.4327, allocations: 0.9062 kB / 0.5089 GB, free: 36.51 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002315/0.4329, allocations: 21.77 kB / 0.509 GB, free: 36.5 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001401/0.4331, allocations: 33.5 kB / 0.509 GB, free: 36.48 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002377/0.4333, allocations: 74.16 kB / 0.5091 GB, free: 36.44 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001442/0.4335, allocations: 57 kB / 0.5091 GB, free: 36.42 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.4336, allocations: 17.36 kB / 0.5091 GB, free: 36.41 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.206e-05/0.4337, allocations: 23.66 kB / 0.5092 GB, free: 36.39 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001649/0.4338, allocations: 25.05 kB / 0.5092 GB, free: 36.38 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.4339, allocations: 3.594 kB / 0.5092 GB, free: 36.38 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.915e-05/0.434, allocations: 48.03 kB / 0.5092 GB, free: 36.37 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.902e-05/0.434, allocations: 18.09 kB / 0.5093 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.41e-05/0.4341, allocations: 17.47 kB / 0.5093 GB, free: 36.34 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001657/0.4342, allocations: 84.27 kB / 0.5094 GB, free: 36.31 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.4342, allocations: 0 / 0.5094 GB, free: 36.31 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.4342, allocations: 0 / 0.5094 GB, free: 36.31 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.526e-06/0.4343, allocations: 0 / 0.5094 GB, free: 36.31 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004028/0.4347, allocations: 388.1 kB / 0.5097 GB, free: 35.91 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.4347, allocations: 15.44 kB / 0.5097 GB, free: 35.91 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.815e-05/0.4348, allocations: 7.625 kB / 0.5097 GB, free: 35.91 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001672/0.4349, allocations: 180.6 kB / 0.5099 GB, free: 35.7 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.4349, allocations: 3.25 kB / 0.5099 GB, free: 35.7 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.05e-05/0.435, allocations: 384 / 0.5099 GB, free: 35.7 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.4351, allocations: 68.48 kB / 0.51 GB, free: 35.64 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/0.4352, allocations: 4 kB / 0.51 GB, free: 35.64 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.4352, allocations: 0 / 0.51 GB, free: 35.64 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.4352, allocations: 0 / 0.51 GB, free: 35.64 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.059e-05/0.4353, allocations: 25.41 kB / 0.51 GB, free: 35.63 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000279/0.4356, allocations: 274.7 kB / 0.5103 GB, free: 35.35 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001917/0.4358, allocations: 40.75 kB / 0.5103 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.599e-05/0.4358, allocations: 20.98 kB / 0.5103 GB, free: 35.3 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.4358, allocations: 0 / 0.5103 GB, free: 35.3 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.777e-05/0.4359, allocations: 38.5 kB / 0.5104 GB, free: 35.26 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 8.21e-07/0.4359, allocations: 0 / 0.5104 GB, free: 35.26 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005025/0.4364, allocations: 135.8 kB / 0.5105 GB, free: 35.2 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/0.4364, allocations: 88.52 kB / 0.5106 GB, free: 35.09 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.4365, allocations: 130.8 kB / 0.5107 GB, free: 34.98 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.074e-05/0.4366, allocations: 28.42 kB / 0.5107 GB, free: 34.95 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.277e-05/0.4366, allocations: 94.95 kB / 0.5108 GB, free: 34.86 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.603e-05/0.4366, allocations: 14.98 kB / 0.5108 GB, free: 34.85 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.055e-05/0.4367, allocations: 19.31 kB / 0.5109 GB, free: 34.83 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.699e-05/0.4367, allocations: 325.5 kB / 0.5112 GB, free: 34.51 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.075e-05/0.4368, allocations: 15.75 kB / 0.5112 GB, free: 34.5 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.347e-05/0.4369, allocations: 37.03 kB / 0.5112 GB, free: 34.48 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001086/0.437, allocations: 40.5 kB / 0.5113 GB, free: 34.46 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.437, allocations: 0 / 0.5113 GB, free: 34.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001594/0.4372, allocations: 81.31 kB / 0.5113 GB, free: 34.42 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.4372, allocations: 9.719 kB / 0.5113 GB, free: 34.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.4372, allocations: 0 / 0.5113 GB, free: 34.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.4372, allocations: 0 / 0.5113 GB, free: 34.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.571e-05/0.4373, allocations: 18.08 kB / 0.5114 GB, free: 34.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.4373, allocations: 0 / 0.5114 GB, free: 34.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.785e-05/0.4373, allocations: 6.078 kB / 0.5114 GB, free: 34.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.4373, allocations: 6.656 kB / 0.5114 GB, free: 34.41 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 (5): * Single equations (assignments): 5 * 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 6.166e-05/0.4374, allocations: 117.2 kB / 0.5115 GB, free: 34.29 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.955e-05/0.4374, allocations: 6.812 kB / 0.5115 GB, free: 34.28 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002091/0.4377, allocations: 98.05 kB / 0.5116 GB, free: 34.22 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.145e-06/0.4377, allocations: 0 / 0.5116 GB, free: 34.22 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.4377, allocations: 320 / 0.5116 GB, free: 34.22 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.4377, allocations: 2.719 kB / 0.5116 GB, free: 34.22 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003394/0.438, allocations: 346 kB / 0.5119 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.4381, allocations: 0 / 0.5119 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.121e-05/0.4381, allocations: 18.83 kB / 0.5119 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.4381, allocations: 3.984 kB / 0.5119 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.4381, allocations: 0 / 0.5119 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.4381, allocations: 7.875 kB / 0.5119 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.4382, allocations: 0 / 0.5119 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004213/0.4386, allocations: 0.7509 MB / 0.5127 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.111e-05/0.4386, allocations: 87.02 kB / 0.5128 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.4386, allocations: 0 / 0.5128 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.398e-05/0.4387, allocations: 3 kB / 0.5128 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.166e-05/0.4388, allocations: 10.27 kB / 0.5128 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.4388, allocations: 3.031 kB / 0.5128 GB, free: 33.04 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.031e-05/0.4388, allocations: 106 kB / 0.5129 GB, free: 32.95 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4388, allocations: 0 / 0.5129 GB, free: 32.95 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003695/0.4392, allocations: 22.56 kB / 0.5129 GB, free: 32.95 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.000984/0.4402, allocations: 435.1 kB / 0.5133 GB, free: 32.75 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002017/0.4404, allocations: 50.22 kB / 0.5134 GB, free: 32.73 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.4404, allocations: 3.938 kB / 0.5134 GB, free: 32.73 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.957e-05/0.4405, allocations: 27.52 kB / 0.5134 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.000352/0.4409, allocations: 19.28 kB / 0.5134 GB, free: 32.71 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004203/0.4413, allocations: 284.5 kB / 0.5137 GB, free: 32.45 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001439/0.4415, allocations: 0.6964 MB / 0.5144 GB, free: 31.75 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.783e-05/0.4415, allocations: 13.73 kB / 0.5144 GB, free: 31.74 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.204e-05/0.4416, allocations: 13.52 kB / 0.5144 GB, free: 31.73 MB / 378.7 MB Notification: Performance of SimCode: time 3.81e-07/0.4416, allocations: 2.875 kB / 0.5144 GB, free: 31.73 MB / 378.7 MB Notification: Performance of Templates: time 0.003718/0.4453, allocations: 1.316 MB / 0.5157 GB, free: 31.57 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches