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.001282/0.001282, allocations: 102.3 kB / 16.27 MB, free: 6.348 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.001512/0.001512, allocations: 192.3 kB / 17.2 MB, free: 5.945 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.535/1.535, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2095/0.2095, allocations: 43.52 MB / 313.9 MB, free: 0.5312 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.001813/0.001813, allocations: 70.72 kB / 382.8 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1063, allocations: 57.79 MB / 440.6 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.003796/0.1101, allocations: 1.924 MB / 442.6 MB, free: 4.867 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001844/0.112, allocations: 0.9597 MB / 443.5 MB, free: 3.898 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002571/0.1123, allocations: 7.938 kB / 443.5 MB, free: 3.891 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009952/0.1133, allocations: 202.7 kB / 443.7 MB, free: 3.695 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005041/0.1138, allocations: 151.4 kB / 443.9 MB, free: 3.547 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005868/0.1144, allocations: 202.7 kB / 444.1 MB, free: 3.352 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003718/0.1148, allocations: 251.3 kB / 444.3 MB, free: 3.105 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.1149, allocations: 17.97 kB / 444.3 MB, free: 3.086 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000181/0.1151, allocations: 107.5 kB / 444.4 MB, free: 2.98 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001459/0.1152, allocations: 103.5 kB / 444.5 MB, free: 2.879 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.324e-05/0.1153, allocations: 16 kB / 444.6 MB, free: 2.863 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001623/0.1155, allocations: 55.95 kB / 444.6 MB, free: 2.809 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.136e-05/0.1155, allocations: 55.83 kB / 444.7 MB, free: 2.754 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.292e-05/0.1156, allocations: 91.41 kB / 444.7 MB, free: 2.664 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002837/0.1159, allocations: 235.2 kB / 445 MB, free: 2.434 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.1159, allocations: 0 / 445 MB, free: 2.434 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.116, allocations: 0 / 445 MB, free: 2.434 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.401e-05/0.116, allocations: 0 / 445 MB, free: 2.434 MB / 318.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.0008256/0.1168, allocations: 0.535 MB / 445.5 MB, free: 1.844 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.1169, allocations: 19.83 kB / 445.5 MB, free: 1.824 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.276e-05/0.1169, allocations: 38.73 kB / 445.6 MB, free: 1.777 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.582e-05/0.117, allocations: 20.66 kB / 445.6 MB, free: 1.758 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003228/0.1173, allocations: 287.5 kB / 445.9 MB, free: 1.438 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.1173, allocations: 4.375 kB / 445.9 MB, free: 1.434 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.677e-05/0.1174, allocations: 7.938 kB / 445.9 MB, free: 1.426 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002396/0.1176, allocations: 100.2 kB / 446 MB, free: 1.312 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.1176, allocations: 4 kB / 446 MB, free: 1.309 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.793e-05/0.1177, allocations: 7.922 kB / 446 MB, free: 1.301 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.1177, allocations: 4 kB / 446 MB, free: 1.297 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001282/0.1178, allocations: 35.98 kB / 446 MB, free: 1.262 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004796/0.1183, allocations: 385.4 kB / 446.4 MB, free: 0.832 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000263/0.1186, allocations: 121.2 kB / 446.5 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.557e-05/0.1187, allocations: 41.7 kB / 446.6 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.111e-05/0.1187, allocations: 4 kB / 446.6 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001988/0.1189, allocations: 120.9 kB / 446.7 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 1.363e-06/0.1189, allocations: 0 / 446.7 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004108/0.1193, allocations: 177.3 kB / 446.9 MB, free: 336 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.026e-05/0.1194, allocations: 102.8 kB / 447 MB, free: 208 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003093/0.1197, allocations: 335.2 kB / 447.3 MB, free: 15.86 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.1197, allocations: 25.7 kB / 447.3 MB, free: 15.83 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.779e-05/0.1198, allocations: 144.1 kB / 447.5 MB, free: 15.68 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.726e-05/0.1199, allocations: 31.55 kB / 447.5 MB, free: 15.65 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.257e-05/0.1199, allocations: 29.72 kB / 447.5 MB, free: 15.62 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.1201, allocations: 342.8 kB / 447.9 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.196e-05/0.1202, allocations: 27.98 kB / 447.9 MB, free: 15.25 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001182/0.1203, allocations: 84.64 kB / 448 MB, free: 15.15 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001878/0.1205, allocations: 99.84 kB / 448.1 MB, free: 15.04 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.1205, allocations: 0 / 448.1 MB, free: 15.04 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000303/0.1208, allocations: 149.3 kB / 448.2 MB, free: 14.89 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.1208, allocations: 8.094 kB / 448.2 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.1208, allocations: 0 / 448.2 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.1209, allocations: 4 kB / 448.2 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.121, allocations: 19.98 kB / 448.2 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.121, allocations: 0 / 448.2 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.653e-05/0.1211, allocations: 15.92 kB / 448.3 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.1211, allocations: 8 kB / 448.3 MB, free: 14.83 MB / 334.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.00013/0.1213, allocations: 157.6 kB / 448.4 MB, free: 14.67 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.836e-05/0.1213, allocations: 23.72 kB / 448.4 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.737e-05/0.1214, allocations: 29.73 kB / 448.5 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1214, allocations: 4 kB / 448.5 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.1214, allocations: 0 / 448.5 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.1214, allocations: 3.938 kB / 448.5 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002123/0.1216, allocations: 253.4 kB / 448.7 MB, free: 14.31 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.1216, allocations: 3.984 kB / 448.7 MB, free: 14.31 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.331e-05/0.1217, allocations: 4 kB / 448.7 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.1217, allocations: 7.984 kB / 448.7 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.1217, allocations: 0 / 448.7 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.1217, allocations: 0 / 448.7 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.664e-06/0.1217, allocations: 8.125 kB / 448.7 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003063/0.122, allocations: 193.5 kB / 448.9 MB, free: 14.08 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.689e-05/0.1221, allocations: 88.92 kB / 449 MB, free: 13.97 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.664e-05/0.1221, allocations: 4 kB / 449 MB, free: 13.97 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.516e-05/0.1222, allocations: 15.92 kB / 449 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.758e-05/0.1223, allocations: 11.92 kB / 449.1 MB, free: 13.94 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/0.1223, allocations: 8 kB / 449.1 MB, free: 13.93 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002288/0.1225, allocations: 249.9 kB / 449.3 MB, free: 13.69 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1225, allocations: 0 / 449.3 MB, free: 13.69 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002738/0.1228, allocations: 43.89 kB / 449.3 MB, free: 13.65 MB / 334.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.001496/0.1243, allocations: 1.034 MB / 450.4 MB, free: 12.67 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002815/0.1246, allocations: 91.89 kB / 450.5 MB, free: 12.58 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.1246, allocations: 3.938 kB / 450.5 MB, free: 12.58 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001184/0.1247, allocations: 47.92 kB / 450.5 MB, free: 12.53 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004239/0.1252, allocations: 62.8 kB / 450.6 MB, free: 12.47 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002884/0.1281, allocations: 2.298 MB / 452.9 MB, free: 10.07 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003705/0.1285, allocations: 0.7475 MB / 453.6 MB, free: 9.297 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001121/0.1286, allocations: 38.42 kB / 453.7 MB, free: 9.262 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/0.1287, allocations: 63.42 kB / 453.7 MB, free: 9.199 MB / 334.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1287, allocations: 0 / 453.7 MB, free: 9.199 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02345/0.1522, allocations: 5.513 MB / 459.2 MB, free: 3.66 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.714/7.867, allocations: 7.375 kB / 459.2 MB, free: 3.656 MB / 334.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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches