Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test18,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001115/0.001115, allocations: 199.8 kB / 16.1 MB, free: 5.695 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.263/1.263, allocations: 226.5 MB / 243.4 MB, free: 8.211 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008004/0.0008004, allocations: 101.4 kB / 295.5 MB, free: 6.859 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3161/0.3161, allocations: 44.82 MB / 392.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003071/0.0003072, allocations: 12 kB / 465.4 MB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2981/0.2984, allocations: 62.97 MB / 0.516 GB, free: 36.97 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.00158/0.3001, allocations: 1.425 MB / 0.5174 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001183/0.3013, allocations: 0.9563 MB / 0.5183 GB, free: 35.28 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.972e-05/0.3014, allocations: 0 / 0.5183 GB, free: 35.28 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002405/0.3016, allocations: 40.39 kB / 0.5183 GB, free: 35.26 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002297/0.3019, allocations: 73.72 kB / 0.5184 GB, free: 35.22 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002544/0.3021, allocations: 88.14 kB / 0.5185 GB, free: 35.18 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001237/0.3023, allocations: 88.44 kB / 0.5186 GB, free: 35.14 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.201e-05/0.3024, allocations: 12.73 kB / 0.5186 GB, free: 35.13 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.799e-05/0.3024, allocations: 42.59 kB / 0.5186 GB, free: 35.11 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.079e-05/0.3025, allocations: 34.16 kB / 0.5187 GB, free: 35.09 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.232e-05/0.3025, allocations: 2.812 kB / 0.5187 GB, free: 35.09 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.616e-05/0.3026, allocations: 34.86 kB / 0.5187 GB, free: 35.09 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.635e-05/0.3027, allocations: 16.92 kB / 0.5187 GB, free: 35.08 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.763e-05/0.3027, allocations: 54.36 kB / 0.5188 GB, free: 35.03 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001248/0.3028, allocations: 92.25 kB / 0.5189 GB, free: 35 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.3029, allocations: 0 / 0.5189 GB, free: 35 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3029, allocations: 0 / 0.5189 GB, free: 35 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.3029, allocations: 0 / 0.5189 GB, free: 35 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003823/0.3033, allocations: 396.4 kB / 0.5192 GB, free: 34.6 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.3033, allocations: 15.16 kB / 0.5192 GB, free: 34.59 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.069e-05/0.3033, allocations: 30.75 kB / 0.5193 GB, free: 34.55 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.005e-05/0.3034, allocations: 13.7 kB / 0.5193 GB, free: 34.55 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001643/0.3035, allocations: 209 kB / 0.5195 GB, free: 34.33 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.3036, allocations: 384 / 0.5195 GB, free: 34.33 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.514e-05/0.3036, allocations: 6.906 kB / 0.5195 GB, free: 34.33 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001263/0.3037, allocations: 59.67 kB / 0.5196 GB, free: 34.29 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.3037, allocations: 3.938 kB / 0.5196 GB, free: 34.28 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.3038, allocations: 2.844 kB / 0.5196 GB, free: 34.28 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.3038, allocations: 0 / 0.5196 GB, free: 34.28 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.6e-05/0.3038, allocations: 20.12 kB / 0.5196 GB, free: 34.27 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002692/0.3041, allocations: 290.5 kB / 0.5199 GB, free: 33.98 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001392/0.3043, allocations: 64.47 kB / 0.5199 GB, free: 33.94 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.219e-05/0.3043, allocations: 17.58 kB / 0.5199 GB, free: 33.93 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.803e-05/0.3043, allocations: 6.422 kB / 0.5199 GB, free: 33.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000137/0.3045, allocations: 68.88 kB / 0.52 GB, free: 33.87 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.3045, allocations: 0 / 0.52 GB, free: 33.87 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004547/0.3049, allocations: 171.6 kB / 0.5202 GB, free: 33.78 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.183e-05/0.305, allocations: 55.41 kB / 0.5202 GB, free: 33.71 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.3051, allocations: 184.8 kB / 0.5204 GB, free: 33.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.849e-06/0.3051, allocations: 25.7 kB / 0.5204 GB, free: 33.55 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.528e-05/0.3052, allocations: 105.3 kB / 0.5205 GB, free: 33.46 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.355e-05/0.3052, allocations: 25.7 kB / 0.5205 GB, free: 33.44 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/0.3052, allocations: 3.938 kB / 0.5206 GB, free: 33.43 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.508e-05/0.3053, allocations: 321 kB / 0.5209 GB, free: 33.12 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.006e-05/0.3053, allocations: 22.97 kB / 0.5209 GB, free: 33.11 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.145e-05/0.3054, allocations: 39.66 kB / 0.5209 GB, free: 33.08 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.337e-05/0.3055, allocations: 61 kB / 0.521 GB, free: 33.04 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.3055, allocations: 0 / 0.521 GB, free: 33.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00015/0.3056, allocations: 99.72 kB / 0.5211 GB, free: 32.98 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.3057, allocations: 2.812 kB / 0.5211 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.3057, allocations: 3.5 kB / 0.5211 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.3057, allocations: 3 kB / 0.5211 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.426e-05/0.3058, allocations: 19.5 kB / 0.5211 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.3058, allocations: 6.922 kB / 0.5211 GB, free: 32.97 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.562e-05/0.3058, allocations: 10.2 kB / 0.5211 GB, free: 32.97 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.3058, allocations: 6.844 kB / 0.5211 GB, free: 32.96 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 (10): * Single equations (assignments): 10 * 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.541e-05/0.3059, allocations: 115.6 kB / 0.5212 GB, free: 32.85 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.55e-05/0.3059, allocations: 9.656 kB / 0.5212 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.452e-05/0.306, allocations: 18.66 kB / 0.5213 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.306, allocations: 3.984 kB / 0.5213 GB, free: 32.83 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.306, allocations: 4 kB / 0.5213 GB, free: 32.83 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.306, allocations: 7 kB / 0.5213 GB, free: 32.82 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003078/0.3063, allocations: 392.4 kB / 0.5216 GB, free: 32.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.3063, allocations: 0 / 0.5216 GB, free: 32.47 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.891e-05/0.3064, allocations: 15.66 kB / 0.5217 GB, free: 32.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.746e-06/0.3064, allocations: 6.688 kB / 0.5217 GB, free: 32.46 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.3064, allocations: 0 / 0.5217 GB, free: 32.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.3064, allocations: 2.688 kB / 0.5217 GB, free: 32.46 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3064, allocations: 4.406 kB / 0.5217 GB, free: 32.46 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001623/0.3066, allocations: 199.5 kB / 0.5219 GB, free: 32.3 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.857e-05/0.3066, allocations: 91.28 kB / 0.522 GB, free: 32.2 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.165e-05/0.3066, allocations: 6.344 kB / 0.522 GB, free: 32.19 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.863e-05/0.3067, allocations: 7.219 kB / 0.522 GB, free: 32.19 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.919e-05/0.3067, allocations: 7.031 kB / 0.522 GB, free: 32.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/0.3068, allocations: 11.56 kB / 0.522 GB, free: 32.18 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.029e-05/0.3068, allocations: 136 kB / 0.5221 GB, free: 32.09 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3069, allocations: 0 / 0.5221 GB, free: 32.09 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000241/0.3071, allocations: 27.12 kB / 0.5221 GB, free: 32.08 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.00107/0.3082, allocations: 1.095 MB / 0.5232 GB, free: 31.25 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001409/0.3083, allocations: 54.53 kB / 0.5233 GB, free: 31.23 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3083, allocations: 0 / 0.5233 GB, free: 31.23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.765e-05/0.3084, allocations: 36.38 kB / 0.5233 GB, free: 31.21 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003106/0.3087, allocations: 37.34 kB / 0.5233 GB, free: 31.2 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008959/0.3096, allocations: 0.714 MB / 0.524 GB, free: 30.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001185/0.3098, allocations: 0.7051 MB / 0.5247 GB, free: 30 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.136e-05/0.3098, allocations: 30.94 kB / 0.5247 GB, free: 29.98 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3098, allocations: 4 kB / 0.5247 GB, free: 29.98 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.79/3.099, allocations: 2.237 MB / 0.5269 GB, free: 29.75 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test18_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test18.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches