Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test74,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009926/0.0009927, allocations: 193.8 kB / 16.09 MB, free: 5.68 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.208/1.208, allocations: 226.5 MB / 243.4 MB, free: 6.508 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007709/0.0007709, allocations: 99.56 kB / 295.5 MB, free: 6.688 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3317/0.3317, allocations: 44.82 MB / 392.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002652/0.0002654, allocations: 8 kB / 465.4 MB, free: 12.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3016/0.3018, allocations: 62.96 MB / 0.516 GB, free: 37.2 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.001785/0.3037, allocations: 1.592 MB / 0.5175 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001376/0.3051, allocations: 1.078 MB / 0.5186 GB, free: 35.3 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.441e-05/0.3052, allocations: 7 kB / 0.5186 GB, free: 35.29 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004386/0.3056, allocations: 248 kB / 0.5188 GB, free: 35.26 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003487/0.306, allocations: 195.4 kB / 0.519 GB, free: 35.2 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003959/0.3064, allocations: 156.1 kB / 0.5192 GB, free: 35.12 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002361/0.3066, allocations: 230.9 kB / 0.5194 GB, free: 35.03 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.3068, allocations: 28.42 kB / 0.5194 GB, free: 35.02 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001326/0.3069, allocations: 114.1 kB / 0.5195 GB, free: 34.99 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001589/0.3071, allocations: 165.4 kB / 0.5197 GB, free: 34.95 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.498e-05/0.3071, allocations: 6.031 kB / 0.5197 GB, free: 34.95 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001255/0.3072, allocations: 58.48 kB / 0.5197 GB, free: 34.93 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.298e-05/0.3073, allocations: 59.72 kB / 0.5198 GB, free: 34.91 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.9e-05/0.3074, allocations: 108.5 kB / 0.5199 GB, free: 34.82 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002212/0.3076, allocations: 184.6 kB / 0.5201 GB, free: 34.76 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3077, allocations: 0 / 0.5201 GB, free: 34.76 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3077, allocations: 0 / 0.5201 GB, free: 34.76 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.3077, allocations: 0 / 0.5201 GB, free: 34.76 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006847/0.3084, allocations: 0.5437 MB / 0.5206 GB, free: 34.27 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.3084, allocations: 8.625 kB / 0.5206 GB, free: 34.27 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.376e-05/0.3085, allocations: 41 kB / 0.5206 GB, free: 34.22 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.047e-05/0.3085, allocations: 31.5 kB / 0.5207 GB, free: 34.21 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002887/0.3088, allocations: 293 kB / 0.521 GB, free: 33.94 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.3088, allocations: 2.781 kB / 0.521 GB, free: 33.94 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.916e-05/0.3089, allocations: 20.72 kB / 0.521 GB, free: 33.93 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002127/0.3091, allocations: 114.8 kB / 0.5211 GB, free: 33.86 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.3091, allocations: 0 / 0.5211 GB, free: 33.86 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.3091, allocations: 2.969 kB / 0.5211 GB, free: 33.86 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.3092, allocations: 0 / 0.5211 GB, free: 33.86 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001237/0.3093, allocations: 45.44 kB / 0.5211 GB, free: 33.84 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004834/0.3098, allocations: 487.5 kB / 0.5216 GB, free: 33.43 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003197/0.3101, allocations: 130.4 kB / 0.5217 GB, free: 33.35 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.677e-05/0.3102, allocations: 44.58 kB / 0.5218 GB, free: 33.32 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.606e-05/0.3102, allocations: 0 / 0.5218 GB, free: 33.32 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002155/0.3105, allocations: 121.6 kB / 0.5219 GB, free: 33.24 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 1.343e-06/0.3105, allocations: 0 / 0.5219 GB, free: 33.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=22): time 0.001181/0.3117, allocations: 0.5032 MB / 0.5224 GB, free: 33 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.3117, allocations: 84.05 kB / 0.5225 GB, free: 32.91 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000396/0.3121, allocations: 499.9 kB / 0.5229 GB, free: 32.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.3121, allocations: 32.2 kB / 0.523 GB, free: 32.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.07e-05/0.3122, allocations: 166.5 kB / 0.5231 GB, free: 32.52 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.6e-05/0.3123, allocations: 68.53 kB / 0.5232 GB, free: 32.47 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.596e-06/0.3123, allocations: 4 kB / 0.5232 GB, free: 32.47 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.629e-05/0.3124, allocations: 347.8 kB / 0.5235 GB, free: 32.14 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001072/0.3125, allocations: 56.72 kB / 0.5236 GB, free: 32.12 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.3126, allocations: 92.2 kB / 0.5237 GB, free: 32.06 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002175/0.3128, allocations: 159.1 kB / 0.5238 GB, free: 31.97 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.3128, allocations: 0 / 0.5238 GB, free: 31.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003245/0.3132, allocations: 247.3 kB / 0.5241 GB, free: 31.85 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.3132, allocations: 3.031 kB / 0.5241 GB, free: 31.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.3132, allocations: 3 kB / 0.5241 GB, free: 31.85 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.3132, allocations: 10.33 kB / 0.5241 GB, free: 31.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.3133, allocations: 39.2 kB / 0.5241 GB, free: 31.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/0.3134, allocations: 3.344 kB / 0.5241 GB, free: 31.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001048/0.3135, allocations: 10.78 kB / 0.5241 GB, free: 31.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.559e-05/0.3135, allocations: 11.53 kB / 0.5241 GB, free: 31.83 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 0.0001374/0.3136, allocations: 176.9 kB / 0.5243 GB, free: 31.7 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.591e-05/0.3137, allocations: 34.66 kB / 0.5243 GB, free: 31.68 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.605e-05/0.3138, allocations: 45.25 kB / 0.5244 GB, free: 31.65 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.77e-06/0.3138, allocations: 2.656 kB / 0.5244 GB, free: 31.65 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.3138, allocations: 3.938 kB / 0.5244 GB, free: 31.65 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.3138, allocations: 5.719 kB / 0.5244 GB, free: 31.65 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007508/0.3146, allocations: 0.7382 MB / 0.5251 GB, free: 31.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3146, allocations: 2.656 kB / 0.5251 GB, free: 31.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.347e-05/0.3147, allocations: 30.98 kB / 0.5251 GB, free: 31.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.3147, allocations: 3.125 kB / 0.5251 GB, free: 31.1 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.766e-05/0.3147, allocations: 9.438 kB / 0.5252 GB, free: 31.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.3147, allocations: 0 / 0.5252 GB, free: 31.1 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.3147, allocations: 7.875 kB / 0.5252 GB, free: 31.09 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003376/0.315, allocations: 423.9 kB / 0.5256 GB, free: 30.78 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.108e-05/0.3151, allocations: 114.7 kB / 0.5257 GB, free: 30.66 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.625e-05/0.3151, allocations: 13.64 kB / 0.5257 GB, free: 30.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.3153, allocations: 9.844 kB / 0.5257 GB, free: 30.65 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.999e-05/0.3153, allocations: 20.97 kB / 0.5257 GB, free: 30.65 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.311e-05/0.3154, allocations: 15.72 kB / 0.5257 GB, free: 30.64 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002559/0.3156, allocations: 375.1 kB / 0.5261 GB, free: 30.48 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.3156, allocations: 0 / 0.5261 GB, free: 30.48 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003122/0.316, allocations: 55.31 kB / 0.5261 GB, free: 30.46 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001483/0.3174, allocations: 1.362 MB / 0.5275 GB, free: 29.46 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003084/0.3178, allocations: 158.7 kB / 0.5276 GB, free: 29.41 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3178, allocations: 0 / 0.5276 GB, free: 29.41 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001273/0.3179, allocations: 80.42 kB / 0.5277 GB, free: 29.38 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005702/0.3185, allocations: 61.89 kB / 0.5278 GB, free: 29.36 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002167/0.3207, allocations: 1.859 MB / 0.5296 GB, free: 28.36 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002194/0.3209, allocations: 0.7814 MB / 0.5303 GB, free: 27.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001312/0.3211, allocations: 104.3 kB / 0.5304 GB, free: 27.59 MB / 378.7 MB Notification: Performance of SimCode: time 4.81e-07/0.3211, allocations: 4 kB / 0.5304 GB, free: 27.58 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.9/3.221, allocations: 4.851 MB / 0.5352 GB, free: 26.99 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test74_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test74.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches