Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.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.Test83,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test83",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.0009356/0.0009356, allocations: 103 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 184.1 kB / 16.92 MB, free: 6.914 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.345/1.345, allocations: 205.4 MB / 223.1 MB, free: 5.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3402/0.3402, allocations: 43.58 MB / 315 MB, free: 9.094 MB / 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.0004659/0.000466, allocations: 16 kB / 384.7 MB, free: 7.77 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1108, allocations: 58.86 MB / 443.6 MB, free: 12.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.002212/0.1131, allocations: 1.653 MB / 445.2 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00142/0.1145, allocations: 0.925 MB / 446.1 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.521e-05/0.1146, allocations: 7.938 kB / 446.1 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006044/0.1153, allocations: 183.6 kB / 446.3 MB, free: 10.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002781/0.1155, allocations: 143.5 kB / 446.5 MB, free: 9.875 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004178/0.116, allocations: 179.7 kB / 446.6 MB, free: 9.699 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002791/0.1163, allocations: 247.3 kB / 446.9 MB, free: 9.457 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.1164, allocations: 29.64 kB / 446.9 MB, free: 9.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/0.1165, allocations: 95.55 kB / 447 MB, free: 9.336 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001352/0.1166, allocations: 99.53 kB / 447.1 MB, free: 9.238 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.1167, allocations: 4 kB / 447.1 MB, free: 9.234 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00012/0.1168, allocations: 47.97 kB / 447.1 MB, free: 9.188 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.166e-05/0.1169, allocations: 51.77 kB / 447.2 MB, free: 9.137 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.881e-05/0.117, allocations: 101.2 kB / 447.3 MB, free: 9.031 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002574/0.1172, allocations: 223.4 kB / 447.5 MB, free: 8.812 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.1172, allocations: 0 / 447.5 MB, free: 8.812 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1173, allocations: 0 / 447.5 MB, free: 8.812 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.1173, allocations: 0 / 447.5 MB, free: 8.812 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007101/0.118, allocations: 0.5078 MB / 448 MB, free: 8.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.118, allocations: 12.03 kB / 448 MB, free: 8.238 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.166e-05/0.1181, allocations: 34.75 kB / 448.1 MB, free: 8.195 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.276e-05/0.1181, allocations: 32.64 kB / 448.1 MB, free: 8.164 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003251/0.1185, allocations: 275.6 kB / 448.4 MB, free: 7.855 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.1185, allocations: 4.375 kB / 448.4 MB, free: 7.852 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.863e-05/0.1185, allocations: 11.94 kB / 448.4 MB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000215/0.1187, allocations: 104.2 kB / 448.5 MB, free: 7.723 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.1188, allocations: 0 / 448.5 MB, free: 7.723 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.1188, allocations: 0 / 448.5 MB, free: 7.723 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.1188, allocations: 4 kB / 448.5 MB, free: 7.719 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001192/0.1189, allocations: 43.97 kB / 448.5 MB, free: 7.676 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004759/0.1194, allocations: 377.5 kB / 448.9 MB, free: 7.254 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002721/0.1197, allocations: 125.3 kB / 449 MB, free: 7.113 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.325e-05/0.1198, allocations: 41.64 kB / 449.1 MB, free: 7.066 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.19e-05/0.1198, allocations: 4 kB / 449.1 MB, free: 7.062 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000209/0.12, allocations: 121 kB / 449.2 MB, free: 6.926 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.12, allocations: 0 / 449.2 MB, free: 6.926 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004164/0.1205, allocations: 181.3 kB / 449.4 MB, free: 6.742 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.252e-05/0.1205, allocations: 102.8 kB / 449.5 MB, free: 6.617 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003626/0.1209, allocations: 334.9 kB / 449.8 MB, free: 6.281 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/0.1209, allocations: 29.7 kB / 449.8 MB, free: 6.246 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.121, allocations: 152 kB / 450 MB, free: 6.094 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.213e-05/0.1211, allocations: 19.72 kB / 450 MB, free: 6.074 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.323e-05/0.1211, allocations: 25.64 kB / 450 MB, free: 6.043 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.1213, allocations: 338.8 kB / 450.3 MB, free: 5.703 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.189e-05/0.1214, allocations: 35.92 kB / 450.4 MB, free: 5.668 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001143/0.1215, allocations: 77.06 kB / 450.5 MB, free: 5.574 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001858/0.1217, allocations: 99.39 kB / 450.6 MB, free: 5.465 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.1217, allocations: 0 / 450.6 MB, free: 5.465 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002713/0.122, allocations: 145.3 kB / 450.7 MB, free: 5.316 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.122, allocations: 4 kB / 450.7 MB, free: 5.312 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.122, allocations: 0 / 450.7 MB, free: 5.312 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.248e-05/0.122, allocations: 8.062 kB / 450.7 MB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.1222, allocations: 28.55 kB / 450.7 MB, free: 5.277 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.136e-06/0.1222, allocations: 4 kB / 450.7 MB, free: 5.273 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.612e-05/0.1223, allocations: 11.84 kB / 450.7 MB, free: 5.262 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.1223, allocations: 4 kB / 450.8 MB, free: 5.258 MB / 382.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: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * 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.0001465/0.1224, allocations: 165.8 kB / 450.9 MB, free: 5.086 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.8e-05/0.1225, allocations: 19.72 kB / 450.9 MB, free: 5.066 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.817e-05/0.1226, allocations: 29.73 kB / 451 MB, free: 5.031 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.1226, allocations: 4 kB / 451 MB, free: 5.027 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.1226, allocations: 4 kB / 451 MB, free: 5.023 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.1226, allocations: 3.938 kB / 451 MB, free: 5.02 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000226/0.1228, allocations: 245.6 kB / 451.2 MB, free: 4.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.1228, allocations: 0 / 451.2 MB, free: 4.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.84e-05/0.1229, allocations: 15.94 kB / 451.2 MB, free: 4.715 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1229, allocations: 3.938 kB / 451.2 MB, free: 4.711 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/0.1229, allocations: 7.984 kB / 451.2 MB, free: 4.703 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1229, allocations: 0 / 451.2 MB, free: 4.703 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1229, allocations: 0 / 451.2 MB, free: 4.703 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002981/0.1232, allocations: 177.6 kB / 451.4 MB, free: 4.508 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.614e-05/0.1233, allocations: 104.8 kB / 451.5 MB, free: 4.387 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.441e-05/0.1233, allocations: 8 kB / 451.5 MB, free: 4.379 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.022e-05/0.1234, allocations: 7.984 kB / 451.5 MB, free: 4.371 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.496e-05/0.1235, allocations: 11.92 kB / 451.5 MB, free: 4.359 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.529e-05/0.1235, allocations: 12 kB / 451.6 MB, free: 4.348 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002243/0.1237, allocations: 249.9 kB / 451.8 MB, free: 4.109 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1237, allocations: 0 / 451.8 MB, free: 4.109 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002443/0.124, allocations: 39.98 kB / 451.8 MB, free: 4.07 MB / 382.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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * 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.001421/0.1254, allocations: 1.033 MB / 452.9 MB, free: 3.043 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002494/0.1257, allocations: 95.83 kB / 453 MB, free: 2.949 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1257, allocations: 0 / 453 MB, free: 2.949 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000109/0.1258, allocations: 47.92 kB / 453 MB, free: 2.902 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003889/0.1262, allocations: 60.77 kB / 453.1 MB, free: 2.836 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002708/0.1289, allocations: 2.34 MB / 455.4 MB, free: 400 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1727/0.3016, allocations: 0.7349 MB / 456.1 MB, free: 45.79 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001537/0.3018, allocations: 29.22 kB / 456.2 MB, free: 45.79 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/0.302, allocations: 65.31 kB / 456.2 MB, free: 45.79 MB / 382.1 MB Notification: Performance of SimCode: time 7.01e-07/0.302, allocations: 0.8125 kB / 456.2 MB, free: 45.79 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01343/0.3154, allocations: 5.047 MB / 461.3 MB, free: 45.43 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001415/0.3156, allocations: 245.8 kB / 461.5 MB, free: 45.17 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.666/1.981, allocations: 2.297 kB / 461.5 MB, free: 45.17 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test83_fmu --startTime=1 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test83.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches