Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.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.Test62,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001025/0.001025, allocations: 199.3 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.235/1.235, allocations: 226.5 MB / 243.4 MB, free: 6.453 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007843/0.0007846, allocations: 95.39 kB / 295.5 MB, free: 6.633 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3163/0.3163, allocations: 44.82 MB / 392.3 MB, free: 35.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002596/0.0002597, allocations: 11.98 kB / 465.4 MB, free: 12.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3238/0.3241, allocations: 62.96 MB / 0.516 GB, free: 37.09 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.00176/0.326, allocations: 1.386 MB / 0.5173 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001188/0.3272, allocations: 0.9359 MB / 0.5182 GB, free: 35.44 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.577e-05/0.3272, allocations: 3.938 kB / 0.5182 GB, free: 35.43 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002837/0.3275, allocations: 49 kB / 0.5183 GB, free: 35.42 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002116/0.3278, allocations: 82.88 kB / 0.5184 GB, free: 35.38 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002215/0.328, allocations: 96.53 kB / 0.5185 GB, free: 35.33 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001325/0.3281, allocations: 89.5 kB / 0.5185 GB, free: 35.29 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.113e-05/0.3282, allocations: 7 kB / 0.5185 GB, free: 35.29 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.435e-05/0.3283, allocations: 40.73 kB / 0.5186 GB, free: 35.27 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.988e-05/0.3283, allocations: 35.36 kB / 0.5186 GB, free: 35.26 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.3284, allocations: 7 kB / 0.5186 GB, free: 35.25 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.217e-05/0.3284, allocations: 25.89 kB / 0.5187 GB, free: 35.25 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.601e-05/0.3285, allocations: 22.45 kB / 0.5187 GB, free: 35.24 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.824e-05/0.3286, allocations: 65.52 kB / 0.5187 GB, free: 35.18 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001479/0.3287, allocations: 99.47 kB / 0.5188 GB, free: 35.15 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3287, allocations: 0 / 0.5188 GB, free: 35.15 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3287, allocations: 0 / 0.5188 GB, free: 35.15 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.3287, allocations: 0 / 0.5188 GB, free: 35.15 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.0004355/0.3292, allocations: 409.7 kB / 0.5192 GB, free: 34.74 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.3292, allocations: 14.88 kB / 0.5192 GB, free: 34.74 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.939e-05/0.3293, allocations: 30.75 kB / 0.5193 GB, free: 34.7 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.098e-05/0.3293, allocations: 10.09 kB / 0.5193 GB, free: 34.7 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001944/0.3295, allocations: 227 kB / 0.5195 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.3295, allocations: 4.312 kB / 0.5195 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.368e-05/0.3296, allocations: 6.812 kB / 0.5195 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.3297, allocations: 44.53 kB / 0.5195 GB, free: 34.42 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/0.3297, allocations: 0 / 0.5195 GB, free: 34.42 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.3297, allocations: 7.281 kB / 0.5196 GB, free: 34.42 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.431e-06/0.3297, allocations: 2.625 kB / 0.5196 GB, free: 34.42 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.066e-05/0.3298, allocations: 13.72 kB / 0.5196 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001657/0.33, allocations: 199.5 kB / 0.5198 GB, free: 34.2 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001388/0.3301, allocations: 59.39 kB / 0.5198 GB, free: 34.16 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.639e-05/0.3302, allocations: 17.61 kB / 0.5198 GB, free: 34.15 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/0.3302, allocations: 0 / 0.5198 GB, free: 34.15 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001429/0.3303, allocations: 72.02 kB / 0.5199 GB, free: 34.09 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.313e-06/0.3304, allocations: 0 / 0.5199 GB, free: 34.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002464/0.3306, allocations: 100.8 kB / 0.52 GB, free: 34.03 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/0.3307, allocations: 54.47 kB / 0.52 GB, free: 33.97 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002018/0.3309, allocations: 267.6 kB / 0.5203 GB, free: 33.82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.117e-06/0.3309, allocations: 25.7 kB / 0.5203 GB, free: 33.79 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.088e-05/0.3309, allocations: 118.6 kB / 0.5204 GB, free: 33.68 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.403e-05/0.331, allocations: 11.81 kB / 0.5205 GB, free: 33.67 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.571e-06/0.331, allocations: 6.719 kB / 0.5205 GB, free: 33.67 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.683e-05/0.331, allocations: 321 kB / 0.5208 GB, free: 33.35 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.497e-05/0.3311, allocations: 15.92 kB / 0.5208 GB, free: 33.35 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.495e-05/0.3311, allocations: 29.48 kB / 0.5208 GB, free: 33.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.704e-05/0.3312, allocations: 40.33 kB / 0.5208 GB, free: 33.3 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.3312, allocations: 7.938 kB / 0.5209 GB, free: 33.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001243/0.3314, allocations: 84.5 kB / 0.5209 GB, free: 33.24 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.3314, allocations: 6.25 kB / 0.5209 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3314, allocations: 2.969 kB / 0.5209 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.3314, allocations: 3.938 kB / 0.5209 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.261e-05/0.3315, allocations: 12.92 kB / 0.521 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.3315, allocations: 3.938 kB / 0.521 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.487e-05/0.3315, allocations: 6.875 kB / 0.521 GB, free: 33.22 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-06/0.3316, allocations: 6.25 kB / 0.521 GB, free: 33.22 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 8.638e-05/0.3317, allocations: 145.5 kB / 0.5211 GB, free: 33.09 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.692e-05/0.3317, allocations: 16.22 kB / 0.5211 GB, free: 33.08 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.619e-05/0.3317, allocations: 17.84 kB / 0.5211 GB, free: 33.08 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.3317, allocations: 0 / 0.5211 GB, free: 33.08 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3317, allocations: 2.906 kB / 0.5212 GB, free: 33.08 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.3317, allocations: 0 / 0.5212 GB, free: 33.08 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001179/0.3319, allocations: 206.4 kB / 0.5213 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3319, allocations: 320 / 0.5213 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.003e-05/0.3319, allocations: 9.75 kB / 0.5214 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.3319, allocations: 4 kB / 0.5214 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.527e-06/0.3319, allocations: 0 / 0.5214 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3319, allocations: 0 / 0.5214 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.3319, allocations: 2.781 kB / 0.5214 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001559/0.3321, allocations: 114 kB / 0.5215 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.835e-05/0.3321, allocations: 94.77 kB / 0.5216 GB, free: 32.66 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.211e-05/0.3322, allocations: 3.328 kB / 0.5216 GB, free: 32.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.886e-05/0.3322, allocations: 6.812 kB / 0.5216 GB, free: 32.66 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.327e-05/0.3323, allocations: 2.812 kB / 0.5216 GB, free: 32.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.3323, allocations: 2.562 kB / 0.5216 GB, free: 32.66 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001388/0.3324, allocations: 202.9 kB / 0.5218 GB, free: 32.55 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3324, allocations: 3.938 kB / 0.5218 GB, free: 32.55 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001946/0.3326, allocations: 18.25 kB / 0.5218 GB, free: 32.54 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.001138/0.3338, allocations: 0.947 MB / 0.5227 GB, free: 31.81 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001516/0.334, allocations: 34.33 kB / 0.5227 GB, free: 31.8 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.334, allocations: 0 / 0.5227 GB, free: 31.8 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.414e-05/0.334, allocations: 18.78 kB / 0.5228 GB, free: 31.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002631/0.3343, allocations: 38.3 kB / 0.5228 GB, free: 31.78 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.3354, allocations: 0.8741 MB / 0.5237 GB, free: 31.22 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001515/0.3356, allocations: 0.712 MB / 0.5244 GB, free: 30.53 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.737e-05/0.3356, allocations: 40.53 kB / 0.5244 GB, free: 30.5 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3357, allocations: 2.969 kB / 0.5244 GB, free: 30.5 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.896/3.232, allocations: 2.418 MB / 0.5268 GB, free: 30.23 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test62_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test62.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches