Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test50",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.001355/0.001355, allocations: 108.3 kB / 16.41 MB, free: 6.438 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.001338/0.001338, allocations: 191.7 kB / 17.34 MB, free: 5.719 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.466/1.466, 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.2024/0.2024, allocations: 43.52 MB / 314.1 MB, free: 464 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.001515/0.001515, allocations: 69.47 kB / 441.4 MB, free: 6.098 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1113, allocations: 57.8 MB / 499.2 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.002985/0.1143, allocations: 1.7 MB / 0.4891 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001955/0.1163, allocations: 1.402 MB / 0.4905 GB, free: 9.102 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.142e-05/0.1164, allocations: 0 / 0.4905 GB, free: 9.102 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002858/0.1167, allocations: 47.7 kB / 0.4905 GB, free: 9.055 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002513/0.117, allocations: 67.75 kB / 0.4906 GB, free: 8.988 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002735/0.1173, allocations: 83.7 kB / 0.4907 GB, free: 8.906 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000179/0.1175, allocations: 111.7 kB / 0.4908 GB, free: 8.797 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.314e-05/0.1176, allocations: 12.2 kB / 0.4908 GB, free: 8.785 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.681e-05/0.1177, allocations: 39.8 kB / 0.4908 GB, free: 8.746 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001511/0.1178, allocations: 43.83 kB / 0.4909 GB, free: 8.703 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.791e-05/0.1179, allocations: 7.938 kB / 0.4909 GB, free: 8.695 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001363/0.118, allocations: 67.97 kB / 0.491 GB, free: 8.629 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.779e-05/0.1181, allocations: 19.97 kB / 0.491 GB, free: 8.609 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.752e-05/0.1181, allocations: 31.75 kB / 0.491 GB, free: 8.578 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002314/0.1184, allocations: 127.6 kB / 0.4911 GB, free: 8.453 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1184, allocations: 0 / 0.4911 GB, free: 8.453 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1184, allocations: 0 / 0.4911 GB, free: 8.453 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.1184, allocations: 0 / 0.4911 GB, free: 8.453 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005293/0.1189, allocations: 419 kB / 0.4915 GB, free: 7.996 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.119, allocations: 11.89 kB / 0.4915 GB, free: 7.984 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.709e-05/0.119, allocations: 38.73 kB / 0.4916 GB, free: 7.938 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.959e-05/0.1191, allocations: 12.84 kB / 0.4916 GB, free: 7.926 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002602/0.1193, allocations: 212.4 kB / 0.4918 GB, free: 7.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.1193, allocations: 7.938 kB / 0.4918 GB, free: 7.672 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.681e-05/0.1194, allocations: 0 / 0.4918 GB, free: 7.672 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.1195, allocations: 87.3 kB / 0.4919 GB, free: 7.574 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.1196, allocations: 0 / 0.4919 GB, free: 7.574 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.1196, allocations: 0 / 0.4919 GB, free: 7.574 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-06/0.1196, allocations: 0 / 0.4919 GB, free: 7.574 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.519e-05/0.1197, allocations: 31.98 kB / 0.4919 GB, free: 7.543 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003554/0.12, allocations: 296.7 kB / 0.4922 GB, free: 7.203 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001915/0.1203, allocations: 74.61 kB / 0.4923 GB, free: 7.121 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.622e-05/0.1203, allocations: 20.84 kB / 0.4923 GB, free: 7.098 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.1203, allocations: 8 kB / 0.4923 GB, free: 7.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001518/0.1205, allocations: 71.39 kB / 0.4924 GB, free: 7.008 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.482e-06/0.1205, allocations: 0 / 0.4924 GB, free: 7.008 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005573/0.1211, allocations: 197.2 kB / 0.4926 GB, free: 6.809 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.906e-05/0.1211, allocations: 81.05 kB / 0.4926 GB, free: 6.711 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/0.1213, allocations: 158.4 kB / 0.4928 GB, free: 6.543 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.1213, allocations: 29.8 kB / 0.4928 GB, free: 6.508 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.922e-05/0.1214, allocations: 100.1 kB / 0.4929 GB, free: 6.406 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.167e-05/0.1214, allocations: 31.67 kB / 0.4929 GB, free: 6.375 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.154e-05/0.1214, allocations: 25.72 kB / 0.493 GB, free: 6.344 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.612e-05/0.1215, allocations: 322.8 kB / 0.4933 GB, free: 6.02 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.458e-05/0.1216, allocations: 23.98 kB / 0.4933 GB, free: 5.996 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.398e-05/0.1217, allocations: 42.56 kB / 0.4933 GB, free: 5.945 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001236/0.1218, allocations: 77.67 kB / 0.4934 GB, free: 5.863 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1218, allocations: 0 / 0.4934 GB, free: 5.863 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001965/0.122, allocations: 113.5 kB / 0.4935 GB, free: 5.746 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.1221, allocations: 4 kB / 0.4935 GB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.1221, allocations: 11.94 kB / 0.4935 GB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.1221, allocations: 0 / 0.4935 GB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.24e-05/0.1222, allocations: 19.98 kB / 0.4935 GB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.1222, allocations: 0 / 0.4935 GB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.806e-05/0.1223, allocations: 7.969 kB / 0.4936 GB, free: 5.703 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.1223, allocations: 4 kB / 0.4936 GB, free: 5.699 MB / 382.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 (11): * Single equations (assignments): 11 * 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.474e-05/0.1224, allocations: 133.7 kB / 0.4937 GB, free: 5.559 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.725e-05/0.1224, allocations: 15.88 kB / 0.4937 GB, free: 5.543 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.365e-05/0.1225, allocations: 16.66 kB / 0.4937 GB, free: 5.523 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.1225, allocations: 4 kB / 0.4937 GB, free: 5.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1225, allocations: 0 / 0.4937 GB, free: 5.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.1225, allocations: 0 / 0.4937 GB, free: 5.52 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004506/0.1229, allocations: 419.1 kB / 0.4941 GB, free: 5.051 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.123, allocations: 4 kB / 0.4941 GB, free: 5.047 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.789e-05/0.123, allocations: 8 kB / 0.4941 GB, free: 5.039 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.123, allocations: 0 / 0.4941 GB, free: 5.039 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.123, allocations: 8.094 kB / 0.4941 GB, free: 5.031 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.123, allocations: 3.938 kB / 0.4941 GB, free: 5.027 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.123, allocations: 0 / 0.4941 GB, free: 5.027 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002372/0.1233, allocations: 220.2 kB / 0.4944 GB, free: 4.793 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.612e-05/0.1233, allocations: 81.02 kB / 0.4944 GB, free: 4.695 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.788e-05/0.1234, allocations: 8 kB / 0.4944 GB, free: 4.688 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.414e-05/0.1234, allocations: 4 kB / 0.4944 GB, free: 4.684 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.09e-05/0.1235, allocations: 7.984 kB / 0.4945 GB, free: 4.676 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.1235, allocations: 0 / 0.4945 GB, free: 4.676 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.596e-05/0.1236, allocations: 127.9 kB / 0.4946 GB, free: 4.551 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1236, allocations: 0 / 0.4946 GB, free: 4.551 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002711/0.1239, allocations: 39.98 kB / 0.4946 GB, free: 4.512 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: 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 (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.001434/0.1253, allocations: 1.142 MB / 0.4957 GB, free: 3.391 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001888/0.1255, allocations: 67.91 kB / 0.4958 GB, free: 3.324 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1255, allocations: 0 / 0.4958 GB, free: 3.324 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.372e-05/0.1256, allocations: 32.06 kB / 0.4958 GB, free: 3.293 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003246/0.1259, allocations: 31.97 kB / 0.4959 GB, free: 3.262 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001679/0.1276, allocations: 1.613 MB / 0.4974 GB, free: 1.555 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002336/0.1279, allocations: 0.7002 MB / 0.4981 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.479e-05/0.128, allocations: 24.92 kB / 0.4981 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.276e-05/0.128, allocations: 39.55 kB / 0.4982 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of SimCode: time 2.61e-07/0.128, allocations: 3.938 kB / 0.4982 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02258/0.1506, allocations: 3.76 MB / 0.5018 GB, free: 12.94 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.397/7.548, allocations: 8.047 kB / 0.5019 GB, free: 12.93 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test50_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test50.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches