Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001093/0.001093, allocations: 106.2 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001382/0.001382, allocations: 209.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.436/1.436, allocations: 227.4 MB / 246.4 MB, free: 10.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2144/0.2144, allocations: 46.1 MB / 343.8 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 77.16 kB / 417.2 MB, free: 19.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09717/0.09855, allocations: 62.44 MB / 479.6 MB, free: 5.508 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.00268/0.1013, allocations: 1.754 MB / 481.4 MB, free: 3.738 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001377/0.1027, allocations: 0.9822 MB / 482.3 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.668e-05/0.1027, allocations: 4 kB / 482.3 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002676/0.103, allocations: 63.8 kB / 482.4 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002765/0.1033, allocations: 99.72 kB / 482.5 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001712/0.1035, allocations: 55.88 kB / 482.6 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001606/0.1037, allocations: 107.6 kB / 482.7 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.044e-05/0.1037, allocations: 8.234 kB / 482.7 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.863e-05/0.1038, allocations: 51.77 kB / 482.7 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.363e-05/0.1039, allocations: 39.84 kB / 482.8 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.422e-05/0.1039, allocations: 8 kB / 482.8 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.136e-05/0.104, allocations: 35.97 kB / 482.8 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.587e-05/0.1041, allocations: 23.86 kB / 482.8 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.825e-05/0.1041, allocations: 31.75 kB / 482.9 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001707/0.1043, allocations: 107.9 kB / 483 MB, free: 2.125 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.1043, allocations: 0 / 483 MB, free: 2.125 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1043, allocations: 0 / 483 MB, free: 2.125 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.86e-06/0.1043, allocations: 0 / 483 MB, free: 2.125 MB / 350.1 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.0004707/0.1048, allocations: 403 kB / 483.4 MB, free: 1.684 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.1048, allocations: 12.03 kB / 483.4 MB, free: 1.672 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.279e-05/0.1049, allocations: 42.67 kB / 483.4 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.648e-05/0.1049, allocations: 8.844 kB / 483.4 MB, free: 1.613 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002021/0.1051, allocations: 214.6 kB / 483.6 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.1051, allocations: 4.375 kB / 483.6 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/0.1052, allocations: 7.938 kB / 483.6 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.1053, allocations: 41.69 kB / 483.7 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.1053, allocations: 3.984 kB / 483.7 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.1053, allocations: 0 / 483.7 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.1053, allocations: 0 / 483.7 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.54e-05/0.1054, allocations: 19.98 kB / 483.7 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001737/0.1056, allocations: 185.7 kB / 483.9 MB, free: 1.055 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001581/0.1058, allocations: 54.5 kB / 483.9 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.268e-05/0.1058, allocations: 20.84 kB / 484 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/0.1059, allocations: 0 / 484 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001622/0.106, allocations: 79.23 kB / 484 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.362e-06/0.106, allocations: 0 / 484 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002685/0.1063, allocations: 97.52 kB / 484.1 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.143e-05/0.1063, allocations: 51.41 kB / 484.2 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001692/0.1065, allocations: 194.9 kB / 484.4 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.1065, allocations: 25.7 kB / 484.4 MB, free: 496 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.589e-05/0.1066, allocations: 100.1 kB / 484.5 MB, free: 392 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.858e-05/0.1066, allocations: 19.81 kB / 484.5 MB, free: 372 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.624e-05/0.1067, allocations: 21.7 kB / 484.5 MB, free: 344 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.885e-05/0.1068, allocations: 322.8 kB / 484.8 MB, free: 12 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.962e-05/0.1068, allocations: 12 kB / 484.9 MB, free: 0 / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.747e-05/0.1069, allocations: 25.7 kB / 484.9 MB, free: 15.97 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.857e-05/0.107, allocations: 49.64 kB / 484.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.107, allocations: 7.938 kB / 484.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001599/0.1072, allocations: 73.59 kB / 485 MB, free: 15.83 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.1072, allocations: 8 kB / 485 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.1072, allocations: 0 / 485 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.348e-06/0.1072, allocations: 0 / 485 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.263e-05/0.1073, allocations: 15.94 kB / 485 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.1073, allocations: 0 / 485 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.937e-05/0.1074, allocations: 11.92 kB / 485 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.725e-06/0.1074, allocations: 4 kB / 485.1 MB, free: 15.79 MB / 366.1 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.707e-05/0.1075, allocations: 125.8 kB / 485.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.17e-05/0.1075, allocations: 11.81 kB / 485.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.502e-05/0.1076, allocations: 16.98 kB / 485.2 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1076, allocations: 0 / 485.2 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.1076, allocations: 0 / 485.2 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.1076, allocations: 4 kB / 485.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001352/0.1077, allocations: 197.5 kB / 485.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1077, allocations: 320 / 485.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.049e-05/0.1078, allocations: 0 / 485.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.1078, allocations: 4 kB / 485.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.1078, allocations: 8 kB / 485.4 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1078, allocations: 0 / 485.4 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1078, allocations: 0 / 485.4 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000177/0.108, allocations: 112.9 kB / 485.5 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.039e-05/0.108, allocations: 85.02 kB / 485.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.109e-05/0.1081, allocations: 0 / 485.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.493e-05/0.1081, allocations: 7.984 kB / 485.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.983e-05/0.1082, allocations: 8 kB / 485.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/0.1082, allocations: 4 kB / 485.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001186/0.1083, allocations: 148.7 kB / 485.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1083, allocations: 3.938 kB / 485.8 MB, free: 14.97 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002218/0.1085, allocations: 23.91 kB / 485.8 MB, free: 14.95 MB / 366.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001227/0.1098, allocations: 0.9491 MB / 486.7 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001492/0.1099, allocations: 43.97 kB / 486.8 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1099, allocations: 0 / 486.8 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.535e-05/0.11, allocations: 19.94 kB / 486.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002614/0.1103, allocations: 31.22 kB / 486.8 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001481/0.1118, allocations: 1.506 MB / 488.3 MB, free: 12.42 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002358/0.112, allocations: 0.701 MB / 489 MB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.372e-05/0.1121, allocations: 16.53 kB / 489.1 MB, free: 11.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.68e-05/0.1121, allocations: 35.42 kB / 489.1 MB, free: 11.64 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1121, allocations: 0 / 489.1 MB, free: 11.64 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01254/0.1247, allocations: 2.973 MB / 492.1 MB, free: 8.773 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002002/0.1249, allocations: 233 kB / 492.3 MB, free: 8.523 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.748/1.873, allocations: 0 / 492.3 MB, free: 8.523 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test86_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test86.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches