Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.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.Test32,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test32,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001263/0.001263, allocations: 196.3 kB / 16.1 MB, free: 5.676 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: 8.223 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009234/0.0009231, allocations: 92.84 kB / 295.5 MB, free: 6.906 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3144/0.3144, allocations: 44.82 MB / 392.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003499/0.0003501, allocations: 12 kB / 465.4 MB, free: 12.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2796/0.28, allocations: 62.95 MB / 0.516 GB, free: 36.96 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.001462/0.2815, allocations: 1.424 MB / 0.5174 GB, free: 35.92 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001039/0.2825, allocations: 0.9532 MB / 0.5183 GB, free: 35.27 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.787e-05/0.2826, allocations: 0 / 0.5183 GB, free: 35.27 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002231/0.2828, allocations: 40.27 kB / 0.5183 GB, free: 35.25 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001893/0.283, allocations: 72.31 kB / 0.5184 GB, free: 35.21 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002352/0.2833, allocations: 99.83 kB / 0.5185 GB, free: 35.16 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001181/0.2834, allocations: 91.17 kB / 0.5186 GB, free: 35.12 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.907e-05/0.2835, allocations: 14.42 kB / 0.5186 GB, free: 35.11 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.546e-05/0.2836, allocations: 40.19 kB / 0.5186 GB, free: 35.09 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.287e-05/0.2836, allocations: 27.28 kB / 0.5187 GB, free: 35.08 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.189e-05/0.2836, allocations: 2.75 kB / 0.5187 GB, free: 35.08 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.062e-05/0.2837, allocations: 36.42 kB / 0.5187 GB, free: 35.07 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.565e-05/0.2838, allocations: 23.03 kB / 0.5187 GB, free: 35.06 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.388e-05/0.2838, allocations: 58.36 kB / 0.5188 GB, free: 35.01 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000115/0.2839, allocations: 93.2 kB / 0.5189 GB, free: 34.98 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.2839, allocations: 0 / 0.5189 GB, free: 34.98 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2839, allocations: 0 / 0.5189 GB, free: 34.98 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.456e-06/0.284, allocations: 4 kB / 0.5189 GB, free: 34.97 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.0003617/0.2843, allocations: 394.3 kB / 0.5192 GB, free: 34.58 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.2844, allocations: 8.625 kB / 0.5192 GB, free: 34.58 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.464e-05/0.2844, allocations: 30.75 kB / 0.5193 GB, free: 34.54 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.723e-05/0.2844, allocations: 21.69 kB / 0.5193 GB, free: 34.53 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.2846, allocations: 214.2 kB / 0.5195 GB, free: 34.3 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.2846, allocations: 3 kB / 0.5195 GB, free: 34.3 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.749e-05/0.2846, allocations: 6.719 kB / 0.5195 GB, free: 34.3 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/0.2847, allocations: 62.98 kB / 0.5196 GB, free: 34.25 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.2848, allocations: 0 / 0.5196 GB, free: 34.25 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.335e-06/0.2848, allocations: 0 / 0.5196 GB, free: 34.25 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.2848, allocations: 2.75 kB / 0.5196 GB, free: 34.25 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.959e-05/0.2848, allocations: 16.09 kB / 0.5196 GB, free: 34.25 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002481/0.2851, allocations: 294.5 kB / 0.5199 GB, free: 33.95 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001315/0.2852, allocations: 58.14 kB / 0.5199 GB, free: 33.92 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.315e-05/0.2853, allocations: 18.25 kB / 0.5199 GB, free: 33.91 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.2853, allocations: 2.875 kB / 0.5199 GB, free: 33.91 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001341/0.2855, allocations: 75.59 kB / 0.52 GB, free: 33.84 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.2855, allocations: 3.938 kB / 0.52 GB, free: 33.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004339/0.2859, allocations: 173.4 kB / 0.5202 GB, free: 33.75 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.32e-05/0.2859, allocations: 51.41 kB / 0.5202 GB, free: 33.69 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.2861, allocations: 203.7 kB / 0.5204 GB, free: 33.55 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.999e-06/0.2861, allocations: 29.7 kB / 0.5205 GB, free: 33.52 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.296e-05/0.2861, allocations: 101.2 kB / 0.5206 GB, free: 33.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.222e-05/0.2862, allocations: 28.33 kB / 0.5206 GB, free: 33.41 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.197e-06/0.2862, allocations: 0 / 0.5206 GB, free: 33.41 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.606e-05/0.2862, allocations: 324.9 kB / 0.5209 GB, free: 33.09 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.833e-05/0.2863, allocations: 18.73 kB / 0.5209 GB, free: 33.08 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.251e-05/0.2863, allocations: 36.72 kB / 0.5209 GB, free: 33.05 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.214e-05/0.2864, allocations: 60.59 kB / 0.521 GB, free: 33.02 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.2864, allocations: 0 / 0.521 GB, free: 33.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001413/0.2866, allocations: 97.3 kB / 0.5211 GB, free: 32.96 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/0.2866, allocations: 6.062 kB / 0.5211 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.2866, allocations: 3.797 kB / 0.5211 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/0.2866, allocations: 4.031 kB / 0.5211 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.449e-05/0.2867, allocations: 22.94 kB / 0.5211 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.2867, allocations: 0 / 0.5211 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.511e-05/0.2868, allocations: 14.56 kB / 0.5211 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.2868, allocations: 7.062 kB / 0.5211 GB, free: 32.94 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.339e-05/0.2869, allocations: 124 kB / 0.5213 GB, free: 32.82 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.575e-05/0.2869, allocations: 9.125 kB / 0.5213 GB, free: 32.81 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.341e-05/0.2869, allocations: 18.23 kB / 0.5213 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-06/0.2869, allocations: 4 kB / 0.5213 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.2869, allocations: 3 kB / 0.5213 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.2869, allocations: 7.875 kB / 0.5213 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003077/0.2873, allocations: 392.5 kB / 0.5217 GB, free: 32.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2873, allocations: 0 / 0.5217 GB, free: 32.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.937e-05/0.2873, allocations: 10.72 kB / 0.5217 GB, free: 32.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.2873, allocations: 3.938 kB / 0.5217 GB, free: 32.44 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.787e-06/0.2873, allocations: 0 / 0.5217 GB, free: 32.44 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.2873, allocations: 7.062 kB / 0.5217 GB, free: 32.44 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.2873, allocations: 3.234 kB / 0.5217 GB, free: 32.44 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001571/0.2875, allocations: 206.5 kB / 0.5219 GB, free: 32.27 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.674e-05/0.2875, allocations: 87.23 kB / 0.522 GB, free: 32.17 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.089e-05/0.2876, allocations: 10.94 kB / 0.522 GB, free: 32.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.659e-05/0.2876, allocations: 0 / 0.522 GB, free: 32.16 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.124e-05/0.2877, allocations: 17.14 kB / 0.522 GB, free: 32.15 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.2877, allocations: 3.625 kB / 0.522 GB, free: 32.15 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.234e-05/0.2878, allocations: 146.2 kB / 0.5222 GB, free: 32.06 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2878, allocations: 0 / 0.5222 GB, free: 32.06 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002284/0.288, allocations: 25.72 kB / 0.5222 GB, free: 32.05 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.001038/0.2891, allocations: 1.097 MB / 0.5233 GB, free: 31.21 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001373/0.2892, allocations: 55 kB / 0.5233 GB, free: 31.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.2892, allocations: 4.062 kB / 0.5233 GB, free: 31.19 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.808e-05/0.2893, allocations: 32.88 kB / 0.5233 GB, free: 31.18 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002999/0.2896, allocations: 25.2 kB / 0.5234 GB, free: 31.18 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008681/0.2905, allocations: 0.7652 MB / 0.5241 GB, free: 30.64 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001042/0.2906, allocations: 0.7044 MB / 0.5248 GB, free: 29.95 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.171e-05/0.2906, allocations: 39.33 kB / 0.5248 GB, free: 29.92 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2906, allocations: 0 / 0.5248 GB, free: 29.92 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.915/3.206, allocations: 2.291 MB / 0.5271 GB, free: 29.69 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test32_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test32.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches