Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.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.Test52,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test52,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test52",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.0007868/0.0007868, allocations: 94.77 kB / 17.35 MB, free: 6.371 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.0009485/0.0009486, allocations: 177.1 kB / 18.26 MB, free: 5.523 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.33/1.33, allocations: 223.3 MB / 242.3 MB, free: 14.48 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.2087/0.2087, allocations: 44.24 MB / 337.7 MB, free: 2.441 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003258/0.0003259, allocations: 8 kB / 410.4 MB, free: 27.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.111, allocations: 61.92 MB / 472.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.002048/0.1131, allocations: 1.425 MB / 473.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001365/0.1145, allocations: 0.8342 MB / 474.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.298e-05/0.1146, allocations: 8 kB / 474.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003117/0.115, allocations: 43.88 kB / 474.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002008/0.1152, allocations: 51.77 kB / 474.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003328/0.1155, allocations: 91.81 kB / 474.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001837/0.1157, allocations: 95.69 kB / 474.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.1158, allocations: 20.22 kB / 474.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.972e-05/0.1159, allocations: 35.8 kB / 475 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.099e-05/0.116, allocations: 35.77 kB / 475 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.1161, allocations: 0 / 475 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001254/0.1162, allocations: 39.98 kB / 475 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.095e-05/0.1163, allocations: 23.92 kB / 475.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.511e-05/0.1163, allocations: 61.44 kB / 475.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000203/0.1165, allocations: 115.8 kB / 475.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1166, allocations: 4 kB / 475.2 MB, free: 10.33 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.1166, allocations: 0 / 475.2 MB, free: 10.33 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.1166, allocations: 7.938 kB / 475.2 MB, free: 10.32 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.000565/0.1172, allocations: 407 kB / 475.6 MB, free: 9.879 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.1172, allocations: 12.03 kB / 475.7 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.925e-05/0.1173, allocations: 34.75 kB / 475.7 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.031e-05/0.1173, allocations: 12.75 kB / 475.7 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000245/0.1176, allocations: 212.5 kB / 475.9 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.1176, allocations: 4.375 kB / 475.9 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.214e-05/0.1176, allocations: 11.94 kB / 475.9 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.1178, allocations: 49.67 kB / 476 MB, free: 9.496 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.1178, allocations: 0 / 476 MB, free: 9.496 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.1178, allocations: 8 kB / 476 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.1178, allocations: 0 / 476 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.187e-05/0.1179, allocations: 19.92 kB / 476 MB, free: 9.469 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003899/0.1183, allocations: 296.8 kB / 476.3 MB, free: 9.129 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001699/0.1185, allocations: 62.69 kB / 476.4 MB, free: 9.059 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.282e-05/0.1185, allocations: 20.84 kB / 476.4 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.66e-05/0.1186, allocations: 4 kB / 476.4 MB, free: 9.031 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000197/0.1188, allocations: 75.23 kB / 476.5 MB, free: 8.945 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.1188, allocations: 0 / 476.5 MB, free: 8.945 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005585/0.1193, allocations: 173.2 kB / 476.6 MB, free: 8.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.1194, allocations: 55.41 kB / 476.7 MB, free: 8.703 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002141/0.1196, allocations: 226.6 kB / 476.9 MB, free: 8.465 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.1196, allocations: 29.7 kB / 476.9 MB, free: 8.43 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.645e-05/0.1197, allocations: 108.1 kB / 477 MB, free: 8.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.1198, allocations: 23.66 kB / 477.1 MB, free: 8.297 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.698e-05/0.1198, allocations: 13.72 kB / 477.1 MB, free: 8.277 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.1199, allocations: 326.8 kB / 477.4 MB, free: 7.949 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.83e-05/0.12, allocations: 23.98 kB / 477.4 MB, free: 7.926 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.997e-05/0.1201, allocations: 37.7 kB / 477.4 MB, free: 7.883 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001111/0.1202, allocations: 61.62 kB / 477.5 MB, free: 7.816 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.1202, allocations: 0 / 477.5 MB, free: 7.816 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001806/0.1204, allocations: 105.4 kB / 477.6 MB, free: 7.707 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.1204, allocations: 8.031 kB / 477.6 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.1204, allocations: 0 / 477.6 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.1204, allocations: 0 / 477.6 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.023e-05/0.1205, allocations: 19.98 kB / 477.6 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.1205, allocations: 352 / 477.6 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.999e-05/0.1206, allocations: 7.938 kB / 477.6 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.1206, allocations: 3.938 kB / 477.6 MB, free: 7.668 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 0.0001134/0.1207, allocations: 129.8 kB / 477.8 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.369e-05/0.1208, allocations: 19.75 kB / 477.8 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.732e-05/0.1208, allocations: 25.38 kB / 477.8 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.1208, allocations: 4 kB / 477.8 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.1208, allocations: 0 / 477.8 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.1208, allocations: 3.938 kB / 477.8 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004326/0.1213, allocations: 391.3 kB / 478.2 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.1213, allocations: 3.984 kB / 478.2 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.492e-05/0.1213, allocations: 15.94 kB / 478.2 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.1213, allocations: 3.938 kB / 478.2 MB, free: 7.016 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.1214, allocations: 8.031 kB / 478.2 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1214, allocations: 0 / 478.2 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1214, allocations: 0 / 478.2 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002171/0.1216, allocations: 200.2 kB / 478.4 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.488e-05/0.1217, allocations: 92.98 kB / 478.5 MB, free: 6.684 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.48e-05/0.1217, allocations: 7.938 kB / 478.5 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.12e-05/0.1218, allocations: 8 kB / 478.5 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.725e-05/0.1218, allocations: 7.984 kB / 478.5 MB, free: 6.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.907e-05/0.1218, allocations: 4 kB / 478.6 MB, free: 6.656 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001446/0.122, allocations: 176.2 kB / 478.7 MB, free: 6.484 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.122, allocations: 0 / 478.7 MB, free: 6.484 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002643/0.1223, allocations: 27.98 kB / 478.8 MB, free: 6.457 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.001491/0.1238, allocations: 1.101 MB / 479.9 MB, free: 5.516 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001976/0.124, allocations: 71.84 kB / 479.9 MB, free: 5.445 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.124, allocations: 0 / 479.9 MB, free: 5.445 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.785e-05/0.1241, allocations: 27.92 kB / 480 MB, free: 5.418 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003827/0.1245, allocations: 28.3 kB / 480 MB, free: 5.391 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002258/0.1267, allocations: 1.735 MB / 481.7 MB, free: 3.57 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003271/0.1271, allocations: 0.7082 MB / 482.4 MB, free: 2.836 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.996e-05/0.1272, allocations: 16.88 kB / 482.4 MB, free: 2.82 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.359e-05/0.1272, allocations: 39.42 kB / 482.5 MB, free: 2.781 MB / 350.1 MB Notification: Performance of SimCode: time 4.4e-07/0.1273, allocations: 0 / 482.5 MB, free: 2.781 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01383/0.1411, allocations: 3.102 MB / 485.6 MB, free: 15.81 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002153/0.1413, allocations: 234.3 kB / 485.8 MB, free: 15.55 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.703/1.844, allocations: 0 / 485.8 MB, free: 15.55 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test52_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test52.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches