Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 104.8 kB / 16.4 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 192.3 kB / 17.34 MB, free: 5.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.484/1.484, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2192/0.2192, allocations: 43.52 MB / 314.1 MB, free: 448 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 77.47 kB / 441.4 MB, free: 6.09 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1175, allocations: 57.8 MB / 499.2 MB, free: 12.22 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003526/0.1211, allocations: 1.904 MB / 0.4893 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001466/0.1226, allocations: 0.839 MB / 0.4901 GB, free: 9.457 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.791e-05/0.1227, allocations: 4 kB / 0.4902 GB, free: 9.453 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003023/0.123, allocations: 43.7 kB / 0.4902 GB, free: 9.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002367/0.1233, allocations: 63.64 kB / 0.4903 GB, free: 9.348 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002797/0.1236, allocations: 107.7 kB / 0.4904 GB, free: 9.242 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002134/0.1238, allocations: 131.6 kB / 0.4905 GB, free: 9.113 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.1239, allocations: 37.39 kB / 0.4905 GB, free: 9.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.657e-05/0.1241, allocations: 55.78 kB / 0.4906 GB, free: 9.016 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.1242, allocations: 55.64 kB / 0.4906 GB, free: 8.961 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.183e-05/0.1242, allocations: 4 kB / 0.4906 GB, free: 8.957 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.1243, allocations: 51.92 kB / 0.4907 GB, free: 8.906 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.045e-05/0.1244, allocations: 19.92 kB / 0.4907 GB, free: 8.887 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.326e-05/0.1245, allocations: 55.61 kB / 0.4907 GB, free: 8.832 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003297/0.1248, allocations: 151.3 kB / 0.4909 GB, free: 8.684 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.247e-06/0.1248, allocations: 7.938 kB / 0.4909 GB, free: 8.676 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1248, allocations: 0 / 0.4909 GB, free: 8.676 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.1248, allocations: 0 / 0.4909 GB, free: 8.676 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007134/0.1255, allocations: 488.2 kB / 0.4914 GB, free: 8.145 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.1256, allocations: 11.89 kB / 0.4914 GB, free: 8.133 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.378e-05/0.1256, allocations: 42.75 kB / 0.4914 GB, free: 8.082 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.581e-05/0.1257, allocations: 16.83 kB / 0.4914 GB, free: 8.066 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003384/0.126, allocations: 224.1 kB / 0.4916 GB, free: 7.809 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.1261, allocations: 8.375 kB / 0.4917 GB, free: 7.801 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.7e-05/0.1261, allocations: 11.89 kB / 0.4917 GB, free: 7.789 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002316/0.1263, allocations: 108.2 kB / 0.4918 GB, free: 7.668 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.1263, allocations: 0 / 0.4918 GB, free: 7.668 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.1264, allocations: 4 kB / 0.4918 GB, free: 7.664 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.1264, allocations: 0 / 0.4918 GB, free: 7.664 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001581/0.1265, allocations: 51.91 kB / 0.4918 GB, free: 7.613 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006164/0.1272, allocations: 0.5048 MB / 0.4923 GB, free: 7.051 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003486/0.1275, allocations: 90.66 kB / 0.4924 GB, free: 6.953 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.945e-05/0.1276, allocations: 36.84 kB / 0.4924 GB, free: 6.914 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.1277, allocations: 4 kB / 0.4924 GB, free: 6.91 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002169/0.1279, allocations: 83.31 kB / 0.4925 GB, free: 6.816 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 3.617e-06/0.1279, allocations: 3.984 kB / 0.4925 GB, free: 6.812 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004212/0.1283, allocations: 149.4 kB / 0.4927 GB, free: 6.66 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.016e-05/0.1284, allocations: 55.39 kB / 0.4927 GB, free: 6.594 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001925/0.1286, allocations: 191.5 kB / 0.4929 GB, free: 6.395 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.959e-05/0.1286, allocations: 26.08 kB / 0.4929 GB, free: 6.363 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.487e-05/0.1287, allocations: 112.1 kB / 0.493 GB, free: 6.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.773e-05/0.1288, allocations: 35.72 kB / 0.4931 GB, free: 6.215 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.179e-05/0.1288, allocations: 25.72 kB / 0.4931 GB, free: 6.184 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.129, allocations: 330.8 kB / 0.4934 GB, free: 5.852 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.4e-05/0.1291, allocations: 27.98 kB / 0.4934 GB, free: 5.824 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001185/0.1292, allocations: 64.27 kB / 0.4935 GB, free: 5.746 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002092/0.1294, allocations: 100.1 kB / 0.4936 GB, free: 5.633 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.1294, allocations: 8 kB / 0.4936 GB, free: 5.625 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000278/0.1297, allocations: 133.4 kB / 0.4937 GB, free: 5.488 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.1297, allocations: 7.938 kB / 0.4937 GB, free: 5.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.1298, allocations: 0 / 0.4937 GB, free: 5.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.616e-05/0.1298, allocations: 7.938 kB / 0.4937 GB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.1299, allocations: 19.98 kB / 0.4938 GB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.1299, allocations: 4 kB / 0.4938 GB, free: 5.449 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.078e-05/0.13, allocations: 20.02 kB / 0.4938 GB, free: 5.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.13, allocations: 7.984 kB / 0.4938 GB, free: 5.422 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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.0001286/0.1302, allocations: 133.7 kB / 0.4939 GB, free: 5.281 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.844e-05/0.1302, allocations: 15.91 kB / 0.4939 GB, free: 5.266 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.973e-05/0.1302, allocations: 13.41 kB / 0.4939 GB, free: 5.246 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.1303, allocations: 3.938 kB / 0.494 GB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.1303, allocations: 4 kB / 0.494 GB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.1303, allocations: 3.984 kB / 0.494 GB, free: 5.234 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002217/0.1305, allocations: 205.6 kB / 0.4942 GB, free: 4.984 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1305, allocations: 4 kB / 0.4942 GB, free: 4.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.329e-05/0.1306, allocations: 8 kB / 0.4942 GB, free: 4.973 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.1306, allocations: 4 kB / 0.4942 GB, free: 4.969 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.688e-05/0.1306, allocations: 8 kB / 0.4942 GB, free: 4.961 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.1307, allocations: 3.938 kB / 0.4942 GB, free: 4.957 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.1307, allocations: 3.984 kB / 0.4942 GB, free: 4.953 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003918/0.1311, allocations: 188.9 kB / 0.4944 GB, free: 4.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.819e-05/0.1311, allocations: 92.98 kB / 0.4945 GB, free: 4.641 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.293e-05/0.1312, allocations: 0 / 0.4945 GB, free: 4.641 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.495e-05/0.1313, allocations: 11.92 kB / 0.4945 GB, free: 4.629 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.737e-05/0.1313, allocations: 8 kB / 0.4945 GB, free: 4.621 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.105e-05/0.1313, allocations: 7.984 kB / 0.4945 GB, free: 4.613 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001344/0.1315, allocations: 133.2 kB / 0.4946 GB, free: 4.484 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1315, allocations: 0 / 0.4946 GB, free: 4.484 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002362/0.1317, allocations: 27.98 kB / 0.4946 GB, free: 4.457 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.002054/0.1338, allocations: 1.026 MB / 0.4956 GB, free: 3.445 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002604/0.1341, allocations: 84.02 kB / 0.4957 GB, free: 3.363 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1341, allocations: 4.062 kB / 0.4957 GB, free: 3.359 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001057/0.1342, allocations: 31.98 kB / 0.4958 GB, free: 3.328 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003236/0.1345, allocations: 54.95 kB / 0.4958 GB, free: 3.281 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002225/0.1368, allocations: 1.74 MB / 0.4975 GB, free: 1.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003511/0.1371, allocations: 0.7162 MB / 0.4982 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.314e-05/0.1372, allocations: 13.42 kB / 0.4982 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.614e-05/0.1373, allocations: 39.42 kB / 0.4983 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1373, allocations: 0 / 0.4983 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02768/0.165, allocations: 3.762 MB / 0.5019 GB, free: 12.85 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.952/8.117, allocations: 3.938 kB / 0.5019 GB, free: 12.85 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test11_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test11.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches