Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test30",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.0009134/0.0009134, allocations: 96.75 kB / 17.35 MB, free: 6.344 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.001092/0.001092, allocations: 171.3 kB / 18.25 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.304/1.304, allocations: 223.3 MB / 242.3 MB, free: 14.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1886/0.1886, allocations: 44.24 MB / 337.7 MB, free: 2.422 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003399/0.00034, allocations: 12.86 kB / 410.4 MB, free: 27.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.109, allocations: 61.92 MB / 472.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.002157/0.1112, allocations: 1.421 MB / 473.8 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001419/0.1126, allocations: 0.8421 MB / 474.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/0.1128, allocations: 0 / 474.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000388/0.1132, allocations: 35.89 kB / 474.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002544/0.1135, allocations: 43.83 kB / 474.7 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003735/0.1139, allocations: 94.52 kB / 474.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002014/0.1141, allocations: 91.7 kB / 474.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.1142, allocations: 20.22 kB / 474.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.1143, allocations: 35.78 kB / 474.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.716e-05/0.1144, allocations: 23.86 kB / 475 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.805e-05/0.1144, allocations: 0 / 475 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001355/0.1146, allocations: 47.91 kB / 475 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.921e-05/0.1146, allocations: 19.92 kB / 475 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.108e-05/0.1147, allocations: 57.45 kB / 475.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002196/0.1149, allocations: 111.9 kB / 475.2 MB, free: 10.35 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.115, allocations: 0 / 475.2 MB, free: 10.35 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.115, allocations: 0 / 475.2 MB, free: 10.35 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.115, allocations: 7.938 kB / 475.2 MB, free: 10.34 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.0006007/0.1156, allocations: 393.4 kB / 475.6 MB, free: 9.914 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.1156, allocations: 8.031 kB / 475.6 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.699e-05/0.1157, allocations: 34.75 kB / 475.6 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.112e-05/0.1157, allocations: 12.75 kB / 475.6 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002573/0.116, allocations: 212 kB / 475.9 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.116, allocations: 4.375 kB / 475.9 MB, free: 9.602 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.327e-05/0.1161, allocations: 7.938 kB / 475.9 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001671/0.1162, allocations: 57.67 kB / 475.9 MB, free: 9.531 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.1163, allocations: 0 / 475.9 MB, free: 9.531 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.1163, allocations: 0 / 475.9 MB, free: 9.531 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.1163, allocations: 0 / 475.9 MB, free: 9.531 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.013e-05/0.1164, allocations: 19.98 kB / 475.9 MB, free: 9.512 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004164/0.1168, allocations: 284.8 kB / 476.2 MB, free: 9.184 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001684/0.117, allocations: 66.67 kB / 476.3 MB, free: 9.109 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.546e-05/0.117, allocations: 20.84 kB / 476.3 MB, free: 9.086 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.1171, allocations: 0 / 476.3 MB, free: 9.086 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001838/0.1173, allocations: 75.27 kB / 476.4 MB, free: 9 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.1173, allocations: 0 / 476.4 MB, free: 9 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005537/0.1178, allocations: 169.3 kB / 476.5 MB, free: 8.828 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/0.1179, allocations: 59.34 kB / 476.6 MB, free: 8.758 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001731/0.1181, allocations: 190.1 kB / 476.8 MB, free: 8.562 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.1181, allocations: 25.7 kB / 476.8 MB, free: 8.531 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.148e-05/0.1181, allocations: 108.1 kB / 476.9 MB, free: 8.422 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.205e-05/0.1182, allocations: 27.69 kB / 476.9 MB, free: 8.395 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.87e-05/0.1182, allocations: 13.72 kB / 477 MB, free: 8.375 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.1183, allocations: 318.8 kB / 477.3 MB, free: 8.055 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.699e-05/0.1184, allocations: 23.98 kB / 477.3 MB, free: 8.031 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.657e-05/0.1185, allocations: 41.7 kB / 477.3 MB, free: 7.984 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001084/0.1186, allocations: 57.66 kB / 477.4 MB, free: 7.922 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.1186, allocations: 0 / 477.4 MB, free: 7.922 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001773/0.1188, allocations: 97.48 kB / 477.5 MB, free: 7.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.1188, allocations: 8 kB / 477.5 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.1188, allocations: 0 / 477.5 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.1188, allocations: 4.031 kB / 477.5 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.186e-05/0.1189, allocations: 23.92 kB / 477.5 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.1189, allocations: 192 / 477.5 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.333e-05/0.119, allocations: 7.938 kB / 477.5 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.816e-06/0.119, allocations: 7.938 kB / 477.5 MB, free: 7.77 MB / 350.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 9.383e-05/0.1191, allocations: 117.8 kB / 477.7 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.23e-05/0.1191, allocations: 15.89 kB / 477.7 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.502e-05/0.1192, allocations: 12.72 kB / 477.7 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.1192, allocations: 3.984 kB / 477.7 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.1192, allocations: 4 kB / 477.7 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.1192, allocations: 3.938 kB / 477.7 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004373/0.1197, allocations: 395.5 kB / 478.1 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.1197, allocations: 0 / 478.1 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.613e-05/0.1197, allocations: 11.98 kB / 478.1 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.1197, allocations: 3.938 kB / 478.1 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.1198, allocations: 8 kB / 478.1 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.1198, allocations: 0 / 478.1 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1198, allocations: 7.969 kB / 478.1 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002243/0.12, allocations: 200.2 kB / 478.3 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.361e-05/0.1201, allocations: 96.94 kB / 478.4 MB, free: 6.797 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.333e-05/0.1201, allocations: 3.938 kB / 478.4 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.08e-05/0.1202, allocations: 4 kB / 478.4 MB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.331e-05/0.1202, allocations: 11.98 kB / 478.4 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.1203, allocations: 8 kB / 478.4 MB, free: 6.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000121/0.1204, allocations: 143.2 kB / 478.6 MB, free: 6.629 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1204, allocations: 0 / 478.6 MB, free: 6.629 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000265/0.1207, allocations: 24 kB / 478.6 MB, free: 6.605 MB / 350.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.001472/0.1221, allocations: 1.098 MB / 479.7 MB, free: 5.668 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000173/0.1223, allocations: 67.84 kB / 479.8 MB, free: 5.602 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.1223, allocations: 4.062 kB / 479.8 MB, free: 5.598 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.58e-05/0.1224, allocations: 23.98 kB / 479.8 MB, free: 5.574 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003415/0.1228, allocations: 23.98 kB / 479.8 MB, free: 5.551 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001678/0.1244, allocations: 1.646 MB / 481.5 MB, free: 3.805 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002711/0.1247, allocations: 0.7043 MB / 482.2 MB, free: 3.074 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.778e-05/0.1248, allocations: 20.86 kB / 482.2 MB, free: 3.055 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.828e-05/0.1249, allocations: 35.42 kB / 482.2 MB, free: 3.02 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1249, allocations: 0 / 482.2 MB, free: 3.02 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01308/0.138, allocations: 2.95 MB / 485.2 MB, free: 204 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000192/0.1382, allocations: 231.8 kB / 485.4 MB, free: 15.95 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.722/1.86, allocations: 0 / 485.4 MB, free: 15.95 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test30_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test30.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches