Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.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.Test85,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test85,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0006985/0.0006987, allocations: 91.92 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008254/0.0008254, allocations: 197.5 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.283/1.283, allocations: 227.7 MB / 246.8 MB, free: 11.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.177/0.177, allocations: 46.18 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002324/0.0002324, allocations: 12 kB / 419.6 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09952/0.09976, allocations: 63.55 MB / 483.2 MB, free: 4.047 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.001811/0.1016, allocations: 1.411 MB / 484.6 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001344/0.103, allocations: 0.9629 MB / 485.6 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.219e-05/0.103, allocations: 0 / 485.6 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002379/0.1033, allocations: 55.81 kB / 485.6 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002251/0.1035, allocations: 79.73 kB / 485.7 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001397/0.1037, allocations: 63.86 kB / 485.7 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001481/0.1038, allocations: 95.64 kB / 485.8 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.518e-05/0.1039, allocations: 8.234 kB / 485.9 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.001e-05/0.104, allocations: 43.77 kB / 485.9 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.341e-05/0.1041, allocations: 35.84 kB / 485.9 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.325e-05/0.1041, allocations: 4 kB / 485.9 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.529e-05/0.1042, allocations: 27.98 kB / 486 MB, free: 1.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.664e-05/0.1042, allocations: 27.86 kB / 486 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.633e-05/0.1043, allocations: 61.44 kB / 486 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001587/0.1045, allocations: 95.97 kB / 486.1 MB, free: 1.062 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.1045, allocations: 0 / 486.1 MB, free: 1.062 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1045, allocations: 3.938 kB / 486.1 MB, free: 1.059 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.503e-06/0.1045, allocations: 0 / 486.1 MB, free: 1.059 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.0004209/0.1049, allocations: 383.2 kB / 486.5 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.105, allocations: 12.88 kB / 486.5 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.18e-05/0.105, allocations: 30.75 kB / 486.6 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.815e-05/0.105, allocations: 16.75 kB / 486.6 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001824/0.1052, allocations: 208.1 kB / 486.8 MB, free: 336 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.1052, allocations: 384 / 486.8 MB, free: 336 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.451e-05/0.1053, allocations: 7.938 kB / 486.8 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001102/0.1054, allocations: 45.67 kB / 486.8 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.475e-06/0.1054, allocations: 3.984 kB / 486.8 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.1054, allocations: 0 / 486.8 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.1054, allocations: 4 kB / 486.8 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.861e-05/0.1055, allocations: 15.98 kB / 486.9 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001592/0.1056, allocations: 189.6 kB / 487 MB, free: 12 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001566/0.1058, allocations: 62.48 kB / 487.1 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.966e-05/0.1059, allocations: 16.86 kB / 487.1 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.745e-05/0.1059, allocations: 0 / 487.1 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001427/0.106, allocations: 67.38 kB / 487.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.1061, allocations: 0 / 487.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002488/0.1063, allocations: 105.4 kB / 487.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.308e-05/0.1063, allocations: 51.41 kB / 487.3 MB, free: 15.67 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001505/0.1065, allocations: 181.9 kB / 487.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.1065, allocations: 29.7 kB / 487.5 MB, free: 15.45 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.634e-05/0.1066, allocations: 100.1 kB / 487.6 MB, free: 15.35 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.691e-05/0.1066, allocations: 11.81 kB / 487.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.658e-05/0.1066, allocations: 25.7 kB / 487.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.287e-05/0.1067, allocations: 322.8 kB / 488 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.375e-05/0.1068, allocations: 12 kB / 488 MB, free: 14.97 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.979e-05/0.1069, allocations: 25.7 kB / 488 MB, free: 14.94 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.785e-05/0.107, allocations: 45.64 kB / 488.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.107, allocations: 7.938 kB / 488.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001418/0.1071, allocations: 77.59 kB / 488.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.1071, allocations: 4 kB / 488.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.1071, allocations: 0 / 488.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.1072, allocations: 4 kB / 488.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.539e-05/0.1072, allocations: 11.94 kB / 488.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.1072, allocations: 3.984 kB / 488.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.634e-05/0.1073, allocations: 11.91 kB / 488.2 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-06/0.1073, allocations: 160 / 488.2 MB, free: 14.76 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.19e-05/0.1074, allocations: 127.8 kB / 488.3 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.69e-05/0.1074, allocations: 11.91 kB / 488.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.187e-05/0.1074, allocations: 16.98 kB / 488.3 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.1075, allocations: 0 / 488.3 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.1075, allocations: 0 / 488.3 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1075, allocations: 0 / 488.3 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001206/0.1076, allocations: 189.6 kB / 488.5 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.1076, allocations: 320 / 488.5 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.911e-05/0.1076, allocations: 4 kB / 488.5 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.1076, allocations: 4 kB / 488.5 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.1077, allocations: 0 / 488.5 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.1077, allocations: 7.984 kB / 488.5 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1077, allocations: 0 / 488.5 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000164/0.1078, allocations: 112.9 kB / 488.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.474e-05/0.1079, allocations: 92.86 kB / 488.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.906e-05/0.1079, allocations: 3.984 kB / 488.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.583e-05/0.108, allocations: 4 kB / 488.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.491e-05/0.108, allocations: 4 kB / 488.8 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.108, allocations: 7.938 kB / 488.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001005/0.1081, allocations: 145.8 kB / 488.9 MB, free: 13.95 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1081, allocations: 0 / 488.9 MB, free: 13.95 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002026/0.1083, allocations: 16 kB / 488.9 MB, free: 13.94 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.001139/0.1095, allocations: 0.9558 MB / 489.9 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001291/0.1096, allocations: 39.98 kB / 489.9 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1096, allocations: 0 / 489.9 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.504e-05/0.1097, allocations: 23.92 kB / 489.9 MB, free: 13.03 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002406/0.1099, allocations: 26.98 kB / 490 MB, free: 13.01 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001312/0.1113, allocations: 1.483 MB / 491.5 MB, free: 11.44 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002034/0.1115, allocations: 0.6924 MB / 492.1 MB, free: 10.72 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.377e-05/0.1115, allocations: 12.55 kB / 492.2 MB, free: 10.71 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.83e-05/0.1116, allocations: 31.42 kB / 492.2 MB, free: 10.68 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1116, allocations: 7.938 kB / 492.2 MB, free: 10.67 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01098/0.1226, allocations: 2.67 MB / 494.9 MB, free: 8.125 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001662/0.1228, allocations: 238.6 kB / 495.1 MB, free: 7.867 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.684/1.807, allocations: 0 / 495.1 MB, free: 7.867 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test85_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test85.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches