Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test64,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test64,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009656/0.0009657, allocations: 194.4 kB / 16.09 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.307/1.307, allocations: 226.5 MB / 243.4 MB, free: 6.465 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007357/0.0007357, allocations: 104.6 kB / 295.5 MB, free: 6.656 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3289/0.3289, allocations: 44.81 MB / 392.3 MB, free: 35.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003095/0.0003097, allocations: 8 kB / 465.4 MB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3251/0.3255, allocations: 62.96 MB / 0.516 GB, free: 37.17 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.001627/0.3271, allocations: 1.387 MB / 0.5173 GB, free: 36.15 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00113/0.3283, allocations: 0.935 MB / 0.5182 GB, free: 35.51 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.086e-05/0.3284, allocations: 0 / 0.5182 GB, free: 35.51 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002659/0.3286, allocations: 56.12 kB / 0.5183 GB, free: 35.49 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002098/0.3289, allocations: 82.11 kB / 0.5184 GB, free: 35.45 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002188/0.3291, allocations: 95.7 kB / 0.5185 GB, free: 35.41 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001414/0.3292, allocations: 93.47 kB / 0.5185 GB, free: 35.36 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.138e-05/0.3293, allocations: 6.906 kB / 0.5186 GB, free: 35.36 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.05e-05/0.3294, allocations: 38.11 kB / 0.5186 GB, free: 35.35 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.663e-05/0.3295, allocations: 44.44 kB / 0.5186 GB, free: 35.33 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.493e-05/0.3295, allocations: 0 / 0.5186 GB, free: 35.33 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.974e-05/0.3296, allocations: 22.81 kB / 0.5187 GB, free: 35.32 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.858e-05/0.3296, allocations: 25.42 kB / 0.5187 GB, free: 35.32 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.469e-05/0.3297, allocations: 61.89 kB / 0.5187 GB, free: 35.26 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001344/0.3298, allocations: 99.67 kB / 0.5188 GB, free: 35.22 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.3299, allocations: 3.406 kB / 0.5188 GB, free: 35.22 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3299, allocations: 0 / 0.5188 GB, free: 35.22 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.3299, allocations: 0 / 0.5188 GB, free: 35.22 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000454/0.3303, allocations: 411.3 kB / 0.5192 GB, free: 34.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.3304, allocations: 8.906 kB / 0.5192 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.174e-05/0.3304, allocations: 37.72 kB / 0.5193 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.375e-05/0.3305, allocations: 10.78 kB / 0.5193 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001937/0.3307, allocations: 223.6 kB / 0.5195 GB, free: 34.54 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.3307, allocations: 4.156 kB / 0.5195 GB, free: 34.54 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.37e-05/0.3307, allocations: 3.938 kB / 0.5195 GB, free: 34.54 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/0.3308, allocations: 53.14 kB / 0.5196 GB, free: 34.49 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.3308, allocations: 0 / 0.5196 GB, free: 34.49 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.3309, allocations: 0 / 0.5196 GB, free: 34.49 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.3309, allocations: 2.844 kB / 0.5196 GB, free: 34.49 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.898e-05/0.3309, allocations: 17.52 kB / 0.5196 GB, free: 34.48 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001581/0.3311, allocations: 198 kB / 0.5198 GB, free: 34.28 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000131/0.3312, allocations: 48.36 kB / 0.5198 GB, free: 34.24 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.738e-05/0.3313, allocations: 24.22 kB / 0.5198 GB, free: 34.23 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/0.3313, allocations: 6.812 kB / 0.5198 GB, free: 34.22 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001544/0.3315, allocations: 72.83 kB / 0.5199 GB, free: 34.16 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.322e-06/0.3315, allocations: 0 / 0.5199 GB, free: 34.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002426/0.3317, allocations: 96.05 kB / 0.52 GB, free: 34.11 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/0.3318, allocations: 54.64 kB / 0.52 GB, free: 34.04 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001929/0.332, allocations: 270.9 kB / 0.5203 GB, free: 33.89 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.526e-06/0.332, allocations: 25.7 kB / 0.5203 GB, free: 33.86 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.256e-05/0.332, allocations: 115.6 kB / 0.5204 GB, free: 33.76 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.589e-05/0.3321, allocations: 18.66 kB / 0.5205 GB, free: 33.74 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-06/0.3321, allocations: 0 / 0.5205 GB, free: 33.74 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.671e-05/0.3321, allocations: 328.2 kB / 0.5208 GB, free: 33.42 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.124e-05/0.3322, allocations: 12.25 kB / 0.5208 GB, free: 33.42 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.502e-05/0.3322, allocations: 29.94 kB / 0.5208 GB, free: 33.39 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.805e-05/0.3323, allocations: 42.62 kB / 0.5209 GB, free: 33.37 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.3323, allocations: 10.72 kB / 0.5209 GB, free: 33.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001233/0.3325, allocations: 78.12 kB / 0.5209 GB, free: 33.31 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.3325, allocations: 9.266 kB / 0.5209 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.3325, allocations: 0 / 0.5209 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.3325, allocations: 6.906 kB / 0.521 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.399e-05/0.3326, allocations: 8.812 kB / 0.521 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.3326, allocations: 0 / 0.521 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.468e-05/0.3327, allocations: 10.84 kB / 0.521 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.3327, allocations: 6.75 kB / 0.521 GB, free: 33.3 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 7.85e-05/0.3327, allocations: 145.9 kB / 0.5211 GB, free: 33.16 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.715e-05/0.3328, allocations: 17.47 kB / 0.5211 GB, free: 33.15 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.513e-05/0.3328, allocations: 17.47 kB / 0.5212 GB, free: 33.15 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.3328, allocations: 0 / 0.5212 GB, free: 33.15 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.247e-06/0.3328, allocations: 3.234 kB / 0.5212 GB, free: 33.15 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.3328, allocations: 0 / 0.5212 GB, free: 33.15 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001109/0.333, allocations: 200 kB / 0.5213 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.333, allocations: 0 / 0.5213 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.816e-05/0.333, allocations: 2.938 kB / 0.5213 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.333, allocations: 2.875 kB / 0.5214 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.333, allocations: 8.312 kB / 0.5214 GB, free: 32.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.333, allocations: 0 / 0.5214 GB, free: 32.93 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.333, allocations: 4 kB / 0.5214 GB, free: 32.93 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001459/0.3332, allocations: 121.2 kB / 0.5215 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.324e-05/0.3332, allocations: 90.83 kB / 0.5216 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/0.3332, allocations: 0 / 0.5216 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.745e-05/0.3333, allocations: 6.203 kB / 0.5216 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.095e-05/0.3333, allocations: 4 kB / 0.5216 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.3333, allocations: 2.812 kB / 0.5216 GB, free: 32.73 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001541/0.3335, allocations: 203.1 kB / 0.5218 GB, free: 32.62 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3335, allocations: 0 / 0.5218 GB, free: 32.62 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000193/0.3337, allocations: 25.22 kB / 0.5218 GB, free: 32.61 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001019/0.3347, allocations: 0.9406 MB / 0.5227 GB, free: 31.89 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001335/0.3349, allocations: 42.33 kB / 0.5228 GB, free: 31.88 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3349, allocations: 0 / 0.5228 GB, free: 31.88 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.99e-05/0.3349, allocations: 18.86 kB / 0.5228 GB, free: 31.87 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002398/0.3352, allocations: 28.05 kB / 0.5228 GB, free: 31.86 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/0.3362, allocations: 0.8834 MB / 0.5237 GB, free: 31.3 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001538/0.3364, allocations: 0.7128 MB / 0.5244 GB, free: 30.6 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.865e-05/0.3364, allocations: 45.89 kB / 0.5244 GB, free: 30.57 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3365, allocations: 0 / 0.5244 GB, free: 30.57 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.809/3.145, allocations: 2.406 MB / 0.5268 GB, free: 30.3 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test64_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test64.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches