Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.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.Test19,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test19,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test19",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001494/0.001494, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001459/0.001459, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.393/1.393, allocations: 227.4 MB / 246.8 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2147/0.2147, allocations: 46.1 MB / 344.1 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 77.88 kB / 417.7 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1125, allocations: 62.44 MB / 480.1 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.003036/0.1156, allocations: 1.719 MB / 481.9 MB, free: 3.406 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001591/0.1172, allocations: 1.025 MB / 482.9 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.788e-05/0.1173, allocations: 4 kB / 482.9 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000268/0.1176, allocations: 43.77 kB / 482.9 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003167/0.118, allocations: 91.61 kB / 483 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000218/0.1182, allocations: 75.66 kB / 483.1 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001753/0.1184, allocations: 107.6 kB / 483.2 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.48e-05/0.1185, allocations: 19.97 kB / 483.2 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.798e-05/0.1186, allocations: 43.78 kB / 483.3 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.873e-05/0.1187, allocations: 27.8 kB / 483.3 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.1187, allocations: 4 kB / 483.3 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.1188, allocations: 47.97 kB / 483.3 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.041e-05/0.1188, allocations: 19.92 kB / 483.4 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.3e-05/0.1189, allocations: 39.73 kB / 483.4 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001878/0.1191, allocations: 111.9 kB / 483.5 MB, free: 1.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.1191, allocations: 4 kB / 483.5 MB, free: 1.746 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1191, allocations: 4 kB / 483.5 MB, free: 1.742 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.257e-06/0.1191, allocations: 0 / 483.5 MB, free: 1.742 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004976/0.1196, allocations: 414.9 kB / 483.9 MB, free: 1.289 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.1197, allocations: 12.03 kB / 483.9 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.044e-05/0.1197, allocations: 30.75 kB / 484 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.794e-05/0.1198, allocations: 8.844 kB / 484 MB, free: 1.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002175/0.12, allocations: 216.7 kB / 484.2 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.12, allocations: 4.375 kB / 484.2 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.857e-05/0.12, allocations: 3.938 kB / 484.2 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/0.1202, allocations: 57.67 kB / 484.2 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.1202, allocations: 7.844 kB / 484.3 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.1202, allocations: 0 / 484.3 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.1202, allocations: 4 kB / 484.3 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.208e-05/0.1203, allocations: 19.98 kB / 484.3 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003278/0.1206, allocations: 284.9 kB / 484.6 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000163/0.1208, allocations: 62.61 kB / 484.6 MB, free: 492 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.915e-05/0.1209, allocations: 24.84 kB / 484.6 MB, free: 464 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.1209, allocations: 0 / 484.6 MB, free: 464 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001847/0.1211, allocations: 71.39 kB / 484.7 MB, free: 380 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.1211, allocations: 0 / 484.7 MB, free: 380 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005292/0.1216, allocations: 181.2 kB / 484.9 MB, free: 192 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.086e-05/0.1217, allocations: 51.41 kB / 484.9 MB, free: 128 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000187/0.1219, allocations: 210.2 kB / 485.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.1219, allocations: 25.7 kB / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.272e-05/0.122, allocations: 96.14 kB / 485.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.721e-05/0.122, allocations: 23.7 kB / 485.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.788e-05/0.1221, allocations: 21.72 kB / 485.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.1222, allocations: 330.8 kB / 485.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.478e-05/0.1222, allocations: 16 kB / 485.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.285e-05/0.1223, allocations: 41.64 kB / 485.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001143/0.1224, allocations: 57.7 kB / 485.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1224, allocations: 0 / 485.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001809/0.1226, allocations: 105.5 kB / 485.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.1226, allocations: 4 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.1227, allocations: 4.109 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.1227, allocations: 4 kB / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.201e-05/0.1228, allocations: 15.98 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.1228, allocations: 3.984 kB / 485.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.655e-05/0.1228, allocations: 7.938 kB / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-06/0.1228, allocations: 0 / 485.9 MB, free: 15.12 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 (10): * Single equations (assignments): 10 * 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.0001015/0.1229, allocations: 129.8 kB / 486 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.643e-05/0.123, allocations: 11.84 kB / 486 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.242e-05/0.123, allocations: 21.33 kB / 486 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.123, allocations: 8 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.123, allocations: 0 / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.1231, allocations: 7.922 kB / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004173/0.1235, allocations: 395.2 kB / 486.4 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.1235, allocations: 0 / 486.4 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.43e-05/0.1235, allocations: 11.98 kB / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.616e-06/0.1235, allocations: 3.938 kB / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.1236, allocations: 0 / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.1236, allocations: 8.031 kB / 486.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1236, allocations: 0 / 486.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002223/0.1238, allocations: 200.3 kB / 486.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.32e-05/0.1238, allocations: 88.92 kB / 486.8 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.609e-05/0.1239, allocations: 4.312 kB / 486.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.046e-05/0.124, allocations: 15.92 kB / 486.8 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.293e-05/0.124, allocations: 8 kB / 486.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.385e-05/0.124, allocations: 4.188 kB / 486.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001258/0.1242, allocations: 148.2 kB / 486.9 MB, free: 13.97 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1242, allocations: 7.938 kB / 486.9 MB, free: 13.96 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002635/0.1244, allocations: 23.98 kB / 487 MB, free: 13.94 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: 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 (8): * Single equations (assignments): 6 * 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.001407/0.1258, allocations: 1.081 MB / 488 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002194/0.1261, allocations: 67.84 kB / 488.1 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.1261, allocations: 8.062 kB / 488.1 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.841e-05/0.1262, allocations: 36.06 kB / 488.1 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.1265, allocations: 27.12 kB / 488.2 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002062/0.1286, allocations: 1.642 MB / 489.8 MB, free: 11.13 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/0.1289, allocations: 0.708 MB / 490.5 MB, free: 10.39 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.726e-05/0.129, allocations: 16.88 kB / 490.5 MB, free: 10.38 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.132e-05/0.1291, allocations: 35.42 kB / 490.6 MB, free: 10.34 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1291, allocations: 0 / 490.6 MB, free: 10.34 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02198/0.1511, allocations: 3.388 MB / 494 MB, free: 7.043 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.631/7.782, allocations: 15.92 kB / 494 MB, free: 7.027 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test19_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test19.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches