Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test76,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001885/0.001885, allocations: 106.8 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002334/0.002335, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.421/1.421, allocations: 227.4 MB / 246.3 MB, free: 9.062 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.212/0.212, allocations: 46.11 MB / 343.6 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 81.06 kB / 417 MB, free: 20.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1065, allocations: 62.44 MB / 479.4 MB, free: 5.605 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.003013/0.1095, allocations: 1.808 MB / 481.2 MB, free: 3.781 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001616/0.1112, allocations: 1.021 MB / 482.2 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.845e-05/0.1113, allocations: 0 / 482.2 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003114/0.1116, allocations: 43.83 kB / 482.3 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002596/0.1119, allocations: 87.72 kB / 482.4 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002062/0.1121, allocations: 67.81 kB / 482.4 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001746/0.1123, allocations: 115.7 kB / 482.5 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.856e-05/0.1124, allocations: 16 kB / 482.5 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.575e-05/0.1125, allocations: 51.77 kB / 482.6 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.595e-05/0.1126, allocations: 47.77 kB / 482.6 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.8e-05/0.1126, allocations: 4 kB / 482.6 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001254/0.1127, allocations: 59.97 kB / 482.7 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.822e-05/0.1128, allocations: 23.86 kB / 482.7 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.142e-05/0.1129, allocations: 43.72 kB / 482.8 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002099/0.1131, allocations: 143.8 kB / 482.9 MB, free: 2.062 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1131, allocations: 0 / 482.9 MB, free: 2.062 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1131, allocations: 8 kB / 482.9 MB, free: 2.055 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.1131, allocations: 0 / 482.9 MB, free: 2.055 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005369/0.1137, allocations: 438.8 kB / 483.4 MB, free: 1.578 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.1137, allocations: 8.875 kB / 483.4 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.108e-05/0.1138, allocations: 34.75 kB / 483.4 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.331e-05/0.1138, allocations: 16.75 kB / 483.4 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002351/0.114, allocations: 220.1 kB / 483.6 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.1141, allocations: 4.375 kB / 483.6 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.503e-05/0.1141, allocations: 7.938 kB / 483.6 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001725/0.1143, allocations: 81.53 kB / 483.7 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.1143, allocations: 0 / 483.7 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.1143, allocations: 4 kB / 483.7 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.1143, allocations: 0 / 483.7 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001302/0.1145, allocations: 47.95 kB / 483.8 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004733/0.1149, allocations: 320.6 kB / 484.1 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002894/0.1152, allocations: 86.55 kB / 484.2 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.537e-05/0.1153, allocations: 32.84 kB / 484.2 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.66e-05/0.1154, allocations: 4.141 kB / 484.2 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002194/0.1156, allocations: 83.41 kB / 484.3 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.422e-06/0.1156, allocations: 0 / 484.3 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008331/0.1164, allocations: 285.1 kB / 484.6 MB, free: 240 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.645e-05/0.1165, allocations: 59.34 kB / 484.6 MB, free: 168 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001988/0.1167, allocations: 202.7 kB / 484.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.1167, allocations: 25.7 kB / 484.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.526e-05/0.1168, allocations: 113.1 kB / 485 MB, free: 15.81 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.414e-05/0.1169, allocations: 39.45 kB / 485 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.105e-05/0.1169, allocations: 33.7 kB / 485 MB, free: 15.73 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.117, allocations: 322.8 kB / 485.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.004e-05/0.1171, allocations: 47.92 kB / 485.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.647e-05/0.1172, allocations: 57.69 kB / 485.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001746/0.1174, allocations: 97.7 kB / 485.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1174, allocations: 0 / 485.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.00028/0.1177, allocations: 153.4 kB / 485.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.1177, allocations: 7.938 kB / 485.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.1178, allocations: 4.031 kB / 485.7 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.1178, allocations: 4 kB / 485.7 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.672e-05/0.1179, allocations: 31.86 kB / 485.7 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.1179, allocations: 0 / 485.7 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.219e-05/0.1179, allocations: 8 kB / 485.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.334e-05/0.118, allocations: 4 kB / 485.7 MB, free: 14.98 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 (15): * Single equations (assignments): 15 * 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.0001262/0.1181, allocations: 132.9 kB / 485.9 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.439e-05/0.1181, allocations: 15.81 kB / 485.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.446e-05/0.1182, allocations: 25.52 kB / 485.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.1182, allocations: 7.938 kB / 485.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.1182, allocations: 0 / 485.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.1182, allocations: 0 / 485.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006442/0.1189, allocations: 487.9 kB / 486.4 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.1189, allocations: 7.984 kB / 486.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.641e-05/0.119, allocations: 12 kB / 486.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.119, allocations: 8.062 kB / 486.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.324e-05/0.119, allocations: 4 kB / 486.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.119, allocations: 4 kB / 486.4 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.119, allocations: 3.984 kB / 486.4 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003574/0.1194, allocations: 260.5 kB / 486.7 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.055e-05/0.1195, allocations: 88.92 kB / 486.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.361e-05/0.1195, allocations: 12 kB / 486.8 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.66e-05/0.1196, allocations: 0 / 486.8 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.096e-05/0.1196, allocations: 15.98 kB / 486.8 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.856e-05/0.1197, allocations: 4 kB / 486.8 MB, free: 13.81 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001412/0.1198, allocations: 144.3 kB / 487 MB, free: 13.67 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.1198, allocations: 0 / 487 MB, free: 13.67 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003183/0.1201, allocations: 35.98 kB / 487 MB, free: 13.63 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 (13): * Single equations (assignments): 11 * 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.001794/0.1219, allocations: 1.191 MB / 488.2 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002626/0.1222, allocations: 99.89 kB / 488.3 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.217e-06/0.1222, allocations: 8.062 kB / 488.3 MB, free: 12.49 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001202/0.1224, allocations: 47.92 kB / 488.3 MB, free: 12.44 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003785/0.1228, allocations: 31.97 kB / 488.4 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002639/0.1254, allocations: 1.881 MB / 490.2 MB, free: 10.44 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003462/0.1258, allocations: 0.7165 MB / 491 MB, free: 9.695 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001074/0.1259, allocations: 29.39 kB / 491 MB, free: 9.668 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.26e-05/0.126, allocations: 43.42 kB / 491 MB, free: 9.625 MB / 366.1 MB Notification: Performance of SimCode: time 1.563e-06/0.126, allocations: 3.938 kB / 491 MB, free: 9.621 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01682/0.1428, allocations: 3.794 MB / 494.8 MB, free: 5.926 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001953/0.1431, allocations: 236.2 kB / 495.1 MB, free: 5.676 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.829/1.972, allocations: 0 / 495.1 MB, free: 5.676 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test76_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test76.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches