Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.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.Test23,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.Test23") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test23,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.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001318/0.001318, 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.378/1.378, 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.001076/0.001076, allocations: 106.4 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.3907/0.3907, allocations: 44.15 MB / 386.1 MB, free: 38.03 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001025/0.001025, allocations: 51.92 kB / 457.7 MB, free: 2.285 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.418/0.4191, allocations: 60.81 MB / 0.5064 GB, free: 38.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.004169/0.4233, allocations: 1.619 MB / 0.508 GB, free: 37.12 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00148/0.4248, allocations: 0.9971 MB / 0.5089 GB, free: 36.42 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.154e-05/0.4249, allocations: 0 / 0.5089 GB, free: 36.42 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002417/0.4251, allocations: 24.92 kB / 0.509 GB, free: 36.4 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001449/0.4253, allocations: 33.64 kB / 0.509 GB, free: 36.38 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002129/0.4255, allocations: 75.02 kB / 0.5091 GB, free: 36.35 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001286/0.4257, allocations: 58.23 kB / 0.5091 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.4258, allocations: 14.73 kB / 0.5091 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.066e-05/0.4258, allocations: 17.62 kB / 0.5092 GB, free: 36.31 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001441/0.426, allocations: 23.81 kB / 0.5092 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.237e-05/0.426, allocations: 10.48 kB / 0.5092 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.992e-05/0.4261, allocations: 41.52 kB / 0.5092 GB, free: 36.28 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.691e-05/0.4262, allocations: 21.83 kB / 0.5092 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.56e-05/0.4262, allocations: 14.5 kB / 0.5093 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001621/0.4264, allocations: 89.5 kB / 0.5093 GB, free: 36.21 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.4264, allocations: 3.375 kB / 0.5094 GB, free: 36.21 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.4264, allocations: 0 / 0.5094 GB, free: 36.21 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.4264, allocations: 2.812 kB / 0.5094 GB, free: 36.21 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.0004471/0.4269, allocations: 378.9 kB / 0.5097 GB, free: 35.83 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.4269, allocations: 8.5 kB / 0.5097 GB, free: 35.83 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.733e-05/0.427, allocations: 11.59 kB / 0.5097 GB, free: 35.82 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001685/0.4271, allocations: 184.1 kB / 0.5099 GB, free: 35.62 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.424e-06/0.4272, allocations: 384 / 0.5099 GB, free: 35.62 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.464e-05/0.4272, allocations: 3.219 kB / 0.5099 GB, free: 35.62 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.4273, allocations: 69.47 kB / 0.51 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.4274, allocations: 3.984 kB / 0.51 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.4274, allocations: 0 / 0.51 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.4274, allocations: 2.812 kB / 0.51 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.242e-05/0.4275, allocations: 25.92 kB / 0.51 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003148/0.4278, allocations: 271.3 kB / 0.5103 GB, free: 35.26 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002152/0.428, allocations: 48.31 kB / 0.5103 GB, free: 35.22 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.799e-05/0.4281, allocations: 17.95 kB / 0.5103 GB, free: 35.21 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.116e-05/0.4281, allocations: 4 kB / 0.5103 GB, free: 35.21 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.575e-05/0.4281, allocations: 33.09 kB / 0.5104 GB, free: 35.17 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.4281, allocations: 0 / 0.5104 GB, free: 35.17 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005047/0.4287, allocations: 135.1 kB / 0.5105 GB, free: 35.11 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.398e-05/0.4287, allocations: 77.11 kB / 0.5106 GB, free: 35.01 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.4288, allocations: 140 kB / 0.5107 GB, free: 34.9 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.227e-06/0.4288, allocations: 25.7 kB / 0.5107 GB, free: 34.87 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.681e-05/0.4289, allocations: 98.3 kB / 0.5108 GB, free: 34.77 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.902e-05/0.4289, allocations: 14.56 kB / 0.5108 GB, free: 34.76 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.108e-05/0.4289, allocations: 19.8 kB / 0.5109 GB, free: 34.74 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.4e-05/0.429, allocations: 321.6 kB / 0.5112 GB, free: 34.42 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.039e-05/0.4291, allocations: 19.59 kB / 0.5112 GB, free: 34.42 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.047e-05/0.4291, allocations: 39.42 kB / 0.5112 GB, free: 34.39 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001094/0.4293, allocations: 44.83 kB / 0.5113 GB, free: 34.37 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.4293, allocations: 0 / 0.5113 GB, free: 34.37 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000153/0.4294, allocations: 83.47 kB / 0.5113 GB, free: 34.32 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.4294, allocations: 5.781 kB / 0.5113 GB, free: 34.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.4295, allocations: 0 / 0.5113 GB, free: 34.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.4295, allocations: 0 / 0.5113 GB, free: 34.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.428e-05/0.4295, allocations: 16.27 kB / 0.5114 GB, free: 34.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.4295, allocations: 0 / 0.5114 GB, free: 34.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.653e-05/0.4296, allocations: 5.531 kB / 0.5114 GB, free: 34.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.4296, allocations: 3.938 kB / 0.5114 GB, free: 34.32 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.431e-05/0.4297, allocations: 127.3 kB / 0.5115 GB, free: 34.19 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.928e-05/0.4297, allocations: 6.812 kB / 0.5115 GB, free: 34.19 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001941/0.4299, allocations: 94.14 kB / 0.5116 GB, free: 34.13 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.4299, allocations: 0 / 0.5116 GB, free: 34.13 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.4299, allocations: 0 / 0.5116 GB, free: 34.13 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.4299, allocations: 0 / 0.5116 GB, free: 34.13 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000308/0.4302, allocations: 341.5 kB / 0.5119 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4303, allocations: 2.656 kB / 0.5119 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.677e-05/0.4303, allocations: 12.64 kB / 0.5119 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.4303, allocations: 0 / 0.5119 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.4303, allocations: 11.94 kB / 0.5119 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.4303, allocations: 3.938 kB / 0.5119 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4303, allocations: 2.969 kB / 0.5119 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003731/0.4307, allocations: 0.7409 MB / 0.5127 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.71e-05/0.4308, allocations: 84.14 kB / 0.5128 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.4308, allocations: 8 kB / 0.5128 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.404e-05/0.4309, allocations: 6.109 kB / 0.5128 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.266e-05/0.4309, allocations: 6.141 kB / 0.5128 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.4309, allocations: 3.031 kB / 0.5128 GB, free: 32.95 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.706e-05/0.431, allocations: 101.2 kB / 0.5129 GB, free: 32.87 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.431, allocations: 0 / 0.5129 GB, free: 32.87 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003375/0.4313, allocations: 25.8 kB / 0.5129 GB, free: 32.86 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.0009764/0.4323, allocations: 447.9 kB / 0.5133 GB, free: 32.65 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001753/0.4325, allocations: 47.66 kB / 0.5134 GB, free: 32.64 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.4325, allocations: 0 / 0.5134 GB, free: 32.64 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.484e-05/0.4326, allocations: 28.59 kB / 0.5134 GB, free: 32.63 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003166/0.4329, allocations: 17.2 kB / 0.5134 GB, free: 32.62 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004013/0.4333, allocations: 291.9 kB / 0.5137 GB, free: 32.35 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001333/0.4335, allocations: 0.6909 MB / 0.5144 GB, free: 31.65 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.519e-05/0.4335, allocations: 13.44 kB / 0.5144 GB, free: 31.65 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.113e-05/0.4336, allocations: 13.47 kB / 0.5144 GB, free: 31.64 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4336, allocations: 0 / 0.5144 GB, free: 31.64 MB / 378.7 MB Notification: Performance of Templates: time 0.003566/0.4372, allocations: 1.326 MB / 0.5157 GB, free: 31.48 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test23/Test23.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches