Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test35,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001248/0.001248, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001546/0.001546, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.389/1.389, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2126/0.2126, allocations: 46.09 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 85.31 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1027, allocations: 62.45 MB / 480.1 MB, free: 5.188 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.003277/0.106, allocations: 1.746 MB / 481.9 MB, free: 3.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001805/0.1079, allocations: 1.029 MB / 482.9 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.108, allocations: 4 kB / 482.9 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003466/0.1084, allocations: 83.69 kB / 483 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000375/0.1088, allocations: 123.5 kB / 483.1 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002435/0.109, allocations: 79.62 kB / 483.2 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002071/0.1093, allocations: 127.7 kB / 483.3 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.1094, allocations: 12 kB / 483.3 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001119/0.1095, allocations: 63.69 kB / 483.4 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001105/0.1096, allocations: 63.81 kB / 483.5 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/0.1096, allocations: 4 kB / 483.5 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001367/0.1098, allocations: 51.98 kB / 483.5 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.974e-05/0.1099, allocations: 31.84 kB / 483.5 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.07e-05/0.1099, allocations: 47.67 kB / 483.6 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002349/0.1102, allocations: 135.8 kB / 483.7 MB, free: 1.582 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1102, allocations: 0 / 483.7 MB, free: 1.582 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1102, allocations: 4 kB / 483.7 MB, free: 1.578 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.1102, allocations: 0 / 483.7 MB, free: 1.578 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005301/0.1107, allocations: 434.8 kB / 484.2 MB, free: 1.105 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.1108, allocations: 8.031 kB / 484.2 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.727e-05/0.1108, allocations: 38.73 kB / 484.2 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.317e-05/0.1109, allocations: 12.84 kB / 484.2 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002193/0.1111, allocations: 225.5 kB / 484.4 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.1111, allocations: 8.375 kB / 484.4 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.566e-05/0.1112, allocations: 11.88 kB / 484.5 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001443/0.1113, allocations: 57.67 kB / 484.5 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.1113, allocations: 0 / 484.5 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.1113, allocations: 4 kB / 484.5 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.1114, allocations: 0 / 484.5 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.355e-05/0.1114, allocations: 27.97 kB / 484.5 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003642/0.1118, allocations: 304.7 kB / 484.8 MB, free: 324 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002466/0.1121, allocations: 74.47 kB / 484.9 MB, free: 240 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.67e-05/0.1121, allocations: 16.98 kB / 484.9 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.1122, allocations: 4 kB / 484.9 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001922/0.1124, allocations: 67.38 kB / 485 MB, free: 136 kB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.1124, allocations: 0 / 485 MB, free: 136 kB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007972/0.1132, allocations: 249.4 kB / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/0.1132, allocations: 59.28 kB / 485.3 MB, free: 15.81 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002103/0.1135, allocations: 234.2 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.1135, allocations: 33.7 kB / 485.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.096e-05/0.1135, allocations: 104.1 kB / 485.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.776e-05/0.1136, allocations: 35.55 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.636e-05/0.1136, allocations: 33.7 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.957e-05/0.1138, allocations: 326.8 kB / 486.1 MB, free: 15.03 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.055e-05/0.1138, allocations: 35.98 kB / 486.1 MB, free: 14.99 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.576e-05/0.1139, allocations: 45.08 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001388/0.1141, allocations: 81.75 kB / 486.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1141, allocations: 3.938 kB / 486.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002207/0.1143, allocations: 129.4 kB / 486.3 MB, free: 14.72 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.1143, allocations: 8 kB / 486.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1143, allocations: 4.031 kB / 486.4 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.1143, allocations: 0 / 486.4 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.361e-05/0.1144, allocations: 35.86 kB / 486.4 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.1144, allocations: 240 / 486.4 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.629e-05/0.1145, allocations: 0 / 486.4 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.675e-05/0.1145, allocations: 11.98 kB / 486.4 MB, free: 14.66 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 (13): * Single equations (assignments): 13 * 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 0.0001018/0.1146, allocations: 129.8 kB / 486.5 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.586e-05/0.1147, allocations: 15.81 kB / 486.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.859e-05/0.1147, allocations: 21.41 kB / 486.6 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.1147, allocations: 3.938 kB / 486.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.1147, allocations: 3.984 kB / 486.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.1147, allocations: 4 kB / 486.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004979/0.1152, allocations: 459.9 kB / 487 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.1153, allocations: 4 kB / 487 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.571e-05/0.1153, allocations: 12 kB / 487 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.1153, allocations: 4.062 kB / 487 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.1153, allocations: 7.938 kB / 487 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.1154, allocations: 4 kB / 487.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1154, allocations: 0 / 487.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002522/0.1156, allocations: 229 kB / 487.3 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.695e-05/0.1157, allocations: 92.92 kB / 487.4 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.662e-05/0.1157, allocations: 4 kB / 487.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.998e-05/0.1158, allocations: 11.98 kB / 487.4 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.093e-05/0.1158, allocations: 7.938 kB / 487.4 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.76e-05/0.1159, allocations: 7.984 kB / 487.4 MB, free: 13.55 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001374/0.116, allocations: 172.4 kB / 487.6 MB, free: 13.38 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.116, allocations: 0 / 487.6 MB, free: 13.38 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000274/0.1163, allocations: 31.98 kB / 487.6 MB, free: 13.35 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001513/0.1178, allocations: 1.166 MB / 488.8 MB, free: 12.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002056/0.118, allocations: 79.84 kB / 488.8 MB, free: 12.26 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.118, allocations: 4.062 kB / 488.8 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.905e-05/0.1181, allocations: 43.92 kB / 488.9 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003468/0.1185, allocations: 35.89 kB / 488.9 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001846/0.1203, allocations: 1.821 MB / 490.7 MB, free: 10.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002574/0.1206, allocations: 0.7273 MB / 491.5 MB, free: 9.512 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.823e-05/0.1207, allocations: 20.62 kB / 491.5 MB, free: 9.492 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.049e-05/0.1208, allocations: 47.42 kB / 491.5 MB, free: 9.445 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1208, allocations: 0 / 491.5 MB, free: 9.445 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02012/0.1409, allocations: 3.867 MB / 495.4 MB, free: 5.656 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.461/7.602, allocations: 3.984 kB / 495.4 MB, free: 5.652 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test35_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test35.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches