Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001512/0.001512, allocations: 108.5 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.001147/0.001147, 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.319/1.319, allocations: 227.4 MB / 246.3 MB, free: 10.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2022/0.2022, allocations: 46.11 MB / 343.6 MB, free: 11.79 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 81.09 kB / 417 MB, free: 20.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1052, allocations: 62.44 MB / 479.4 MB, free: 5.613 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003008/0.1083, allocations: 1.886 MB / 481.3 MB, free: 3.711 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002281/0.1106, allocations: 1.666 MB / 482.9 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.158e-05/0.1107, allocations: 7.938 kB / 483 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002679/0.111, allocations: 43.83 kB / 483 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002977/0.1113, allocations: 115.6 kB / 483.1 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002357/0.1115, allocations: 87.78 kB / 483.2 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002229/0.1117, allocations: 195.4 kB / 483.4 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.311e-05/0.1118, allocations: 17.69 kB / 483.4 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001116/0.1119, allocations: 79.52 kB / 483.5 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002107/0.1121, allocations: 75.67 kB / 483.6 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.36e-05/0.1122, allocations: 4 kB / 483.6 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001768/0.1124, allocations: 107.9 kB / 483.7 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.311e-05/0.1124, allocations: 39.83 kB / 483.7 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.192e-05/0.1125, allocations: 59.55 kB / 483.8 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002782/0.1128, allocations: 219.6 kB / 484 MB, free: 1.004 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1128, allocations: 0 / 484 MB, free: 1.004 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.61e-07/0.1128, allocations: 0 / 484 MB, free: 1.004 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.1128, allocations: 0 / 484 MB, free: 1.004 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.0006648/0.1135, allocations: 498.5 kB / 484.5 MB, free: 480 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.1135, allocations: 12.88 kB / 484.5 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.703e-05/0.1136, allocations: 34.75 kB / 484.5 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.556e-05/0.1137, allocations: 20.66 kB / 484.5 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002886/0.1139, allocations: 252.9 kB / 484.8 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.114, allocations: 8.375 kB / 484.8 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/0.114, allocations: 3.938 kB / 484.8 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002297/0.1142, allocations: 105 kB / 484.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.066e-06/0.1142, allocations: 0 / 484.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.1143, allocations: 0 / 484.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.1143, allocations: 4 kB / 484.9 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001149/0.1144, allocations: 35.95 kB / 484.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002232/0.1146, allocations: 222.4 kB / 485.1 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002768/0.1149, allocations: 113.1 kB / 485.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.341e-05/0.115, allocations: 37.7 kB / 485.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.085e-05/0.115, allocations: 0 / 485.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002411/0.1153, allocations: 121 kB / 485.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 2.805e-06/0.1153, allocations: 0 / 485.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004735/0.1158, allocations: 173.3 kB / 485.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.02e-05/0.1159, allocations: 128.5 kB / 485.7 MB, free: 15.03 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002514/0.1161, allocations: 241.6 kB / 485.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.1162, allocations: 25.7 kB / 486 MB, free: 14.75 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.54e-05/0.1162, allocations: 116.1 kB / 486.1 MB, free: 14.63 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.468e-05/0.1163, allocations: 31.64 kB / 486.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.456e-05/0.1163, allocations: 21.72 kB / 486.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.1164, allocations: 338.8 kB / 486.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.613e-05/0.1165, allocations: 23.98 kB / 486.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001137/0.1167, allocations: 69.14 kB / 486.6 MB, free: 14.12 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001733/0.1168, allocations: 87.34 kB / 486.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.1169, allocations: 7.938 kB / 486.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002835/0.1171, allocations: 145.9 kB / 486.8 MB, free: 13.87 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.1172, allocations: 4 kB / 486.8 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.1172, allocations: 0 / 486.8 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.1172, allocations: 4 kB / 486.8 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.1173, allocations: 19.98 kB / 486.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.1173, allocations: 0 / 486.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.746e-05/0.1174, allocations: 15.98 kB / 486.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.1174, allocations: 8 kB / 486.8 MB, free: 13.82 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001114/0.1175, allocations: 142.3 kB / 487 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.974e-05/0.1176, allocations: 19.72 kB / 487 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.276e-05/0.1176, allocations: 16.98 kB / 487 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.1176, allocations: 4 kB / 487 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.1177, allocations: 0 / 487 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.1177, allocations: 0 / 487 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001762/0.1178, allocations: 237.4 kB / 487.3 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.1179, allocations: 0 / 487.3 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.019e-05/0.1179, allocations: 4 kB / 487.3 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.1179, allocations: 4 kB / 487.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.1179, allocations: 0 / 487.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.1179, allocations: 8 kB / 487.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.1179, allocations: 3.984 kB / 487.3 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003029/0.1182, allocations: 173.6 kB / 487.4 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.768e-05/0.1183, allocations: 88.92 kB / 487.5 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.043e-05/0.1183, allocations: 7.984 kB / 487.5 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.721e-05/0.1184, allocations: 11.94 kB / 487.5 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.31e-05/0.1185, allocations: 15.92 kB / 487.6 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/0.1185, allocations: 4 kB / 487.6 MB, free: 13 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001692/0.1187, allocations: 176.5 kB / 487.7 MB, free: 12.82 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1187, allocations: 4 kB / 487.7 MB, free: 12.82 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002809/0.119, allocations: 51.98 kB / 487.8 MB, free: 12.77 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001572/0.1205, allocations: 1.106 MB / 488.9 MB, free: 11.8 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002605/0.1208, allocations: 91.83 kB / 489 MB, free: 11.71 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1208, allocations: 0 / 489 MB, free: 11.71 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.1209, allocations: 39.92 kB / 489 MB, free: 11.67 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003689/0.1213, allocations: 55.81 kB / 489.1 MB, free: 11.62 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002119/0.1235, allocations: 1.898 MB / 491 MB, free: 9.613 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002579/0.1237, allocations: 0.7245 MB / 491.7 MB, free: 8.863 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.977e-05/0.1238, allocations: 25.53 kB / 491.7 MB, free: 8.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.1239, allocations: 63.39 kB / 491.8 MB, free: 8.777 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1239, allocations: 0 / 491.8 MB, free: 8.777 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01641/0.1404, allocations: 4.992 MB / 496.8 MB, free: 3.898 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001988/0.1406, allocations: 248.4 kB / 497 MB, free: 3.637 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.856/1.997, allocations: 0 / 497 MB, free: 3.637 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test81_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches