Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test11.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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test11") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001044/0.001044, allocations: 199.7 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.347/1.347, allocations: 226.6 MB / 243.4 MB, free: 6.484 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007551/0.0007552, allocations: 99.11 kB / 295.5 MB, free: 6.664 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3547/0.3547, allocations: 44.82 MB / 392.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002579/0.0002581, allocations: 8 kB / 465.3 MB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3237/0.3239, allocations: 62.96 MB / 0.5159 GB, free: 37.2 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test11): time 0.002073/0.3261, allocations: 1.288 MB / 0.5171 GB, free: 36.26 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007592/0.3268, allocations: 0.4969 MB / 0.5176 GB, free: 35.92 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.859e-05/0.3269, allocations: 0 / 0.5176 GB, free: 35.92 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002198/0.3271, allocations: 26.45 kB / 0.5176 GB, free: 35.91 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001975/0.3273, allocations: 66.19 kB / 0.5177 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002521/0.3276, allocations: 97.2 kB / 0.5178 GB, free: 35.83 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001229/0.3277, allocations: 53.97 kB / 0.5179 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.3279, allocations: 17.95 kB / 0.5179 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.835e-05/0.3279, allocations: 26.78 kB / 0.5179 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.187e-05/0.328, allocations: 20.53 kB / 0.5179 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.328, allocations: 1.906 kB / 0.5179 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.643e-05/0.3281, allocations: 25.62 kB / 0.5179 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.164e-05/0.3281, allocations: 12.81 kB / 0.518 GB, free: 35.76 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.376e-05/0.3282, allocations: 54.11 kB / 0.518 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001122/0.3283, allocations: 57.72 kB / 0.5181 GB, free: 35.7 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.3283, allocations: 0 / 0.5181 GB, free: 35.7 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3283, allocations: 0 / 0.5181 GB, free: 35.7 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.3283, allocations: 2.719 kB / 0.5181 GB, free: 35.7 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.0004068/0.3287, allocations: 377.4 kB / 0.5184 GB, free: 35.31 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.3288, allocations: 8.938 kB / 0.5184 GB, free: 35.31 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.282e-05/0.3288, allocations: 14.66 kB / 0.5184 GB, free: 35.3 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.329, allocations: 196.3 kB / 0.5186 GB, free: 35.09 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.329, allocations: 3.281 kB / 0.5186 GB, free: 35.09 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.182e-05/0.329, allocations: 3.938 kB / 0.5186 GB, free: 35.08 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.3291, allocations: 56.12 kB / 0.5187 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.3292, allocations: 10.88 kB / 0.5187 GB, free: 35.03 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.547e-06/0.3292, allocations: 0 / 0.5187 GB, free: 35.03 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.3292, allocations: 3.938 kB / 0.5187 GB, free: 35.03 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001058/0.3293, allocations: 31.14 kB / 0.5187 GB, free: 35.02 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003116/0.3296, allocations: 287.7 kB / 0.519 GB, free: 34.73 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001868/0.3298, allocations: 52.92 kB / 0.5191 GB, free: 34.7 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.561e-05/0.3299, allocations: 17.38 kB / 0.5191 GB, free: 34.69 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.3299, allocations: 2.844 kB / 0.5191 GB, free: 34.69 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.341e-05/0.3299, allocations: 30.56 kB / 0.5191 GB, free: 34.65 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.3299, allocations: 4 kB / 0.5191 GB, free: 34.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.000498/0.3304, allocations: 168.7 kB / 0.5193 GB, free: 34.57 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.477e-05/0.3305, allocations: 55.41 kB / 0.5193 GB, free: 34.51 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.3306, allocations: 181.8 kB / 0.5195 GB, free: 34.38 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.776e-06/0.3306, allocations: 29.7 kB / 0.5195 GB, free: 34.34 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.286e-05/0.3307, allocations: 95.39 kB / 0.5196 GB, free: 34.25 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.645e-05/0.3307, allocations: 18.84 kB / 0.5196 GB, free: 34.24 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-06/0.3307, allocations: 0 / 0.5196 GB, free: 34.24 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.008e-05/0.3307, allocations: 321.2 kB / 0.5199 GB, free: 33.92 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.962e-05/0.3308, allocations: 26.14 kB / 0.52 GB, free: 33.91 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.562e-05/0.3309, allocations: 25.28 kB / 0.52 GB, free: 33.91 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/0.331, allocations: 62.42 kB / 0.5201 GB, free: 33.89 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.331, allocations: 4 kB / 0.5201 GB, free: 33.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001569/0.3312, allocations: 92.64 kB / 0.5201 GB, free: 33.84 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.3312, allocations: 9 kB / 0.5202 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.3312, allocations: 0 / 0.5202 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.3312, allocations: 0 / 0.5202 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.705e-05/0.3313, allocations: 14.88 kB / 0.5202 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.3313, allocations: 4 kB / 0.5202 GB, free: 33.83 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.734e-05/0.3314, allocations: 9.875 kB / 0.5202 GB, free: 33.83 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.3314, allocations: 2.875 kB / 0.5202 GB, free: 33.83 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.921e-05/0.3314, allocations: 122.7 kB / 0.5203 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.558e-05/0.3315, allocations: 6.875 kB / 0.5203 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002049/0.3317, allocations: 110.3 kB / 0.5204 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.3317, allocations: 2.781 kB / 0.5204 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.3317, allocations: 0 / 0.5204 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.3317, allocations: 3.938 kB / 0.5204 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003187/0.332, allocations: 374.4 kB / 0.5208 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.332, allocations: 3.938 kB / 0.5208 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.013e-05/0.3321, allocations: 15.12 kB / 0.5208 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.3321, allocations: 0 / 0.5208 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.136e-06/0.3321, allocations: 6.844 kB / 0.5208 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3321, allocations: 0 / 0.5208 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.12e-07/0.3321, allocations: 3.938 kB / 0.5208 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001813/0.3323, allocations: 191.6 kB / 0.521 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.913e-05/0.3324, allocations: 95.16 kB / 0.5211 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/0.3324, allocations: 3.938 kB / 0.5211 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.389e-05/0.3324, allocations: 9.078 kB / 0.5211 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.694e-05/0.3325, allocations: 2.812 kB / 0.5211 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.3325, allocations: 4 kB / 0.5211 GB, free: 33.03 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.462e-05/0.3326, allocations: 135.7 kB / 0.5212 GB, free: 32.94 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3326, allocations: 0 / 0.5212 GB, free: 32.94 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002172/0.3328, allocations: 19.28 kB / 0.5212 GB, free: 32.93 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 (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.000807/0.3336, allocations: 385.6 kB / 0.5216 GB, free: 32.74 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001906/0.3338, allocations: 61.42 kB / 0.5217 GB, free: 32.73 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.3338, allocations: 0 / 0.5217 GB, free: 32.73 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.387e-05/0.3339, allocations: 42.8 kB / 0.5217 GB, free: 32.71 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002942/0.3342, allocations: 18.12 kB / 0.5217 GB, free: 32.7 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003522/0.3346, allocations: 239.9 kB / 0.522 GB, free: 32.51 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000118/0.3347, allocations: 0.696 MB / 0.5226 GB, free: 31.82 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.631e-05/0.3347, allocations: 10.22 kB / 0.5227 GB, free: 31.81 MB / 378.7 MB Notification: Performance of SimCode: time 2.11e-07/0.3347, allocations: 0 / 0.5227 GB, free: 31.81 MB / 378.7 MB Notification: Performance of Templates: time 0.002442/0.3372, allocations: 1.491 MB / 0.5241 GB, free: 31.64 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test11.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test11.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test11 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test11/Test11.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches