Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test15.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test15,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_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test15") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test15,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_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001552/0.001552, allocations: 193.9 kB / 16.09 MB, free: 5.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.612/1.612, allocations: 226.6 MB / 243.4 MB, free: 8.18 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00072/0.00072, allocations: 103.6 kB / 295.5 MB, free: 6.902 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3306/0.3306, allocations: 44.82 MB / 392.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002913/0.0002913, allocations: 8 kB / 465.3 MB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3285, allocations: 62.97 MB / 0.5159 GB, free: 37.18 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test15): time 0.001502/0.3301, allocations: 1.301 MB / 0.5172 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006588/0.3307, allocations: 0.4995 MB / 0.5176 GB, free: 35.9 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.287e-05/0.3308, allocations: 0 / 0.5176 GB, free: 35.9 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002179/0.331, allocations: 78.78 kB / 0.5177 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001813/0.3312, allocations: 85.14 kB / 0.5178 GB, free: 35.85 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002356/0.3314, allocations: 110.9 kB / 0.5179 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001153/0.3316, allocations: 70.28 kB / 0.518 GB, free: 35.76 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.666e-05/0.3317, allocations: 15.14 kB / 0.518 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.482e-05/0.3317, allocations: 35.64 kB / 0.518 GB, free: 35.74 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.836e-05/0.3318, allocations: 41.95 kB / 0.5181 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.257e-05/0.3318, allocations: 2.531 kB / 0.5181 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.119e-05/0.3319, allocations: 41.42 kB / 0.5181 GB, free: 35.72 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.771e-05/0.3319, allocations: 21.06 kB / 0.5181 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.563e-05/0.332, allocations: 49.39 kB / 0.5182 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001075/0.3321, allocations: 82.66 kB / 0.5182 GB, free: 35.63 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3321, allocations: 0 / 0.5182 GB, free: 35.63 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.3321, allocations: 0 / 0.5182 GB, free: 35.63 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.3321, allocations: 0 / 0.5182 GB, free: 35.63 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.0003327/0.3325, allocations: 399.8 kB / 0.5186 GB, free: 35.23 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.3325, allocations: 9.625 kB / 0.5186 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.229e-05/0.3325, allocations: 14.38 kB / 0.5186 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.3327, allocations: 207 kB / 0.5188 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.959e-06/0.3327, allocations: 384 / 0.5188 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.3327, allocations: 3.25 kB / 0.5188 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001182/0.3328, allocations: 58.75 kB / 0.5189 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.3329, allocations: 0 / 0.5189 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.295e-06/0.3329, allocations: 2.938 kB / 0.5189 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.3329, allocations: 4 kB / 0.5189 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.634e-05/0.333, allocations: 33.11 kB / 0.5189 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000305/0.3333, allocations: 310.4 kB / 0.5192 GB, free: 34.65 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.055e-05/0.3334, allocations: 45.95 kB / 0.5193 GB, free: 34.62 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.523e-05/0.3334, allocations: 21.39 kB / 0.5193 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.3335, allocations: 3.984 kB / 0.5193 GB, free: 34.6 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.232e-05/0.3335, allocations: 33.53 kB / 0.5193 GB, free: 34.56 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.3335, allocations: 0 / 0.5193 GB, free: 34.56 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000771/0.3343, allocations: 269.7 kB / 0.5196 GB, free: 34.46 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.177e-05/0.3343, allocations: 55.34 kB / 0.5196 GB, free: 34.4 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/0.3345, allocations: 224.3 kB / 0.5199 GB, free: 34.26 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.258e-06/0.3345, allocations: 25.7 kB / 0.5199 GB, free: 34.23 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.432e-05/0.3345, allocations: 105.1 kB / 0.52 GB, free: 34.13 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.951e-05/0.3345, allocations: 25.34 kB / 0.52 GB, free: 34.11 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-06/0.3345, allocations: 8 kB / 0.52 GB, free: 34.11 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.682e-05/0.3346, allocations: 324.4 kB / 0.5203 GB, free: 33.79 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.473e-05/0.3347, allocations: 30.41 kB / 0.5204 GB, free: 33.78 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.437e-05/0.3348, allocations: 31.69 kB / 0.5204 GB, free: 33.78 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/0.3349, allocations: 85.66 kB / 0.5205 GB, free: 33.74 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.3349, allocations: 2.875 kB / 0.5205 GB, free: 33.74 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000184/0.3351, allocations: 133.9 kB / 0.5206 GB, free: 33.67 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.3351, allocations: 7.031 kB / 0.5206 GB, free: 33.67 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.3351, allocations: 0 / 0.5206 GB, free: 33.67 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.3351, allocations: 2.938 kB / 0.5206 GB, free: 33.67 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.798e-05/0.3352, allocations: 18.19 kB / 0.5206 GB, free: 33.67 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.3352, allocations: 0 / 0.5206 GB, free: 33.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.917e-05/0.3353, allocations: 13.81 kB / 0.5206 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-06/0.3353, allocations: 6.094 kB / 0.5206 GB, free: 33.66 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.338e-05/0.3354, allocations: 130 kB / 0.5208 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.785e-05/0.3354, allocations: 9.812 kB / 0.5208 GB, free: 33.53 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002462/0.3357, allocations: 134.3 kB / 0.5209 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.3357, allocations: 0 / 0.5209 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.3357, allocations: 0 / 0.5209 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.3357, allocations: 6.719 kB / 0.5209 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003923/0.3361, allocations: 435.8 kB / 0.5213 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3361, allocations: 0 / 0.5213 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.016e-05/0.3362, allocations: 17.94 kB / 0.5213 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.3362, allocations: 11 kB / 0.5214 GB, free: 33.1 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.3362, allocations: 0 / 0.5214 GB, free: 33.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3362, allocations: 0 / 0.5214 GB, free: 33.1 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.3362, allocations: 2.969 kB / 0.5214 GB, free: 33.1 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001962/0.3364, allocations: 219.9 kB / 0.5216 GB, free: 32.93 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.005e-05/0.3364, allocations: 99.08 kB / 0.5217 GB, free: 32.82 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/0.3365, allocations: 0 / 0.5217 GB, free: 32.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.591e-05/0.3365, allocations: 9.781 kB / 0.5217 GB, free: 32.82 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.558e-05/0.3366, allocations: 6.172 kB / 0.5217 GB, free: 32.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.3366, allocations: 3.031 kB / 0.5217 GB, free: 32.82 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.077e-05/0.3367, allocations: 162.1 kB / 0.5218 GB, free: 32.72 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3367, allocations: 3.094 kB / 0.5218 GB, free: 32.72 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00022/0.3369, allocations: 24.48 kB / 0.5219 GB, free: 32.71 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008101/0.3377, allocations: 448.1 kB / 0.5223 GB, free: 32.48 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001894/0.3379, allocations: 87.45 kB / 0.5224 GB, free: 32.46 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.3379, allocations: 0 / 0.5224 GB, free: 32.46 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.252e-05/0.338, allocations: 44.56 kB / 0.5224 GB, free: 32.45 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002907/0.3383, allocations: 20.02 kB / 0.5224 GB, free: 32.44 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003793/0.3387, allocations: 311.6 kB / 0.5227 GB, free: 32.21 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001178/0.3388, allocations: 0.7174 MB / 0.5234 GB, free: 31.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.171e-05/0.3389, allocations: 13.19 kB / 0.5234 GB, free: 31.49 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3389, allocations: 0 / 0.5234 GB, free: 31.49 MB / 378.7 MB Notification: Performance of Templates: time 0.002669/0.3416, allocations: 1.789 MB / 0.5252 GB, free: 31.29 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test15.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test15.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test15 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test15/Test15.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches